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 <[email protected]> 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 > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
