Merge pull request #24764 from matthewbauer/spectrwm-osx

spectrwm: fix OSX build
This commit is contained in:
Jörg Thalheim 2017-04-09 11:13:33 +02:00 committed by GitHub
commit 4c86093002

View File

@ -36,7 +36,10 @@ stdenv.mkDerivation rec {
xcbutilwm
];
sourceRoot = "spectrwm-SPECTRWM_2_7_2/linux";
sourceRoot = let
subdir = if stdenv.isDarwin then "osx" else "linux";
in "spectrwm-SPECTRWM_2_7_2/${subdir}";
makeFlags="PREFIX=$(out)";
installPhase = "PREFIX=$out make install";