Template(s) broken
vilvo opened this issue · 0 comments
vilvo commented
x86_64-generic
as an example.
$ nix flake new --template github:tiiuae/ghaf#target-x86_64-generic ~/test-ghaf-downstream
wrote: /home/vilvo/test-ghaf-downstream/flake.nix
[vilvo@carrie:~]$ cd test-ghaf-downstream/
[vilvo@carrie:~/test-ghaf-downstream]$ nix flake show
warning: creating lock file '/home/vilvo/test-ghaf-downstream/flake.lock'
path:/home/vilvo/test-ghaf-downstream?lastModified=1712815534&narHash=sha256-2mIRO3JZxIvS4cBpLzQDpDxVZIaGKlfOvEYs37Yka70%3D
error:
… in the left operand of the update (//) operator
at «string»:56:13:
55| # This is shadowed in the next //
56| // sourceInfo
| ^
57| // {
… from call site
at «string»:47:21:
46|
47| outputs = flake.outputs (inputs // { self = result; });
| ^
48|
error: function 'outputs' called with unexpected argument 'nixos-hardware'
at /nix/store/bwf2bjngr2nyp28nx33fqnnl87ammiz4-source/flake.nix:41:13:
40|
41| outputs = {
| ^
42| self,
[vilvo@carrie:~/test-ghaf-downstream]$
Affected guides - https://tiiuae.github.io/ghaf/ref_impl/ghaf-based-project.html