diff --git a/pkgs/build-support/deterministic-uname/default.nix b/pkgs/build-support/deterministic-uname/default.nix index 9efaa2558bfb..1a4e0a0f089b 100644 --- a/pkgs/build-support/deterministic-uname/default.nix +++ b/pkgs/build-support/deterministic-uname/default.nix @@ -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";