2021-02-15 - NixOS - Fix fusermount in tup
Tup with --pure seems to act weird on NixOS so force it to look at /run/wrappers.
This could be unsafe but it works for my usecase.
tup = pkgs.tup.overrideAttrs (oldAttrs: rec {
patchPhase = ''
substituteInPlace src/tup/server/fuse_server.c \
--replace "system(\"fusermount" "system(\"/run/wrappers/bin/fusermount";
'';
});