.lib/stubs/stow

Tue, 09 May 2023 00:13:42 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 09 May 2023 00:13:42 -0500
changeset 1114
fd7f92c949fb
parent 1112
0ae7864c4ad8
child 1119
84cd2286f0bf
permissions
-rwxr-xr-x

use nix profile install/upgrade

989
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
1112
0ae7864c4ad8 add basic nix alternative for stubs
Meredith Howard <mhoward@roomag.org>
parents: 1107
diff changeset
4 nix_ref='nixpkgs#stow'
0ae7864c4ad8 add basic nix alternative for stubs
Meredith Howard <mhoward@roomag.org>
parents: 1107
diff changeset
5
989
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 install_it() {
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 cpanm -n Stow
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 asdf reshim perl || :
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 }
b5df8971e99b add stow stub
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10
992
4e3e37ce84bc Switch stubexec to self-invoke
Meredith Howard <mhoward@roomag.org>
parents: 989
diff changeset
11 . ~/.lib/sh/stubexec.sh

mercurial