HFuse cannot be built without patching the Cabal file on NixOS http://nixos.org/, because it specifies bogus paths for system include and library paths. The Cabal file should not try to guess those paths (because it can't!). Instead, the compiler should be trusted to find system headers and libraries without additional options. On systems where FUSE is installed in non-standard locations, the user building HFuse can specify the proper locations by setting --extra-include-dirs=... during the cabal configure stage.