{ stdenv , zsh }: stdenv.mkDerivation rec { pname = "persistent-nix-shell"; version = "0.1"; src = ../persistent-nix-shell; phases = [ "buildPhase" "installPhase" ]; inherit zsh; buildPhase = '' substituteAll $src persistent-nix-shell ''; installPhase = '' install -m 0755 -D -t $out/bin \ persistent-nix-shell ''; }