anchor.diff:      popd
     '';
   
  +  # Do not strip the embedded web assets
  +  dontStrip = true;
  +
     # Reduce closure size for client machines
     outputs = [ "out" "client" ];
   
     buildTargets = [ "full" ];
   
  +  preCheck = ''
  +    export HOME=$(mktemp -d)
  +  '';
  +
     postInstall = ''
       install -Dm755 -t $client/bin $out/bin/tsh
  +    wrapProgram $client/bin/tsh --prefix PATH : ${xdg-utils}/bin
       wrapProgram $out/bin/tsh --prefix PATH : ${xdg-utils}/bin
     '';
   
  
positive.code: 
    meta = with lib; {
      description = "A SSH CA management suite";
      homepage = "https://gravitational.com/teleport/";
      license = licenses.asl20;
      maintainers = with maintainers; [ sigma tomberek freezeboy ];
      platforms = platforms.unix;
  
negative.code: 
    postBuild = ''
      pushd .
      mkdir -p build
      echo "making webassets"
      cp -r ${webassets}/* webassets/
  