Skip to content

Comments

Allow StorePathWithOutputs in the cli#4494

Closed
thufschmitt wants to merge 1 commit intoca/drvoutputs-commandsfrom
ca/allow-pathWithOutputs-in-cli
Closed

Allow StorePathWithOutputs in the cli#4494
thufschmitt wants to merge 1 commit intoca/drvoutputs-commandsfrom
ca/allow-pathWithOutputs-in-cli

Conversation

@thufschmitt
Copy link
Member

Allow things like nix build /nix/store/...-foo.drv!dev.

This is especially useful for ca derivations (because this is the
canonical way of refering to the outputs of ca derivations), but is also
generally useful for consitency − for example it means that
nix build $(nix-instantiate ./foobar.nix) will always work − barring
any GC interaction.

Depends on #4372

Allow things like `nix build /nix/store/...-foo.drv!dev`.

This is especially useful for ca derivations (because this is the
canonical way of refering to the outputs of ca derivations), but is also
generally useful for consitency − for example it means that
`nix build $(nix-instantiate ./foobar.nix)` will always work − barring
any GC interaction.
@thufschmitt thufschmitt added this to the ca-derivations-mvp milestone Jan 29, 2021
@thufschmitt thufschmitt added ca-derivations Derivations with content addressed outputs feature Feature request or proposal labels Jan 29, 2021
@dpulls
Copy link

dpulls bot commented Feb 5, 2021

🎉 All dependencies have been resolved !

@edolstra
Copy link
Member

edolstra commented Feb 5, 2021

We should document this syntax somewhere. Currently I don't think it is (since it was mostly a hack to get multiple outputs to work between nix-instantiate and nix-build).

@edolstra
Copy link
Member

edolstra commented Feb 5, 2021

@regnat There is a merge conflict now, can you look into that?

@thufschmitt
Copy link
Member Author

thufschmitt commented Feb 23, 2021

Superseded by #4541 #4543

@Ericson2314
Copy link
Member

I think you meant #4543, but either way, thanks.

@thufschmitt
Copy link
Member Author

I think you meant #4543, but either way, thanks.

Yes thanks. Edited the comment to rectify

@thufschmitt thufschmitt deleted the ca/allow-pathWithOutputs-in-cli branch March 1, 2021 12:09
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 feature Feature request or proposal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants