summary refs log tree commit diff
path: root/pkgs/tools/filesystems/unionfs-fuse
diff options
context:
space:
mode:
authormidchildan <git@midchildan.org>2021-03-23 23:15:56 +0900
committermidchildan <git@midchildan.org>2021-03-23 23:42:16 +0900
commitc595604bed30d4e6a63ec1d20ba430897ebda653 (patch)
tree01d2cd58beed0b93d815f79ed22e0e62657cc74a /pkgs/tools/filesystems/unionfs-fuse
parent55b7888f43fe39ef672d6a6dcf5dd23aa2fc0502 (diff)
downloadnixpkgs-c595604bed30d4e6a63ec1d20ba430897ebda653.tar
nixpkgs-c595604bed30d4e6a63ec1d20ba430897ebda653.tar.gz
nixpkgs-c595604bed30d4e6a63ec1d20ba430897ebda653.tar.bz2
nixpkgs-c595604bed30d4e6a63ec1d20ba430897ebda653.tar.lz
nixpkgs-c595604bed30d4e6a63ec1d20ba430897ebda653.tar.xz
nixpkgs-c595604bed30d4e6a63ec1d20ba430897ebda653.tar.zst
nixpkgs-c595604bed30d4e6a63ec1d20ba430897ebda653.zip
fuse: use macfuse-stubs instead on Darwin
Diffstat (limited to 'pkgs/tools/filesystems/unionfs-fuse')
-rw-r--r--pkgs/tools/filesystems/unionfs-fuse/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/filesystems/unionfs-fuse/default.nix b/pkgs/tools/filesystems/unionfs-fuse/default.nix
index acfd3b1e9a0..6a34657d3d1 100644
--- a/pkgs/tools/filesystems/unionfs-fuse/default.nix
+++ b/pkgs/tools/filesystems/unionfs-fuse/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, cmake, fuse, macfuse-stubs }:
+{ lib, stdenv, fetchFromGitHub, cmake, fuse }:
 
 stdenv.mkDerivation rec {
   pname = "unionfs-fuse";
@@ -21,11 +21,11 @@ stdenv.mkDerivation rec {
 
   postPatch = lib.optionalString stdenv.isDarwin ''
     substituteInPlace CMakeLists.txt \
-      --replace '/usr/local/include/osxfuse/fuse' '${macfuse-stubs}/include/fuse'
+      --replace '/usr/local/include/osxfuse/fuse' '${fuse}/include/fuse'
   '';
 
   nativeBuildInputs = [ cmake ];
-  buildInputs = [ (if stdenv.isDarwin then macfuse-stubs else fuse) ];
+  buildInputs = [ fuse ];
 
   # Put the unionfs mount helper in place as mount.unionfs-fuse. This makes it
   # possible to do: