Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template flakes do not contain flake-parts as input, yet they rely on it. #138

Closed
Niols opened this issue Apr 13, 2023 · 2 comments
Closed
Labels
question Further information is requested

Comments

@Niols
Copy link

Niols commented Apr 13, 2023

For instance, in the multi-module template (but it is the same for the others):

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = inputs@{ flake-parts, ... }:

Is this on purpose? I would have expected the template to contain

inputs.flake-parts.url = "github:hercules-ci/flake-parts";
@terlar
Copy link

terlar commented Apr 13, 2023

Without that it will use the flake-parts from the flake-registry, I think it is intended.

@roberth roberth added the question Further information is requested label Jan 29, 2024
@roberth
Copy link
Member

roberth commented Jan 29, 2024

That is correct, but now the input is explicit, so that this question doesn't have to be asked again.

@roberth roberth closed this as completed Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants