Multiple outputs are not supported in fixed-output derivations
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 17.7k
- Forks
- 2k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 80
Description
From src/libexpr/primops.cc,
multiple outputs are not supported in fixed-output derivations
I was looking into making `cacert' a fixed output derivation - but ran into this error. Is there any plan to get these two things to work together? I think you would just need to have a way to specify different hashes for each of the expected outputs.
/cc @edolstra
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/libexpr/primops.cc, where the “multiple outputs are not supported in fixed-output derivations” error is reported. Trace how fixed-output derivations and output hashes are represented, then determine the required behavior for specifying different hashes for each expected output; done means multiple outputs can work with fixed-output derivations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100