mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
deterministic-uname: use forPlatform for FreeBSD
This commit is contained in:
parent
f63d99842f
commit
d5bb004558
@ -31,7 +31,7 @@ substituteAll {
|
||||
then "GNU/Linux"
|
||||
else if forPlatform.isDarwin
|
||||
then "Darwin" # darwin isn't in host-os.m4 so where does this come from?
|
||||
else if stdenv.buildPlatform.isFreeBSD
|
||||
else if forPlatform.isFreeBSD
|
||||
then "FreeBSD"
|
||||
else "unknown";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user