about summary refs log tree commit diff
path: root/pkgs/by-name/sp/spades/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sp/spades/package.nix')
-rw-r--r--pkgs/by-name/sp/spades/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/sp/spades/package.nix b/pkgs/by-name/sp/spades/package.nix
index daa748087b3c..2270ba33909d 100644
--- a/pkgs/by-name/sp/spades/package.nix
+++ b/pkgs/by-name/sp/spades/package.nix
@@ -53,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
     readline
   ];
 
-  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-faligned-allocation";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-faligned-allocation";
 
   doCheck = true;