unzip: move NIX_LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-08 22:39:48 +01:00
parent 3bbc249d09
commit 6bd43945f7
+10 -1
View File
@@ -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"