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

Fix tokenize output names in DerivedPath #4801

Merged
merged 1 commit into from
May 13, 2021

Conversation

matthewbauer
Copy link
Member

This should fix the issue described in
https://discourse.nixos.org/t/derivation-does-not-have-wanted-outputs-dev-out/12905.

Specifically, we get an error of

error: derivation '/nix/store/_.drv' does not have wanted outputs 'dev,out'

when a path like /nix/store/_.drv!dev,out is sent to the daemon.

/cc @Ericson2314 @edolstra

This should fix the issue described in
https://discourse.nixos.org/t/derivation-does-not-have-wanted-outputs-dev-out/12905.

Specifically, we get an error of

  error: derivation '/nix/store/_.drv' does not have wanted outputs 'dev,out'

when a path like /nix/store/_.drv!dev,out is sent to the daemon.
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/derivation-does-not-have-wanted-outputs-dev-out/12905/5

Copy link
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow....just wow.... thank you so much @matthewbauer!!!

@Ericson2314
Copy link
Member

Ericson2314 commented May 13, 2021

I wonder if we should try to run all the tests with the daemon or something, that would have caught this when I wrote it.

Copy link
Member

@Mic92 Mic92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works for me.

@edolstra edolstra merged commit 89a4ede into NixOS:master May 13, 2021
@edolstra
Copy link
Member

Thanks!

@grahamc
Copy link
Member

grahamc commented May 15, 2021

I wonder if we should try to run all the tests with the daemon or something, that would have caught this when I wrote it.

What do you think it would take to do this?

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.

6 participants