refactor: inherit name from mkPackages

This commit is contained in:
Leon Schwarzäugl 2024-12-29 00:36:04 +01:00
parent d397be861b
commit d538762c7e
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
23 changed files with 81 additions and 147 deletions

View file

@ -1,7 +1,7 @@
{ writeShellApplication, ... }:
{ name, writeShellApplication, ... }:
writeShellApplication {
name = "bak";
inherit name;
text = ''
cp -r "$1"{,.bak}
'';