regression: nix eval -f '<nixpkgs>' hello no longer consults nix-path config setting successfully #596

Closed
opened 2024-12-05 22:57:45 +00:00 by jade · 1 comment
Owner
lix/lix2 » nix eval -f '<nixpkgs>' lixVersions.lix_2_91
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
lix/lix2 » nix config show | grep path
nix-path = /home/jade/.nix-defexpr/channels nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs /nix/var/nix/profiles/per-user/root/channels

Bisects to ce698198f0, so cc @pennae

This points to testing inadequacies more than anything, this should have absolutely been caught by our integration tests had they been better; and stuff like functional2 is the fix to it.

``` lix/lix2 » nix eval -f '<nixpkgs>' lixVersions.lix_2_91 error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I) lix/lix2 » nix config show | grep path nix-path = /home/jade/.nix-defexpr/channels nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs /nix/var/nix/profiles/per-user/root/channels ``` Bisects to ce698198f06847b57afdb0a5b26aeb132be03e17, so cc @pennae This points to testing inadequacies more than anything, this should have absolutely been caught by our integration tests had they been better; and stuff like functional2 is the fix to it.
jade added the
bug
regression
Area/cli
labels 2024-12-05 22:58:07 +00:00
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/2281 ("libcmd: munge evalSettings in the right place")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/2281", "number": 2281, "kind": "commit message"}], "cl_meta": {"2281": {"change_title": "libcmd: munge evalSettings in the right place"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/2281](https://gerrit.lix.systems/c/lix/+/2281) ("libcmd: munge evalSettings in the right place")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#596
No description provided.