Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

_9pfs: fix cross compilation

Nick Cao 962db360 3f9b0a53

+4
+4
pkgs/tools/filesystems/9pfs/default.nix
··· 11 sha256 = "sha256-ywWG/H2ilt36mjlDSgIzYpardCFXpmbLiml6wy47XuA="; 12 }; 13 14 makeFlags = [ "BIN=$(out)/bin" "MAN=$(out)/share/man/man1" ]; 15 nativeBuildInputs = [ pkg-config ]; 16 buildInputs = [ fuse ];
··· 11 sha256 = "sha256-ywWG/H2ilt36mjlDSgIzYpardCFXpmbLiml6wy47XuA="; 12 }; 13 14 + postPatch = '' 15 + substituteInPlace Makefile --replace "pkg-config" "$PKG_CONFIG" 16 + ''; 17 + 18 makeFlags = [ "BIN=$(out)/bin" "MAN=$(out)/share/man/man1" ]; 19 nativeBuildInputs = [ pkg-config ]; 20 buildInputs = [ fuse ];