File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,18 @@ Prerequisites:
1313* copier 6.2.0 or later
1414
1515```shell
16- copier copy "{{repo_url}}.git" /path/to/your/new/project
16+ copier copy "{{repo_url}}.git" /path/to/your/new/{{generator_name}}
1717```
1818
1919## Using Nix
2020
21+ Prerequisites:
22+
23+ * Nix 2.8.x or later installed [How to install Nix](https://nixos.org/download.html)
24+
2125```shell
2226nix develop
23- copier copy "{{repo_url}}.git" /path/to/your/new/project
27+ copier copy "{{repo_url}}.git" /path/to/your/new/{{generator_name}}
2428```
2529
2630## Updating
@@ -35,9 +39,8 @@ nix run .#update
3539
3640This action will not update/override your template and its configuration, but rather generators common files:
3741
38- * Environment (`pyproject.toml` and `poetry.lock`)
39- * `README.md`
4042* Nix expression files
43+ * `README.md`
4144* dotfiles
4245* `LICENSE`
4346
@@ -51,5 +54,7 @@ List of excluded files/paths:
5154Lastly, you can pass extra copier CLI options should you choose:
5255
5356```shell
54- ./update.sh -x README.md
57+ ./update.sh -x README.md --vcs-ref=custom_branch
58+ # Or
59+ nix run .#update -- -x README.md --vcs-ref=custom_branch
5560```
You can’t perform that action at this time.
0 commit comments