diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/install-as-needed | 3 |
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} |