openvpn: fix sandboxed darwin build

This commit is contained in:
Olivér Falvai
2025-01-18 21:40:33 +01:00
parent 98c835e8e8
commit ee0eae58c0
+7 -1
View File
@@ -15,6 +15,7 @@
pkcs11Support ? false,
pkcs11helper,
nixosTests,
unixtools,
}:
let
@@ -29,7 +30,12 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-HGEP3etobjTxNnw0fgJ+QY4HUjoQ9NjOSiwq8vYaGSk=";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs =
[ pkg-config ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
unixtools.route
unixtools.ifconfig
];
buildInputs =
[