"Get and configure rde" instructions do not work
codygman opened this issue · 2 comments
codygman commented
[nix-shell:~/code/try-flakes]$ nix flake new -t "github:abcdw/rde/configs" configs
error: --- FileTransferError ------------------------------------------------------------------------------------------------------------------------- nix
unable to download 'https://api.github.com/repos/abcdw/rde/commits/configs': HTTP error 422 ('Unprocessable Entity')
response body:
{
"message": "No commit found for SHA: configs",
"documentation_url": "https://docs.github.com/rest/reference/repos#get-a-commit"
}
[nix-shell:~/code/try-flakes]$ nix --version
nix (Nix) 3.0pre20201020_e0ca98c
Maybe the syntax changed?
codygman commented
I also tried this just to try it:
[nix-shell:~/code/try-flakes]$ nix flake new -t "github:abcdw/rde" configs
error: --- Error ------------------------------------------------------------------------------------------------------------------------------------- nix
attribute 'defaultTemplate.path' does not exist
abcdw commented
It was a pseudo code and I planned to update it in the future.
The following snippet of code works:
nix flake new -t "github:abcdw/rde#python.poetry" ./python-project
There is no template for rde configuration yet, but you can use src/
and flake.nix
content as a reference.
Probably this template won't appear anytime soon, because I'm in the process of switching to guix.