This commit is contained in:
Steph 2024-12-11 23:00:26 +01:00
parent 7bdccfa0f0
commit 68834e7ea3

View File

@ -28,8 +28,9 @@
fi fi
run() { run() {
set -- "$${@/#/nixpkgs\#}" cmd="nix run";
nix run "$${@/%/y}" for arg in "$@"; do cmd="$cmd nixpkgs#$arg"; done;
eval $cmd;
} }
'' ''