anchor.diff:  in
   stdenv.mkDerivation rec {
     name = "powershell-${version}";
  -  version = "6.0.4";
  +  version = "6.1.0";
   
     src = fetchzip {
       url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${platformString}-x64.tar.gz";
  
positive.code: let platformString = if stdenv.isDarwin then "osx"
                       else if stdenv.isLinux then "linux"
                       else throw "unsupported platform";
      platformSha = if stdenv.isDarwin then "01j92myljgphf68la9q753m5wgfmd0kwlsk441yic7qshcly5xkw"
                       else if stdenv.isLinux then "0al1mrlz3m5ksnq86mqm0axb8bjdxa05j2p5y9bmcykrgkdwi3vk"
                       else throw "unsupported platform";
      platformLdLibraryPath = if stdenv.isDarwin then "DYLD_FALLBACK_LIBRARY_PATH"
                       else if stdenv.isLinux then "LD_LIBRARY_PATH"
  
negative.code:   buildInputs = [ less ] ++ libraries;
    nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
  
    installPhase = ''
      mkdir -p $out/bin
      mkdir -p $out/share/powershell
      cp -r * $out/share/powershell
      makeWrapper $out/share/powershell/pwsh $out/bin/pwsh --prefix ${platformLdLibraryPath} : "${stdenv.lib.makeLibraryPath libraries}" \
                                             --set TERM xterm --set POWERSHELL_TELEMETRY_OPTOUT 1
    '';
  
    dontStrip = true;
  