summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/patches
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2019-03-09 17:37:46 +0100
committerPascal Wittmann <mail@pascal-wittmann.de>2019-03-09 17:37:46 +0100
commit57afc591b3eddc6a618357c217932bb2861ee4bd (patch)
tree2d527592ca094b78669ce409b3e89cac9c5433af /pkgs/development/haskell-modules/patches
parentbbfd2be8edfa315c7e1130e62e4178fa9639be3c (diff)
downloadnixpkgs-57afc591b3eddc6a618357c217932bb2861ee4bd.tar
nixpkgs-57afc591b3eddc6a618357c217932bb2861ee4bd.tar.gz
nixpkgs-57afc591b3eddc6a618357c217932bb2861ee4bd.tar.bz2
nixpkgs-57afc591b3eddc6a618357c217932bb2861ee4bd.tar.lz
nixpkgs-57afc591b3eddc6a618357c217932bb2861ee4bd.tar.xz
nixpkgs-57afc591b3eddc6a618357c217932bb2861ee4bd.tar.zst
nixpkgs-57afc591b3eddc6a618357c217932bb2861ee4bd.zip
haskellPackages.xattr: fix build with attr-2.4.48 (see ##53716)
Diffstat (limited to 'pkgs/development/haskell-modules/patches')
-rw-r--r--pkgs/development/haskell-modules/patches/xattr-fix-build.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/patches/xattr-fix-build.patch b/pkgs/development/haskell-modules/patches/xattr-fix-build.patch
new file mode 100644
index 00000000000..4b4f370b17f
--- /dev/null
+++ b/pkgs/development/haskell-modules/patches/xattr-fix-build.patch
@@ -0,0 +1,16 @@
+diff --git a/System/Xattr.hsc b/System/Xattr.hsc
+index adaf9cb..9b49996 100644
+--- a/System/Xattr.hsc
++++ b/System/Xattr.hsc
+@@ -45,11 +45,7 @@ module System.Xattr
+     where
+ 
+ #include <sys/types.h>
+-#ifdef __APPLE__
+ #include <sys/xattr.h>
+-#else
+-#include <attr/xattr.h>
+-#endif
+ 
+ import Data.Functor ((<$>))
+ import Foreign.C