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

Realising a missing output of a derivation with another output already valid #21

Closed
shlevy opened this issue May 12, 2012 · 0 comments
Closed

Comments

@shlevy
Copy link
Member

shlevy commented May 12, 2012

If derivation foo has outputs bar and baz and foo.baz is valid in the store but foo.bar isn't, there is currently no way to build foo.bar without invalidating foo.baz first. When chroot builds are enabled, we can just rebuild everything in the chroot, but when they aren't possible some form of hash rewriting will be necessary.

edolstra added a commit that referenced this issue Sep 11, 2012
This handles the chroot and build hook cases, which are easy.
Supporting the non-chroot-build case will require more work (hash
rewriting!).

Issue #21.
meditans referenced this issue in Ericson2314/nix Aug 28, 2020
colemickens pushed a commit to colemickens/nix that referenced this issue Dec 21, 2020
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

No branches or pull requests

2 participants