Open multivac61 opened 3 months ago
Apologies! I wasn't aware flake-parts
had been moved into nixpkgs
. Closing the issue. Thank you.
No problem.
However, flake-parts has not been moved into nixpkgs. Flakes have this magic feature:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = inputs@{ foo, bar, baz, ... }:
...
The inputs foo
, bar
, baz
are not listed in the inputs
, so the nix registry will be checked if it knows such entries. This way you don't have control which version of them is used on the next flake update, but sometimes you don't care.
Ah, now I remember where I had the issue:
Does not happen if I explicitly add flake-parts.url = "github:hercules-ci/flake-parts";
to the inputs 😄
Did you get an error message from somewhere? flake-parts should be obtained from the registry, the way the flake is written now.