mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 20:53:22 +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"
|
then "GNU/Linux"
|
||||||
else if forPlatform.isDarwin
|
else if forPlatform.isDarwin
|
||||||
then "Darwin" # darwin isn't in host-os.m4 so where does this come from?
|
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"
|
then "FreeBSD"
|
||||||
else "unknown";
|
else "unknown";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user