stdenv/adapters.nix: remove static from makeStaticLibraries
This logic should be in the pkgs/top-level/static.nix. We don’t want to pollute Nixpkgs with =if stdenv.static=. Also, "static" is not descriptive. We have two types of static stdenvs, ‘makeStaticLibaries’ and ‘makeStaticBinaries’. We shouldn’t rely on a static boolean like this.
This commit is contained in:
parent
fa639e71c9
commit
07d78691da
|
@ -62,7 +62,6 @@ rec {
|
||||||
];
|
];
|
||||||
mesonFlags = (args.mesonFlags or []) ++ [ "-Ddefault_library=static" ];
|
mesonFlags = (args.mesonFlags or []) ++ [ "-Ddefault_library=static" ];
|
||||||
});
|
});
|
||||||
static = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue