deterministic-uname: use forPlatform for FreeBSD

This commit is contained in:
Simon Žlender 2024-10-12 18:42:17 +02:00
parent f63d99842f
commit d5bb004558

View File

@ -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";