Merge pull request #96223 from KAction/static

Make pkgsStatic set "static" argument to true
This commit is contained in:
John Ericson 2020-08-31 20:00:15 -04:00 committed by GitHub
commit 5a05601013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@ rec {
# uname -r
release = null;
};
isStatic = final.isWasm || final.isRedox;
kernelArch =
if final.isAarch32 then "arm"

View File

@ -215,6 +215,7 @@ let
crossOverlays = [ (import ./static.nix) ];
} // lib.optionalAttrs stdenv.hostPlatform.isLinux {
crossSystem = {
isStatic = true;
parsed = stdenv.hostPlatform.parsed // {
abi = {
gnu = lib.systems.parse.abis.musl;