Commit 07679a00 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

yoda: workaround darwin detection

parent fd786ff3
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
@@ -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;