@@ -25,12 +25,7 @@ in stdenv.mkDerivation rec {
2525 url = "https://github.com/libfuse/libfuse/commit/914871b20a901e3e1e981c92bc42b1c93b7ab81b.patch";
2626 sha256 = "1w4j6f1awjrycycpvmlv0x5v9gprllh4dnbjxl4dyl2jgbkaw6pa";
2727 })
28− ++ stdenv.lib.optionals isFuse3 [
29− ./fuse3-no-udev.patch # only required for udevrulesdir
30− ./fuse3-install.patch
31− # install_man makes the build non-reproducible by encoding the date
32− ./fuse3-install_man.patch
33− ];
28+ ++ stdenv.lib.optional isFuse3 ./fuse3-install.patch;
3429
3530
3631 nativeBuildInputs = if isFuse3
@@ -40,6 +35,8 @@ in stdenv.mkDerivation rec {
4035
4136 outputs = [ "out" ] ++ stdenv.lib.optional isFuse3 "common";
4237
38+ mesonFlags = stdenv.lib.optional isFuse3 "-Dudevrulesdir=etc/udev/rules.d";
39+
4340 preConfigure = ''
4441 export MOUNT_FUSE_PATH=$out/sbin
4542 export INIT_D_PATH=$TMPDIR/etc/init.d