anchor.diff:      sed -i src/justfile.rs \
           -i tests/*.rs \
           -e "s@/bin/echo@${coreutils}/bin/echo@g" \
  -        -e "s@#!/usr/bin/env sh@#!${bash}/bin/sh@g" \
  -        -e "s@#!/usr/bin/env cat@#!${coreutils}/bin/cat@g" \
  -        -e "s@#!/usr/bin/env bash@#!${bash}/bin/sh@g"
  +        -e "s@/usr/bin/env@${coreutils}/bin/env@g"
   
       # Return unchanged string.rs
       cp $TMPDIR/string.rs tests/string.rs
     '';
   
  -  # Skip "edit" when running "cargo test", since this test case needs "cat" and "vim".
  -  # Skip "choose" when running "cargo test", since this test case needs "fzf".
  -  checkFlags = [ "--skip=choose" "--skip=edit" ];
  +  checkFlags = [
  +    "--skip=edit" # trying to run "vim" fails as there's no /usr/bin/env or which in the sandbox to find vim and the dependency is not easily patched
  +    "--skip=run_shebang" # test case very rarely fails with "Text file busy"
  +  ];
   
     meta = with lib; {
  +    homepage = "https://github.com/casey/just";
  +    changelog = "https://github.com/casey/just/blob/v${version}/CHANGELOG.md";
       description = "A handy way to save and run project-specific commands";
  -    homepage = "https://github.com/casey/just";
       license = licenses.cc0;
  -    maintainers = with maintainers; [ xrelkd ];
  +    maintainers = with maintainers; [ xrelkd jk ];
     };
   }
  
positive.code: 
  rustPlatform.buildRustPackage rec {
    pname = "just";
    version = "0.9.1";
  
    src = fetchFromGitHub {
      owner = "casey";
      repo = pname;
      rev = "v${version}";
      sha256 = "sha256-5W/5HgXjDmr2JGYGy5FPmCNIuAagmzEHnskDUg+FzjY=";
    };
  
    cargoSha256 = "sha256-4lLWtj/MLaSZU7nC4gVn7TyhaLtO1FUSinQejocpiuY=";
  
    nativeBuildInputs = [ installShellFiles ];
    buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
  
negative.code:     # USER must not be empty
      export USER=just-user
      export USERNAME=just-user
      export JUST_CHOOSER="${coreutils}/bin/cat"
  
      # Prevent string.rs from being changed
      cp tests/string.rs $TMPDIR/string.rs
  