Skip to content

Commit

Permalink
Merge pull request #24764 from matthewbauer/spectrwm-osx
Browse files Browse the repository at this point in the history
spectrwm: fix OSX build
  • Loading branch information
Mic92 committed Apr 9, 2017
2 parents e23c8f0 + f75703b commit 4c86093
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/applications/window-managers/spectrwm/default.nix
Expand Up @@ -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";

Expand Down

0 comments on commit 4c86093

Please sign in to comment.