about summary refs log tree commit diff
path: root/pkgs/build-support/deterministic-uname/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/deterministic-uname/default.nix')
-rw-r--r--pkgs/build-support/deterministic-uname/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/deterministic-uname/default.nix b/pkgs/build-support/deterministic-uname/default.nix
index 9d07a4b6c4e2e..9efaa2558bfb6 100644
--- a/pkgs/build-support/deterministic-uname/default.nix
+++ b/pkgs/build-support/deterministic-uname/default.nix
@@ -31,6 +31,8 @@ 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
+    then "FreeBSD"
     else "unknown";
 
   # in os-specific/linux module packages