diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-01-03 21:13:28 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-01-31 13:29:29 -0800 |
commit | a0688e9280bc01b46b5c30d028eb410d7b9e1b0e (patch) | |
tree | 3fb61e1849ee7ef04c01d3614f86b0d49b514baf | |
parent | 74299a1dc12779e3fa9ed03981951d071d783bf3 (diff) | |
download | nixpkgs-a0688e9280bc01b46b5c30d028eb410d7b9e1b0e.tar nixpkgs-a0688e9280bc01b46b5c30d028eb410d7b9e1b0e.tar.gz nixpkgs-a0688e9280bc01b46b5c30d028eb410d7b9e1b0e.tar.bz2 nixpkgs-a0688e9280bc01b46b5c30d028eb410d7b9e1b0e.tar.lz nixpkgs-a0688e9280bc01b46b5c30d028eb410d7b9e1b0e.tar.xz nixpkgs-a0688e9280bc01b46b5c30d028eb410d7b9e1b0e.tar.zst nixpkgs-a0688e9280bc01b46b5c30d028eb410d7b9e1b0e.zip |
spectrwm: make build src name independent
(cherry picked from commit 7865091786a037a9545d181e31afa7b4d8fd0be2)
-rw-r--r-- | pkgs/applications/window-managers/spectrwm/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/window-managers/spectrwm/default.nix b/pkgs/applications/window-managers/spectrwm/default.nix index be2c5bc3d6e..11ef2979afe 100644 --- a/pkgs/applications/window-managers/spectrwm/default.nix +++ b/pkgs/applications/window-managers/spectrwm/default.nix @@ -22,9 +22,9 @@ stdenv.mkDerivation { xcbutilwm ]; - sourceRoot = let + prePatch = let subdir = if stdenv.isDarwin then "osx" else "linux"; - in "source/${subdir}"; + in "cd ${subdir}"; makeFlags = [ "PREFIX=${placeholder "out"}" ]; |