Files
shed/overlay/scripts/commands/invoke.nix
pagedmov da0b2245c7 consolidated script documentation into a single md file
wrote documentation on terminal sound effects

added a sound effect for `invoke`

added the function `build-drv`, which is a wrapper for nix-build that
puts the output nix store path to the derivation into an environment
variable instead of symlinking it in the current working directory
2024-11-16 23:40:05 -05:00

11 lines
193 B
Nix
Executable File

{ pkgs, self }:
pkgs.writeShellApplication {
name = "invoke";
text = ''
cmd="$1"
shift
playshellsound ${self}/assets/sound/invoke.wav
nix run nixpkgs#"$cmd" -- "$@"
'';
}