1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

mhddfs: fix build (see #53716)

This commit is contained in:
Pascal Wittmann 2019-03-09 17:14:42 +01:00
parent ca436d9db0
commit bbfd2be8ed
No known key found for this signature in database
GPG key ID: C899ACE7E2322852

View file

@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
./fix-format-security-error.patch
];
postPatch = ''
substituteInPlace src/main.c --replace "attr/xattr.h" "sys/xattr.h"
substituteInPlace src/tools.c --replace "attr/xattr.h" "sys/xattr.h"
'';
installPhase = ''
mkdir -p $out/bin
cp mhddfs $out/bin/