summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-03-31 13:18:59 -0400
committerAndrew Opalach <andrew@akon.city> 2025-03-31 13:18:59 -0400
commit56d74ee6b8ba7ac9572814f556891e86525f7663 (patch)
tree3253e4e9b581e1c33b52e54ed09d7c761797bd88 /scripts
parentd907076ef8d0fcfcb8f99581aa3cc8052634a654 (diff)
downloaddotfiles-56d74ee6b8ba7ac9572814f556891e86525f7663.tar.gz
dotfiles-56d74ee6b8ba7ac9572814f556891e86525f7663.tar.bz2
dotfiles-56d74ee6b8ba7ac9572814f556891e86525f7663.zip
Experiment with "as needed" packages and cleanup
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-as-needed3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/install-as-needed b/scripts/install-as-needed
new file mode 100755
index 0000000..ab48655
--- /dev/null
+++ b/scripts/install-as-needed
@@ -0,0 +1,3 @@
+#! /usr/bin/env sh
+export NIXPKGS_ALLOW_UNFREE=1
+nix shell --impure --expr "with (import (builtins.getFlake ''nixpkgs'') {});$1" --command ${@:2}