removed mkbackup script, refactored all script files to use pkgs.writeShellApplication rather than pkgs.writeShellScriptBin

This commit is contained in:
pagedmov
2024-11-06 18:17:29 -05:00
parent ad22e5a0b1
commit a53bae9870
18 changed files with 497 additions and 416 deletions

View File

@@ -1,9 +1,11 @@
{
self,
pkgs,
pkgs
}:
pkgs.writeShellScriptBin "invoke" ''
cmd="$1"
shift
nix run nixpkgs#"$cmd" -- "$@"
''
pkgs.writeShellApplication {
name = "invoke";
text = ''
cmd="$1"
shift
nix run nixpkgs#"$cmd" -- "$@"
'';
}