[Nix-dev] overriding a package
Bjørn Forsman
bjorn.forsman at gmail.com
Sat Jan 31 16:20:04 CET 2015
On 31 January 2015 at 16:14, Catonano <catonano at gmail.com> wrote:
>
>
> 2015-01-31 16:10 GMT+01:00 Bjørn Forsman <bjorn.forsman at gmail.com>:
>>
>> On 31 January 2015 at 16:07, Catonano <catonano at gmail.com> wrote:
>>
>> Try pkgs.fetchurl instead.
>>
>> Best regards,
>> Bjørn Forsman
>
>
> error: anonymous function at "/home/me/.nixpkgs/config.nix":1:1 called with
> unexpected argument ‘pkgs’, at
> "/nix/store/i99ncvcy3p4awz7b0m35gcknkizzrpag-nixpkgs-15.05pre55083.597373b/nixpkgs/pkgs/top-level/all-packages.nix":67:14
I don't think you placed the "pkgs.fetchurl" where I meant. In the
code you pasted, there was only one "fetchurl". Replace that one with
"pkgs.fetchurl" (without the quotes).
- Bjørn
More information about the nix-dev
mailing list