Skip to content

Commit

Permalink
mhddfs: fix build (see #53716)
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Mar 9, 2019
1 parent ca436d9 commit bbfd2be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/tools/filesystems/mhddfs/default.nix
Expand Up @@ -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/
Expand Down

0 comments on commit bbfd2be

Please sign in to comment.