Fix flake.nix creation in project-init
This commit is contained in:
parent
1b545c45da
commit
0ebcc28ec2
|
@ -18,7 +18,7 @@ type=$1
|
|||
if [ "$type" = "git" ]; then
|
||||
git init
|
||||
cp ~/Documents/IT/shell.nix .
|
||||
cp ~/Documents/IT/flake-template.nix.nix flake.nix
|
||||
cp ~/Documents/IT/flake-template.nix flake.nix
|
||||
mkdir src data
|
||||
git add ./*
|
||||
git commit -m "Initial commit"
|
||||
|
@ -29,7 +29,7 @@ elif [ "$type" = "remote-git" ]; then
|
|||
touch README.org
|
||||
cp ~/Documents/IT/gpl-3.0.md LICENSE.md
|
||||
cp ~/Documents/IT/shell.nix .
|
||||
cp ~/Documents/IT/flake-template.nix.nix flake.nix
|
||||
cp ~/Documents/IT/flake-template.nix flake.nix
|
||||
mkdir src tests data
|
||||
git add ./*
|
||||
git commit -m "Initial commit"
|
||||
|
|
Loading…
Reference in New Issue