mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
pax: move NIX_LDFLAGS into env for structuredAttrs
This commit is contained in:
@@ -16,7 +16,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isMusl musl-fts;
|
||||
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isMusl "-lfts";
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isMusl {
|
||||
NIX_LDFLAGS = "-lfts";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
sh Build.sh -r -tpax
|
||||
|
||||
Reference in New Issue
Block a user