Skip to content

Conversation

@ohbe1jacobi
Copy link

@ohbe1jacobi ohbe1jacobi commented Oct 14, 2025

Use a proper flake input declaration:
inputs.nix-dev.url = "path:./nix-dev";

This change prevents downstream consumers from hitting path '/nix/store/...-nix-dev is not valid during flake evaluation. It also preserves the original inputsCombined logic.

Fixes #149

@ohbe1jacobi
Copy link
Author

ohbe1jacobi commented Oct 15, 2025

Tested NixOS flake input (nix flake check) via local flake:

[...]
inputs = {
  [...]
  vscode-extensions = {
    url = "path:/home/xxx/Projects/nix-vscode-extensions";
    inputs.nixpkgs.follows = "nixpkgs";
  };
  [...]
};
[...]

Tested NixOS flake.nix input (nix flake check) with github remote flake:

[...]
inputs = {
  [...]
  vscode-extensions = {
    url = "github:ohbe1jacobi/nix-vscode-extensions/nix-dev-flake-path";
    inputs.nixpkgs.follows = "nixpkgs";
  };
  [...]
};
[...]

Both resolved error in #149

Use a proper flake input declaration:
  inputs.nix-dev.url = "path:./nix-dev";

This change prevents downstream consumers from hitting
"path '/nix/store/...-nix-dev' is not valid" during flake evaluation.
It also preserves the original inputsCombined logic.

Fixes nix-community#149
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using as NixOS flake input fails check

1 participant