add pash to user env
This commit is contained in:
parent
2637a8e5c9
commit
0cd689a3c6
|
@ -78,5 +78,6 @@
|
||||||
extra.renoise
|
extra.renoise
|
||||||
extra.nixprof
|
extra.nixprof
|
||||||
extra.protonmail-desktop
|
extra.protonmail-desktop
|
||||||
|
extra.pash
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,5 +9,5 @@ pkgs.writeScript "cpypsk" ''
|
||||||
n="''${f#$D/}"
|
n="''${f#$D/}"
|
||||||
n="''${n%.gpg}"
|
n="''${n%.gpg}"
|
||||||
printf '%s\n' "$n"
|
printf '%s\n' "$n"
|
||||||
done | ${pkgs.rofi}/bin/rofi -dmenu | xargs ${pash} copy
|
done | ${pkgs.rofi}/bin/rofi -dmenu | xargs ${pash}/bin/pash copy
|
||||||
''
|
''
|
||||||
|
|
|
@ -9,6 +9,7 @@ pkgs.stdenv.mkDerivation {
|
||||||
};
|
};
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 $src/pash $out
|
mkdir -p $out/bin
|
||||||
|
install -Dm755 $src/pash $out/bin/pash
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user