[Nix-dev] extension error?
Charles Strahan
charles.c.strahan at gmail.com
Mon Dec 29 07:22:38 CET 2014
Hi Tim,
It looks like you're using the latest from the stabe 14.04 release, which
doesn't support the `extension` argument:
https://github.com/NixOS/nixpkgs/blob/release-14.04/pkgs/top-level/haskell-defaults.nix#L230-237
Compare that to master:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/haskell-defaults.nix#L148-155
You can see your current channel running:
sudo nix-channel --list
I would suggest updating your nixos channel to nixos-14.12 or
nixos-unstable:
sudo nix-channel --remove nixos
sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos
# ...or...
sudo nix-channel --add https://nixos.org/channels/nixpkgs-14.12 nixos
(The above commands are assuming that you're using NixOS, as opposed to
using Nix standalone.)
Let me know if that helps!
-Charles
On Mon, Dec 29, 2014 at 12:48 AM, Tim Sears <tim at timsears.com> wrote:
> Was trying this example at
> http://wiki.ocharles.org.uk/Nix#how-do-i-use-cabal2nix-for-local-projects
> and I when I enter nix-shell I an error
>
> $ nix-shell
> error: anonymous function at
> /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/haskell-defaults.nix:230:5
> called with unexpected argument `extension', at
> /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/customisation.nix:58
>
> Anybody seen this error or have any insight to share?
>
> Thanks,
> Tim
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141229/e6beba26/attachment-0001.html
More information about the nix-dev
mailing list