Skip to content

Commit

Permalink
spectrwm: fix OSX build
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbauer committed Apr 9, 2017
1 parent f48cd95 commit f75703b
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 f75703b

Please sign in to comment.