mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
Merge pull request #24764 from matthewbauer/spectrwm-osx
spectrwm: fix OSX build
This commit is contained in:
commit
4c86093002
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user