anchor.diff: -{ stdenv, fetchgit, autoPatchelfHook, fetchzip, libunwind, libuuid, icu, curl, cacert,
  -  makeWrapper, less, openssl }:
  +{ stdenv, fetchgit, autoPatchelfHook, fetchzip, libunwind, libuuid, icu, curl,
  +  makeWrapper, less, openssl, pam, lttng-ust }:
   
   let platformString = if stdenv.isDarwin then "osx"
                        else if stdenv.isLinux then "linux"
  
positive.code:     stripRoot = false;
    };
  
    buildInputs = [ autoPatchelfHook makeWrapper ];
    propagatedBuildInputs = [ libunwind libuuid icu curl cacert less openssl ];
  
    # TODO: remove PAGER after upgrading to v6.1.0-preview.1 or later as it has been addressed in
    # https://github.com/PowerShell/PowerShell/pull/6144
  
negative.code:     platformLdLibraryPath = if stdenv.isDarwin then "DYLD_FALLBACK_LIBRARY_PATH"
                       else if stdenv.isLinux then "LD_LIBRARY_PATH"
                       else throw "unsupported platform";
      libraries = [ libunwind libuuid icu curl openssl lttng-ust ] ++ (if stdenv.isLinux then [ pam ] else []);
  in
  stdenv.mkDerivation rec {
    name = "powershell-${version}";
  