unzip: move NIX_LDFLAGS into env for structuredAttrs
This commit is contained in:
@@ -79,7 +79,16 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makefile = "unix/Makefile";
|
||||
|
||||
NIX_LDFLAGS = "-lbz2" + lib.optionalString enableNLS " -lnatspec";
|
||||
env = {
|
||||
NIX_LDFLAGS = toString (
|
||||
[
|
||||
"-lbz2"
|
||||
]
|
||||
++ lib.optionals enableNLS [
|
||||
"-lnatspec"
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
buildFlags = [
|
||||
"generic"
|
||||
|
||||
Reference in New Issue
Block a user