nixpkgs/pkgs/stdenv/generic
Alyssa Ross 730a9a04fa
stdenv.isBSD: reinit
This was removed in e29b0da9c7, because
it was felt it was ambiguous whether isBSD should remove Darwin.

I think it should be reintroduced.  Packages sometimes have their own
concepts of "is BSD" e.g. Lua, and these almost never include Darwin,
so let's keep Darwin excluded.

Without a way to say "is this BSD", one has to list all flavours of
BSD seperately, even though fundamentally they're still extremely
similar.  I don't want to have to write the following!

    stdenv.isFreeBSD || stdenv.isNetBSD || stdenv.isOpenBSD || stdenv.isDragonFlyBSD

Additionally, we've had stdenv.hostPlatform.isBSD this whole time, and
it hasn't hurt anything.
2021-04-18 20:12:09 +00:00
..
builder.sh stdenvs: Distinguish between extraBuildInputs and extraNativeBuildInputs 2017-08-18 12:02:13 -04:00
check-meta.nix stdenv/check-meta: change to allowlist and blocklist (#114127) 2021-02-23 10:25:18 -05:00
default-builder.sh
default.nix stdenv.isBSD: reinit 2021-04-18 20:12:09 +00:00
make-derivation.nix stdenv/make-derivation: add -static to name if building statically 2021-04-13 12:33:00 +02:00
setup.sh stdenv: ignore duplicates in addToSearchPath (#113800) 2021-03-13 13:58:21 -05:00