Merge pull request #24764 from matthewbauer/spectrwm-osx

spectrwm: fix OSX build

authored by Jörg Thalheim and committed by GitHub 4c860930 e23c8f05

+4 -1
+4 -1
pkgs/applications/window-managers/spectrwm/default.nix
··· 36 36 xcbutilwm 37 37 ]; 38 38 39 - sourceRoot = "spectrwm-SPECTRWM_2_7_2/linux"; 39 + sourceRoot = let 40 + subdir = if stdenv.isDarwin then "osx" else "linux"; 41 + in "spectrwm-SPECTRWM_2_7_2/${subdir}"; 42 + 40 43 makeFlags="PREFIX=$(out)"; 41 44 installPhase = "PREFIX=$out make install"; 42 45