pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -15,17 +15,17 @@ stdenv.mkDerivation rec {
|
||||
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/vde_cryptcab-compile-against-openssl-1.1.0.patch?h=packages/vde2&id=15b11be49997fa94b603e366064690b7cc6bce61";
|
||||
sha256 = "07z1yabwigq35mkwzqa934n7vjnjlqz5xfzq8cfj87lgyjjp00qi";
|
||||
})
|
||||
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl [
|
||||
] ++ lib.optional stdenv.hostPlatform.isMusl [
|
||||
(fetchpatch {
|
||||
url = "https://git.alpinelinux.org/aports/plain/main/vde2/musl-build-fix.patch?id=ddee2f86a48e087867d4a2c12849b2e3baccc238";
|
||||
sha256 = "0b5382v541bkxhqylilcy34bh83ag96g71f39m070jzvi84kx8af";
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = stdenv.lib.optional (!withPython) "--disable-python";
|
||||
configureFlags = lib.optional (!withPython) "--disable-python";
|
||||
|
||||
buildInputs = [ openssl libpcap ]
|
||||
++ stdenv.lib.optional withPython python2;
|
||||
++ lib.optional withPython python2;
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user