I might need to add the .git

This commit is contained in:
Lillian Violet 2024-01-18 14:29:28 +01:00
parent 72862fa8fa
commit 2143ac35be
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ writeShellApplication
runtimeInputs = [direnv]; runtimeInputs = [direnv];
text = '' text = ''
echo "use flake \"git+https://git.lillianviolet.dev/Lillian-Violet/dev-templates?dir=$1\"" >> .envrc echo "use flake \"git+https://git.lillianviolet.dev/Lillian-Violet/dev-templates.git?dir=$1\" --no-write-lock-file" >> .envrc
direnv allow direnv allow
''; '';
} }

View file

@ -11,7 +11,7 @@ writeShellApplication
runtimeInputs = [direnv]; runtimeInputs = [direnv];
text = '' text = ''
nix flake init -t "git+https://git.lillianviolet.dev/Lillian-Violet/dev-templates#$1" nix flake init -t "git+https://git.lillianviolet.dev/Lillian-Violet/dev-templates.git#$1"
direnv allow direnv allow
''; '';
} }