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.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/window-managers/spectrwm/default.nix b/pkgs/applications/window-managers/spectrwm/default.nix
index be2c5bc3d6ec3..11ef2979afe00 100644
--- a/pkgs/applications/window-managers/spectrwm/default.nix
+++ b/pkgs/applications/window-managers/spectrwm/default.nix
@@ -22,9 +22,9 @@ stdenv.mkDerivation {
     xcbutilwm
   ];
 
-  sourceRoot = let
+  prePatch = let
     subdir = if stdenv.isDarwin then "osx" else "linux";
-  in "source/${subdir}";
+  in "cd ${subdir}";
 
   makeFlags = [ "PREFIX=${placeholder "out"}" ];