Skip to content
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

PR 249 breaks rust build #254

Closed
johnae opened this issue Aug 16, 2022 · 3 comments
Closed

PR 249 breaks rust build #254

johnae opened this issue Aug 16, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@johnae
Copy link

johnae commented Aug 16, 2022

This commit: d2b389d - part of PR #249, results in an error that I didn't get in the previous commit 07547c2

❯ nix build '.#nu'
warning: Git tree '/home/john/Development/world' is dirty
warning: Using saved setting for 'extra-experimental-features = nix-command flakes' fr
om ~/.local/share/nix/trusted-settings.json.
warning: Using saved setting for 'extra-substituters = https://nix-community.cachix.or
g https://insane.cachix.org https://cachix.cachix.org' from ~/.local/share/nix/trusted
-settings.json.
warning: Using saved setting for 'extra-trusted-public-keys = nix-community.cachix.org
-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= insane.cachix.org-1:cLCCoYQKkmEb/M88UI
ssfg2FiSDUL4PUjYj9tdo4P8o= cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSo
MckM=' from ~/.local/share/nix/trusted-settings.json.
error: attribute 'nu-pretty-hex' missing

       at /nix/store/76yd1ixrinygifpwqp7vhzjy4l9g483h-source/src/lib/simpleTranslate2.
nix:196:15:

          195|             children =
          196|               depGraphWithFakeRoot."${node.name}"."${node.version}";
             |               ^
          197|
(use '--show-trace' to show detailed location information)

It's a Rust build so not sure what node has to do with it, though I'm very unfamiliar with the internals of this project.

@yusdacra
Copy link
Member

This shouldn't be related to the Rust subsystem I think but rather a more general issue I believe. But something might have changed that might have broken the code in the Rust subsystem. I'm not exactly sure why however. If you post a flake here I can debug it.

@yusdacra
Copy link
Member

Does 0131c22 fix your issue?

@johnae
Copy link
Author

johnae commented Aug 27, 2022

Thanks @yusdacra. Seems that fixes the issue.

@johnae johnae closed this as completed Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants