-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
nixpkgs-check-by-name reports IO error for Nix versions 2.21+ #78
Labels
bug
Something isn't working
Comments
philiptaron
changed the title
nixpkgs-check-by-name reports IO error
nixpkgs-check-by-name reports IO error for Nix versions 2.21+
Jul 8, 2024
Interesting, found the problem: # test.nix
let
attrs = {
inherit ({ })
abc def
hij klm;
};
in
builtins.mapAttrs (name: _value:
let
pos = builtins.unsafeGetAttrPos name attrs;
in
[ pos.line pos.column ]
) attrs
Looks like this isn't part of the test suite in https://github.com/NixOS/nixpkgs-check-by-name/blob/0c73cb7ad5d35f2bd67206bfbf114b580103e946/src/nix_file.rs#L422-L463, would be great to add it there |
It might have been eldritch horrors in NixOS/nix@1edd6fa |
infinisil
added a commit
that referenced
this issue
Jul 19, 2024
This makes the binary always use the same Nix version, instead of getting it from PATH. This makes it more reproducible, because issues from different Nix versions can't occur anymore, e.g. #78
infinisil
added a commit
that referenced
this issue
Jul 19, 2024
This makes the binary always use the same Nix version, instead of getting it from PATH. This makes it more reproducible, because issues from different Nix versions can't occur anymore, e.g. #78
Merged
1 task
infinisil
added a commit
to NixOS/nixpkgs
that referenced
this issue
Jul 23, 2024
… to 27" This partially reverts commit ab7becf. The pkgs/by-name check doesn't work for newer Nix versions yet, see NixOS/nixpkgs-vet#78
This was referenced Jul 26, 2024
Merged
infinisil
added a commit
to infinixbot/nixpkgs
that referenced
this issue
Jul 27, 2024
… from 26 to 27"" This reverts commit 9906947. With the parent commit, NixOS/nixpkgs-vet#78 is fixed, so there's no problem related to the Nix version anymore.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running
nixpkgs-check-by-name
with Nix versions greater than 2.20, it reports the following:The text was updated successfully, but these errors were encountered: