diff options
| author | 2025-04-27 10:56:59 -0400 | |
|---|---|---|
| committer | 2025-04-27 10:56:59 -0400 | |
| commit | f2c75dd6fb52626150e11d6a32cf6fea1df80a8e (patch) | |
| tree | 259b499883162edcb0f7d297f2cc830347a05c05 /scripts/install-as-needed | |
| parent | c39de560ae0bddcd4b22d19645a24bb71dbeb81d (diff) | |
| download | dotfiles-f2c75dd6fb52626150e11d6a32cf6fea1df80a8e.tar.gz dotfiles-f2c75dd6fb52626150e11d6a32cf6fea1df80a8e.tar.bz2 dotfiles-f2c75dd6fb52626150e11d6a32cf6fea1df80a8e.zip | |
Checking in various updates
Diffstat (limited to 'scripts/install-as-needed')
| -rwxr-xr-x | scripts/install-as-needed | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install-as-needed b/scripts/install-as-needed index ab48655..9db4ff1 100755 --- a/scripts/install-as-needed +++ b/scripts/install-as-needed @@ -1,3 +1,5 @@ #! /usr/bin/env sh export NIXPKGS_ALLOW_UNFREE=1 -nix shell --impure --expr "with (import (builtins.getFlake ''nixpkgs'') {});$1" --command ${@:2} +PKG=$1 +shift +nix shell --impure --expr "with (import (builtins.getFlake ''nixpkgs'') {});$PKG" --command "$@" |