yoda: workaround darwin detection

This commit is contained in:
Dmitry Kalinkin
2025-02-18 04:07:49 -05:00
parent fd786ff380
commit 07679a005a
+5 -9
View File
@@ -30,20 +30,16 @@ stdenv.mkDerivation rec {
];
buildInputs =
[
python3
]
[ python3 ]
++ (with python3.pkgs; [
numpy
matplotlib
])
++ lib.optionals withRootSupport [
root
];
++ lib.optionals withRootSupport [ root ];
propagatedBuildInputs = [
zlib
];
propagatedBuildInputs = [ zlib ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-DWITH_OSX";
strictDeps = true;