diff options
author | Stéphan Kochen <git@stephank.nl> | 2021-05-16 12:20:21 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-05-17 00:03:12 -0700 |
commit | eec3738f4c033b38b4ddd542f796418955258116 (patch) | |
tree | 7031a25bc6bb593c37ec10fec24b08fc5efcf53c /pkgs/tools/X11/hsetroot | |
parent | 76417690557857f31f6909acb9b928d6f1f0e9de (diff) |
hsetroot: fix darwin build
Diffstat (limited to 'pkgs/tools/X11/hsetroot')
-rw-r--r-- | pkgs/tools/X11/hsetroot/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/X11/hsetroot/default.nix b/pkgs/tools/X11/hsetroot/default.nix index 69842a7bd59ce..95ccd9586d9c7 100644 --- a/pkgs/tools/X11/hsetroot/default.nix +++ b/pkgs/tools/X11/hsetroot/default.nix @@ -24,6 +24,10 @@ stdenv.mkDerivation rec { libXinerama ]; + postPatch = lib.optionalString (!stdenv.cc.isGNU) '' + sed -i -e '/--no-as-needed/d' Makefile + ''; + makeFlags = [ "PREFIX=$(out)" ]; preInstall = '' |