nixpkgs/pkgs/stdenv
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
..
cross llvmPackages: select version by targetPlatform 2021-01-11 11:10:53 +01:00
custom stdenv: allow custom stdenv to take crossOverlays 2019-01-07 20:53:10 -06:00
cygwin treewide: Make still dont* Variables are optional in most cases 2019-11-01 14:44:44 -04:00
darwin darwin/make-bootstrap-tools: avoid brotli dependency 2021-03-18 12:30:16 -07:00
freebsd stdenv/freebsd/cc: make overrideable fixing nixpkgs eval 2021-04-15 12:49:41 +02:00
generic stdenv.isBSD: reinit 2021-04-18 20:12:09 +00:00
linux stdenv/bootstrap-tools: remove powerpc64 special case 2021-03-15 19:27:41 -07:00
native stdenv/native: provide patchelf on linux 2020-08-25 17:54:27 -05:00
nix
adapters.nix treewide: stdenv.lib -> lib 2021-01-27 13:08:40 +07:00
booter.nix pkgs/stdenv/booter.nix: Add comment explaining hasCC trickery 2019-12-30 18:09:45 -05:00
common-path.nix
default.nix stdenv: add powerpc64-linux 2021-01-30 12:34:30 -08:00