spectrwm: make build src name independent

(cherry picked from commit 7865091786a037a9545d181e31afa7b4d8fd0be2)

authored by Jonathan Ringer and committed by Jonathan Ringer a0688e92 74299a1d

+2 -2
+2 -2
pkgs/applications/window-managers/spectrwm/default.nix
··· 22 22 xcbutilwm 23 23 ]; 24 24 25 - sourceRoot = let 25 + prePatch = let 26 26 subdir = if stdenv.isDarwin then "osx" else "linux"; 27 - in "source/${subdir}"; 27 + in "cd ${subdir}"; 28 28 29 29 makeFlags = [ "PREFIX=${placeholder "out"}" ]; 30 30