git.iko.soy/typeable/nixpkgs
on master help sign in
mhddfs: fix build (see #53716)
commitbbfd2be8edfa315c7e1130e62e4178fa9639be3c authorPascal Wittmann <mail@pascal-wittmann.de> dateSat 9 Mar 2019, 17:14 (8 years ago) parentca436d9
1 file changed+5
pkgs/tools/filesystems/mhddfs/default.nix+5
pkgs/tools/filesystems/mhddfs/default.nix+5
@@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
1616 ./fix-format-security-error.patch
1717 ];
1818
19+ postPatch = ''
20+ substituteInPlace src/main.c --replace "attr/xattr.h" "sys/xattr.h"
21+ substituteInPlace src/tools.c --replace "attr/xattr.h" "sys/xattr.h"
22+ '';
23+
1924 installPhase = ''
2025 mkdir -p $out/bin
2126 cp mhddfs $out/bin/