mirror of
https://github.com/Mic92/nix-update.git
synced 2024-09-17 13:27:27 +03:00
don't hardcode shell in nix run
This commit is contained in:
parent
2cd7237051
commit
c1666a0592
@ -155,7 +155,7 @@ def main() -> None:
|
||||
if args.build:
|
||||
subprocess.run(["nix", "build", "-f", args.file, args.attribute])
|
||||
if args.run:
|
||||
subprocess.run(["nix", "run", "-f", args.file, args.attribute, "-c", "zsh"])
|
||||
subprocess.run(["nix", "run", "-f", args.file, args.attribute])
|
||||
|
||||
if args.shell:
|
||||
nix_shell(args.file, args.attribute)
|
||||
|
Loading…
Reference in New Issue
Block a user