mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
mhddfs: fix build (see #53716)
This commit is contained in:
parent
ca436d9db0
commit
bbfd2be8ed
1 changed files with 5 additions and 0 deletions
|
@ -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/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue