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

Allow fixed-output derivations to depend on (floating) content-addressed ones #4284

Merged
merged 2 commits into from Dec 1, 2020

Conversation

thufschmitt
Copy link
Member

Fix an overlook of #4056

@thufschmitt thufschmitt added the ca-derivations Derivations with content addressed outputs label Nov 25, 2020
@@ -60,4 +60,15 @@ rec {
echo ${rootCA}/non-ca-hello > $out/dep
'';
};
dependentFixedOutput = mkDerivation {
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't there be a build of this attribute in tests/content-addressed.sh?

Copy link
Member Author

Choose a reason for hiding this comment

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

Uh of course 🤦‍♂️

Fixed in 9bd8184

@edolstra edolstra merged commit e5cf501 into NixOS:master Dec 1, 2020
@edolstra edolstra deleted the fixed-output-depending-on-ca branch December 1, 2020 19:25
@Ericson2314
Copy link
Member

Oh it looks like this contained an older version of #4282 when that one was still being reviewed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ca-derivations Derivations with content addressed outputs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants