about summary refs log tree commit diff
path: root/pkgs/applications/radio/csdr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/radio/csdr/default.nix')
-rw-r--r--pkgs/applications/radio/csdr/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/radio/csdr/default.nix b/pkgs/applications/radio/csdr/default.nix
index af05cb61e836..65bbdbb05dac 100644
--- a/pkgs/applications/radio/csdr/default.nix
+++ b/pkgs/applications/radio/csdr/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
     libsamplerate
   ];
 
-  hardeningDisable = lib.optional stdenv.isAarch64 "format";
+  hardeningDisable = lib.optional stdenv.hostPlatform.isAarch64 "format";
 
   postFixup = ''
     substituteInPlace "$out"/lib/pkgconfig/csdr.pc \
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
     description = "Simple DSP library and command-line tool for Software Defined Radio";
     license = licenses.gpl3Only;
     platforms = platforms.unix;
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     maintainers = teams.c3d2.members;
   };
 }