spectrwm: make build src name independent

(cherry picked from commit 7865091786)
This commit is contained in:
Jonathan Ringer 2022-01-03 21:13:28 -08:00 committed by Jonathan Ringer
parent 74299a1dc1
commit a0688e9280

View File

@ -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"}" ];