fix eval
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, pcre, pkgconfig, libsepol
|
||||
, enablePython ? true, swig ? null, python ? null
|
||||
, musl-fts
|
||||
, fts
|
||||
}:
|
||||
|
||||
assert enablePython -> swig != null && python != null;
|
||||
@@ -18,9 +18,8 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libsepol pcre ]
|
||||
++ optionals enablePython [ swig python ]
|
||||
++ optional stdenv.hostPlatform.isMusl musl-fts;
|
||||
buildInputs = [ libsepol pcre fts ]
|
||||
++ optionals enablePython [ swig python ];
|
||||
|
||||
# drop fortify here since package uses it by default, leading to compile error:
|
||||
# command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
|
||||
|
||||
Reference in New Issue
Block a user