instead: move NIX_LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-03 12:58:35 +01:00
parent 4423c1287d
commit d03f49188f
+4 -1
View File
@@ -47,7 +47,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-d5BvzZCZ3P5CLptuCuJ4KxfEp4CDbtmIZDIbGDcyV3o=";
};
NIX_LDFLAGS = "-llua -lgcc_s";
env.NIX_LDFLAGS = toString [
"-llua"
"-lgcc_s"
];
nativeBuildInputs = [
pkg-config