fish: fix run and shell commands
This commit is contained in:
@@ -69,7 +69,7 @@ with lib; {
|
||||
run = ''
|
||||
set -l channel nixpkgs
|
||||
|
||||
if test "$argv[1]" = -u -o "$argv[1]" = --unstable
|
||||
if test "$argv[1]" = -u; or test "$argv[1]" = --unstable
|
||||
set channel github:NixOS/nixpkgs/nixpkgs-unstable
|
||||
set -e argv[1]
|
||||
end
|
||||
@@ -78,7 +78,7 @@ with lib; {
|
||||
shell = ''
|
||||
set -l channel nixpkgs
|
||||
|
||||
if test "$argv[1]" = -u -o "$argv[1]" = --unstable
|
||||
if test "$argv[1]" = -u; or test "$argv[1]" = --unstable
|
||||
set channel github:NixOS/nixpkgs/nixpkgs-unstable
|
||||
set -e argv[1]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user