diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-05-23 11:41:47 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-05-23 11:41:47 -0400 |
| commit | 54bb74b2dc75af9ec1e34a396382b8558c1ef0a5 (patch) | |
| tree | d4184dfcdf892e91a2427e6e6feff7fd9ed77272 | |
| parent | a20e8412ebe2fabec8f1393357932bb06f362dd6 (diff) | |
| download | x-54bb74b2dc75af9ec1e34a396382b8558c1ef0a5.tar.xz x-54bb74b2dc75af9ec1e34a396382b8558c1ef0a5.zip | |
bumperate: don't modify flake.nix, only modify .go.mod.sri and make direnv watch it
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | .envrc | 1 | ||||
| -rwxr-xr-x | bumperate.sh | 2 | ||||
| -rw-r--r-- | flake.nix | 2 |
3 files changed, 1 insertions, 4 deletions
@@ -1 +1,2 @@ use flake +watch_file .go.mod.sri diff --git a/bumperate.sh b/bumperate.sh index 37173dd..2cbf3b7 100755 --- a/bumperate.sh +++ b/bumperate.sh @@ -6,5 +6,3 @@ rm -rf $OUT go mod vendor -o $OUT go run tailscale.com/cmd/nardump --sri $OUT > .go.mod.sri rm -rf $OUT - -perl -pi -e "s,# nix-direnv cache busting line:.*,# nix-direnv cache busting line: $(cat .go.mod.sri)," flake.nix @@ -1,5 +1,3 @@ -# nix-direnv cache busting line: sha256-EsfFTlyPnFw3627pAiAb6jOBIzC6YcL+1ql+Z6+99e0= - { description = "/x/perimental code"; |
