8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
flake.lock
inputs.something.follows = ""
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
I have a flake with a strange dependency that references to itself, which make nil reports:
nil
ERROR nil::server: Failed to load flake workspace: Failed to resolve flake inputs from lock file: Flake input "secret-wrapper" is not locked
However, it does work (as I expected, referencing the flake itself) in nix build, nix flake update, and nix flake metadata
nix build
nix flake update
nix flake metadata
The flake.nix excerpt is something like this:
flake.nix
{ description = "System Configuration(s)"; inputs = { nixos.url = "github:NixOS/nixpkgs/nixos-unstable"; # ... secret-wrapper.follows = ""; }; outputs = { self, secret-wrapper ? null, ... }@inputs: { # ... }; }
And the flake.lock excerpt:
{ "nodes": { /* ... */ "root": { "inputs": { "nixos": "nixos", "secret-wrapper": [], /* ... */ } }, /* ... */ }
Finally, thanks for making nil! It's a powerful LSP which helped me a lot! 👍
The text was updated successfully, but these errors were encountered:
09bcbd1
No branches or pull requests
I have a flake with a strange dependency that references to itself, which make
nil
reports:However, it does work (as I expected, referencing the flake itself) in
nix build
,nix flake update
, andnix flake metadata
The
flake.nix
excerpt is something like this:And the
flake.lock
excerpt:Finally, thanks for making
nil
! It's a powerful LSP which helped me a lot! 👍The text was updated successfully, but these errors were encountered: