don't hardcode shell in nix run

This commit is contained in:
Jörg Thalheim 2020-03-13 10:05:39 +00:00
parent 2cd7237051
commit c1666a0592
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -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)