Tue, 09 May 2023 00:13:42 -0500
use nix profile install/upgrade
1005 | 1 | #!/bin/sh |
2 | set -eu | |
3 | ||
4 | age_limit=30 | |
1112
0ae7864c4ad8
add basic nix alternative for stubs
Meredith Howard <mhoward@roomag.org>
parents:
1107
diff
changeset
|
5 | nix_ref='nixpkgs#tectonic' |
1005 | 6 | |
7 | install_it() { | |
8 | mkdir -p ~/.local/bin | |
9 | cd ~/.local/bin | |
10 | curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net | | |
11 | sh | |
12 | cd - | |
13 | asdf reshim || : | |
14 | } | |
15 | ||
16 | . ~/.lib/sh/stubexec.sh |