diff options
author | Will Dietz <w@wdtz.org> | 2017-05-27 18:40:27 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-02-13 09:44:50 -0600 |
commit | 0153599164e7ef2266c9de4979369daadb3a3cad (patch) | |
tree | 5c08066c130d833ae07e3606a139d6c1dfe33b00 /pkgs/development/libraries/libdaemon/default.nix | |
parent | e2ef21d9b5dddc0996c453f65a686ff871b6ac94 (diff) | |
download | nixpkgs-0153599164e7ef2266c9de4979369daadb3a3cad.tar nixpkgs-0153599164e7ef2266c9de4979369daadb3a3cad.tar.gz nixpkgs-0153599164e7ef2266c9de4979369daadb3a3cad.tar.bz2 nixpkgs-0153599164e7ef2266c9de4979369daadb3a3cad.tar.lz nixpkgs-0153599164e7ef2266c9de4979369daadb3a3cad.tar.xz nixpkgs-0153599164e7ef2266c9de4979369daadb3a3cad.tar.zst nixpkgs-0153599164e7ef2266c9de4979369daadb3a3cad.zip |
libdaemon: Add patch to fix musl build
Diffstat (limited to 'pkgs/development/libraries/libdaemon/default.nix')
-rw-r--r-- | pkgs/development/libraries/libdaemon/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libdaemon/default.nix b/pkgs/development/libraries/libdaemon/default.nix index af832a70a73..59e576fd392 100644 --- a/pkgs/development/libraries/libdaemon/default.nix +++ b/pkgs/development/libraries/libdaemon/default.nix @@ -1,6 +1,6 @@ {stdenv, fetchurl}: -stdenv.mkDerivation rec { +stdenv.mkDerivation (rec { name = "libdaemon-0.14"; src = fetchurl { @@ -24,4 +24,8 @@ stdenv.mkDerivation rec { platforms = stdenv.lib.platforms.unix; maintainers = [ ]; }; -} +} // stdenv.lib.optionalAttrs stdenv.hostPlatform.isMusl { + # This patch should be applied unconditionally, but doing so will cause mass rebuild. + patches = ./fix-includes.patch; +}) + |