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:
Matthew Bauer 2019-09-19 12:46:15 -04:00
parent fa639e71c9
commit 07d78691da

View file

@ -62,7 +62,6 @@ rec {
];
mesonFlags = (args.mesonFlags or []) ++ [ "-Ddefault_library=static" ];
});
static = true;
};