[Nix-dev] Bundling nix-expressions with source code

Shea Levy shea at shealevy.com
Mon Jan 28 16:19:29 CET 2013


On 01/28/2013 10:14 AM, Eelco Dolstra wrote:
> Hi,
>
> On 28/01/13 14:12, Ludovic Courtès wrote:
>
>> In principle there could be just one expression in Nixpkgs, and the
>> package’s release.nix would just use ‘overrideDerivation’ to change the
>> ‘src’ attribute of that expression to point to the result of the
>> ‘tarball’ job.
> That would kind of work, but it's nicer to keep the expression in the same
> repository as the source of the package.  That way they're always consistent.
>

If only someone would extend nix to be able to query partial information 
about packages that would require building derivations to get full 
information ;)


More information about the nix-dev mailing list