_9pfs: fix cross compilation

This commit is contained in:
Nick Cao 2023-10-25 18:25:44 -04:00
parent 3f9b0a534d
commit 962db36057
No known key found for this signature in database

View File

@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-ywWG/H2ilt36mjlDSgIzYpardCFXpmbLiml6wy47XuA=";
};
postPatch = ''
substituteInPlace Makefile --replace "pkg-config" "$PKG_CONFIG"
'';
makeFlags = [ "BIN=$(out)/bin" "MAN=$(out)/share/man/man1" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ fuse ];