instead: move NIX_LDFLAGS into env for structuredAttrs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user