summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-04-27 10:56:59 -0400
committerAndrew Opalach <andrew@akon.city> 2025-04-27 10:56:59 -0400
commitf2c75dd6fb52626150e11d6a32cf6fea1df80a8e (patch)
tree259b499883162edcb0f7d297f2cc830347a05c05 /scripts
parentc39de560ae0bddcd4b22d19645a24bb71dbeb81d (diff)
downloaddotfiles-f2c75dd6fb52626150e11d6a32cf6fea1df80a8e.tar.gz
dotfiles-f2c75dd6fb52626150e11d6a32cf6fea1df80a8e.tar.bz2
dotfiles-f2c75dd6fb52626150e11d6a32cf6fea1df80a8e.zip
Checking in various updates
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-as-needed4
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 "$@"