Closed JackKelly-Bellroy closed 1 week ago
Just hit this when first trying to use this project using the flake template
Hello.
This was caused by this pull request, where the direct link to flake-utils
was changed to follow the input of haskellNix
(this repository). Unfortunately, this repository does not actually link to flake-utils
anywhere.
There are two solutions to this:
flake-utils
.I have submitted a pull request with fix (2) here: #2247
In the meantime, you can fix this by doing the following:
As the tutorial, run
nix flake init --template templates#haskell-nix
Open the flake.nix file in any text editor. Locate the line
inputs.flake-utils.follows = "haskellNix/flake-utils";
and replace it with
inputs.flake-utils.url = "github:numtide/flake-utils";
I believe this should fix the issue. Please let me know if this works for you!
Should be fixed by https://github.com/NixOS/templates/pull/86
Describe the bug
Now that
haskell.nix
no longer inputsflake-utils
, the flake input should be imported directly and not through a.follows
.Steps To Reproduce