anchor.diff:      export HOME=$TMPDIR
     '';
   
  -  checkFlagsArray = [ "--skip=kbs2::config::tests::test_find_config_dir" ];
  +  checkFlags = [ "--skip=kbs2::config::tests::test_find_config_dir" ]
  +    ++ stdenv.lib.optionals stdenv.isDarwin [ "--skip=test_ragelib_rewrap_keyfile" ];
   
     postInstall = ''
       mkdir -p $out/share/kbs2
  
positive.code: 
  rustPlatform.buildRustPackage rec {
    pname = "kbs2";
    version = "0.1.6";
  
    src = fetchFromGitHub {
      owner = "woodruffw";
      repo = pname;
      rev = "v${version}";
      sha256 = "0n83d4zvy74rn38fqq84lm58l24c3r87m2di2sw4cdr1hkjg3nbl";
    };
  
    cargoSha256 = "0kafyljn3b87k5m0wdii0gfa4wj1yfys8jqx79inj82m0w1khprk";
  
    nativeBuildInputs = [ installShellFiles ]
      ++ stdenv.lib.optionals stdenv.isLinux [ python3 ];
  
negative.code:   meta = with stdenv.lib; {
      description = "A secret manager backed by age";
      homepage = "https://github.com/woodruffw/kbs2";
      changelog = "https://github.com/woodruffw/kbs2/blob/v${version}/CHANGELOG.md";
      license = licenses.mit;
      maintainers = [ maintainers.marsam ];
    };
  