removed mkbackup script, refactored all script files to use pkgs.writeShellApplication rather than pkgs.writeShellScriptBin
This commit is contained in:
@@ -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" -- "$@"
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user