-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: flake.nix
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ {
2 ~ │ description = "Test Flake For Follows";
3 ~ │ inputs =
4 ~ │ {
5 ~ │ nixos-generators.url = "github:nix-community/nixos-generators";
6 ~ │ nixos-generators.inputs.nixpkgs.follows = "self";
7 │ };
8 │
9 ~ │ outputs = { ... }: {};
10 │ }
───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────
nix flake lock --update-input nixos-generators
warning: Git tree '/tmp/flake-test' is dirty
error: input 'nixos-generators/nixpkgs' follows a non-existent input 'self'
(use '--show-trace' to show detailed location information)
Imagine I wanted to ship a remote flake that depends on my local flake as part of my local flake ("engulfing").
With this bug present, I cant do that in flake interface land.
It is a legal operation.
FRidh, roberth, terlar, icetan, alexshpilkin and 1 morebrainrake