[Nix-dev] Create repository

Vladimír Čunát vcunat at gmail.com
Tue Jan 29 11:20:35 CET 2013


On 01/29/2013 11:16 AM, Вячеслав Хахалкин wrote:
> Hello again, I'm doing
>
> nix-build
> /root/my_build/nixpkgs-1.0pre23616_615b1d4/pkgs/applications/misc/hello/ex-2/
> -A hello
>
> where default.nix has this code => https://gist.github.com/4663196
>
> and get this error:
>
> error: cannot auto-call a function that has an argument without a
> default value (`stdenv')

I believe you want to run:
nix-build /root/my_build/nixpkgs-1.0pre23616_615b1d4 -A hello

The reason is that the hello expression needs its parameters (stdenv, 
etc.). Those are provided by the top-level expression.

Vlada

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130129/8ede2cc6/attachment-0001.bin 


More information about the nix-dev mailing list