Merge pull request #96223 from KAction/static
Make pkgsStatic set "static" argument to true
This commit is contained in:
commit
5a05601013
|
@ -76,6 +76,7 @@ rec {
|
||||||
# uname -r
|
# uname -r
|
||||||
release = null;
|
release = null;
|
||||||
};
|
};
|
||||||
|
isStatic = final.isWasm || final.isRedox;
|
||||||
|
|
||||||
kernelArch =
|
kernelArch =
|
||||||
if final.isAarch32 then "arm"
|
if final.isAarch32 then "arm"
|
||||||
|
|
|
@ -215,6 +215,7 @@ let
|
||||||
crossOverlays = [ (import ./static.nix) ];
|
crossOverlays = [ (import ./static.nix) ];
|
||||||
} // lib.optionalAttrs stdenv.hostPlatform.isLinux {
|
} // lib.optionalAttrs stdenv.hostPlatform.isLinux {
|
||||||
crossSystem = {
|
crossSystem = {
|
||||||
|
isStatic = true;
|
||||||
parsed = stdenv.hostPlatform.parsed // {
|
parsed = stdenv.hostPlatform.parsed // {
|
||||||
abi = {
|
abi = {
|
||||||
gnu = lib.systems.parse.abis.musl;
|
gnu = lib.systems.parse.abis.musl;
|
||||||
|
|
Loading…
Reference in New Issue