fish: fix run and shell commands

This commit is contained in:
2026-10-30 07:57:13 +01:00
parent f70623e865
commit d0dc9b12e5
+2 -2
View File
@@ -69,7 +69,7 @@ with lib; {
run = '' run = ''
set -l channel nixpkgs 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 channel github:NixOS/nixpkgs/nixpkgs-unstable
set -e argv[1] set -e argv[1]
end end
@@ -78,7 +78,7 @@ with lib; {
shell = '' shell = ''
set -l channel nixpkgs 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 channel github:NixOS/nixpkgs/nixpkgs-unstable
set -e argv[1] set -e argv[1]
end end