diff options
author | Will Dietz <w@wdtz.org> | 2019-09-04 20:45:18 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-09-04 20:47:29 -0500 |
commit | 2e808509f01865e86568c107d20c0d4f8fa6ab1e (patch) | |
tree | 274aeb50af65ce66887ef2c05dfe8a89985c950e /pkgs/tools/package-management | |
parent | 31e8b2d0699f1a90b25aeb7c39cf1e8561ffa8e4 (diff) |
xbps: fix build w/glibc, disable errors due to unused fread result
Diffstat (limited to 'pkgs/tools/package-management')
-rw-r--r-- | pkgs/tools/package-management/xbps/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/package-management/xbps/default.nix b/pkgs/tools/package-management/xbps/default.nix index f85f7988827c..f83a1498825b 100644 --- a/pkgs/tools/package-management/xbps/default.nix +++ b/pkgs/tools/package-management/xbps/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { patches = [ ./cert-paths.patch ]; + NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" ]; + postPatch = '' # fix unprefixed ranlib (needed on cross) substituteInPlace lib/Makefile \ |