about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/spectrwm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/window-managers/spectrwm/default.nix')
-rw-r--r--pkgs/applications/window-managers/spectrwm/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/window-managers/spectrwm/default.nix b/pkgs/applications/window-managers/spectrwm/default.nix
index 1678e5954846..52b413452e82 100644
--- a/pkgs/applications/window-managers/spectrwm/default.nix
+++ b/pkgs/applications/window-managers/spectrwm/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: {
   ] ++ [ libbsd ]);
 
   prePatch = let
-    subdir = if stdenv.isDarwin then "osx" else "linux";
+    subdir = if stdenv.hostPlatform.isDarwin then "osx" else "linux";
   in "cd ${subdir}";
 
   makeFlags = [ "PREFIX=${placeholder "out"}" ];