From f2c75dd6fb52626150e11d6a32cf6fea1df80a8e Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Sun, 27 Apr 2025 10:56:59 -0400 Subject: Checking in various updates --- scripts/install-as-needed | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/install-as-needed') 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 "$@" -- cgit v1.2.3-101-g0448