From d5bb004558003d0e79402edd12a7657ba355c5ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20=C5=BDlender?= Date: Sat, 12 Oct 2024 18:42:17 +0200 Subject: [PATCH] deterministic-uname: use forPlatform for FreeBSD --- pkgs/build-support/deterministic-uname/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";