diff options
author | Josef Kemetmüller <josef.kemetmueller@gmail.com> | 2019-03-04 21:17:16 +0100 |
---|---|---|
committer | Josef Kemetmüller <josef.kemetmueller@gmail.com> | 2019-03-04 21:30:59 +0100 |
commit | b7c146c08ef62bc02ac5ecc580163418f0f554e0 (patch) | |
tree | bb0f2ed0d6cd08e2d08576c7e401d6dce31c79e6 /pkgs/tools/filesystems/smbnetfs | |
parent | 47f8a520f8e6c3ceabd865d633871ecbbd201c91 (diff) | |
download | nixpkgs-b7c146c08ef62bc02ac5ecc580163418f0f554e0.tar nixpkgs-b7c146c08ef62bc02ac5ecc580163418f0f554e0.tar.gz nixpkgs-b7c146c08ef62bc02ac5ecc580163418f0f554e0.tar.bz2 nixpkgs-b7c146c08ef62bc02ac5ecc580163418f0f554e0.tar.lz nixpkgs-b7c146c08ef62bc02ac5ecc580163418f0f554e0.tar.xz nixpkgs-b7c146c08ef62bc02ac5ecc580163418f0f554e0.tar.zst nixpkgs-b7c146c08ef62bc02ac5ecc580163418f0f554e0.zip |
smbnetfs: Fix build against attr>=2.4.48
The xattr.h header was removed from libattr in v2.4.48 but added to glibc in 2.27. The location moved from attr/xattr.h to sys/xattr.h.
Diffstat (limited to 'pkgs/tools/filesystems/smbnetfs')
-rw-r--r-- | pkgs/tools/filesystems/smbnetfs/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/smbnetfs/default.nix b/pkgs/tools/filesystems/smbnetfs/default.nix index 8a9af4ba13c..26cef4ac90f 100644 --- a/pkgs/tools/filesystems/smbnetfs/default.nix +++ b/pkgs/tools/filesystems/smbnetfs/default.nix @@ -11,6 +11,10 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig autoconf ]; buildInputs = [ fuse samba glib attr libsecret ]; + postPatch = '' + substituteInPlace src/function.c --replace "attr/xattr.h" "sys/xattr.h" + ''; + meta = with stdenv.lib; { description = "A FUSE FS for mounting Samba shares"; maintainers = with maintainers; [ raskin ]; |