mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 11:36:11 +01:00
make self-contained using resholve
This commit is contained in:
parent
892f1b5f37
commit
add18037af
3 changed files with 40 additions and 13 deletions
|
|
@ -16,6 +16,7 @@ if [[ "$(git symbolic-ref --short HEAD)" != "master" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
sed -Ei "s!(version = ).*!\1\"$version\";!" default.nix
|
||||
sed -Ei "s!(NIX_DIRENV_VERSION=).*!\1$version!" direnvrc
|
||||
|
||||
sed -i README.md templates/flake/.envrc \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue