diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-04-09 11:13:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-09 11:13:33 +0200 |
commit | 4c86093002fc4e157b1bb877a9bef562c9c0cc17 (patch) | |
tree | 542d45f7a86654a9b1a2c8cd98e3021cdd3523a8 /pkgs/applications/window-managers | |
parent | e23c8f05abb0322bc11eb3becb24f9b6c61c6e8c (diff) | |
parent | f75703bfbf0031a096da536daa00667ca22d4bc2 (diff) | |
download | nixlib-4c86093002fc4e157b1bb877a9bef562c9c0cc17.tar nixlib-4c86093002fc4e157b1bb877a9bef562c9c0cc17.tar.gz nixlib-4c86093002fc4e157b1bb877a9bef562c9c0cc17.tar.bz2 nixlib-4c86093002fc4e157b1bb877a9bef562c9c0cc17.tar.lz nixlib-4c86093002fc4e157b1bb877a9bef562c9c0cc17.tar.xz nixlib-4c86093002fc4e157b1bb877a9bef562c9c0cc17.tar.zst nixlib-4c86093002fc4e157b1bb877a9bef562c9c0cc17.zip |
Merge pull request #24764 from matthewbauer/spectrwm-osx
spectrwm: fix OSX build
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/spectrwm/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/window-managers/spectrwm/default.nix b/pkgs/applications/window-managers/spectrwm/default.nix index 39825e37f30f..1a3c976f77de 100644 --- a/pkgs/applications/window-managers/spectrwm/default.nix +++ b/pkgs/applications/window-managers/spectrwm/default.nix @@ -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"; |