Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #24764 from matthewbauer/spectrwm-osx

spectrwm: fix OSX build

authored by

Jörg Thalheim and committed by
GitHub
4c860930 e23c8f05

+4 -1
+4 -1
pkgs/applications/window-managers/spectrwm/default.nix
··· 36 xcbutilwm 37 ]; 38 39 - sourceRoot = "spectrwm-SPECTRWM_2_7_2/linux"; 40 makeFlags="PREFIX=$(out)"; 41 installPhase = "PREFIX=$out make install"; 42
··· 36 xcbutilwm 37 ]; 38 39 + sourceRoot = let 40 + subdir = if stdenv.isDarwin then "osx" else "linux"; 41 + in "spectrwm-SPECTRWM_2_7_2/${subdir}"; 42 + 43 makeFlags="PREFIX=$(out)"; 44 installPhase = "PREFIX=$out make install"; 45