anchor.diff:  , pkg-config
   , libfido2
   }:
  -
  -let
  -  # pandoc is currently broken on aarch64-darwin
  -  # because of missing ghc
  -  brokenPandoc = stdenv.isDarwin && stdenv.isAarch64;
  -in
   
   buildGoModule rec {
     pname = "gocryptfs";
  
positive.code: 
    subPackages = [ "." "gocryptfs-xray" "contrib/statfs" ];
  
    postBuild = lib.optionalString (!brokenPandoc) ''
      pushd Documentation/
      mkdir -p $out/share/man/man1
      # taken from Documentation/MANPAGE-render.bash
  
negative.code: 
    nativeBuildInputs = [
      pkg-config
      pandoc
    ];
  
  