[Nix-dev] Including binary-only derivation in nixops deploy.

Kevin Cox kevincox at kevincox.ca
Fri Feb 12 13:27:44 CET 2016


On Feb 12, 2016 6:54 AM, "Oliver Charles" <ollie at ocharles.org.uk> wrote:
>
> If you're saying you want to install something knowing only the Nix store
path, you can do:
>
> { type = "derivation";
>   name = "whatever";
>   outputName = "out";
>   outPath = builtins.storePath "/nix/store/deadbeefdeadbeef"; }
>
> This will attempt to lookup the given store path in binary substitution
servers, and will fail if it can't be found (as Nix has no other way to
provide that output).
>
> Does that help?
>

Thanks Oliver, that's exactly what I was looking for.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160212/a6de5c44/attachment.html 


More information about the nix-dev mailing list