unionfs-fuse: fix fuse path

This commit is contained in:
oxalica 2023-01-05 10:59:02 +08:00
parent bd5910e375
commit eeb94ed42c
No known key found for this signature in database
GPG Key ID: D425CB23CADE82D9

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace CMakeLists.txt \
--replace '/usr/local/include/osxfuse/fuse' '${fuse}/include/fuse'
--replace '/usr/local/include/osxfuse/fuse' '${lib.getDev fuse}/include/fuse'
'';
nativeBuildInputs = [ cmake ];