spectrwm: make build src name independent

(cherry picked from commit 7865091786a037a9545d181e31afa7b4d8fd0be2)
main
Jonathan Ringer 2 years ago committed by Jonathan Ringer
parent 74299a1dc1
commit a0688e9280
  1. 4
      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"}" ];

Loading…
Cancel
Save