add pash to user env

This commit is contained in:
Rachel Lambda Samuelsson 2024-10-05 15:08:00 +02:00
parent 2637a8e5c9
commit 0cd689a3c6
3 changed files with 4 additions and 2 deletions

View File

@ -78,5 +78,6 @@
extra.renoise
extra.nixprof
extra.protonmail-desktop
extra.pash
];
}

View File

@ -9,5 +9,5 @@ pkgs.writeScript "cpypsk" ''
n="''${f#$D/}"
n="''${n%.gpg}"
printf '%s\n' "$n"
done | ${pkgs.rofi}/bin/rofi -dmenu | xargs ${pash} copy
done | ${pkgs.rofi}/bin/rofi -dmenu | xargs ${pash}/bin/pash copy
''

View File

@ -9,6 +9,7 @@ pkgs.stdenv.mkDerivation {
};
phases = [ "installPhase" ];
installPhase = ''
install -Dm755 $src/pash $out
mkdir -p $out/bin
install -Dm755 $src/pash $out/bin/pash
'';
}