[Nix-dev] Re: nix crashing
Peter Simons
simons at cryp.to
Tue Jul 14 21:54:06 CEST 2009
Hi Bill,
> $ nix-channel --add http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable
> [sudo] password for trost:
> $ nix-channel --update
> ...
> store derivation is /nix/store/4c8q9bn16mm4i0i60641hwrd9sqi4jqp-channels.drv
> $ nix-env -qa '*' | grep irc
> error: undefined variable `gtkLibs', in `/home/trost/.nix-defexpr/channels/nixpkgs_unstable/pkgs/applications/graphics/gimp/plugins/default.nix'
open the file
/home/trost/.nix-defexpr/channels/nixpkgs_unstable/pkgs/top-level/all-packages.nix
in your favorite editor and search for the following line:
gimpPlugins = import ../applications/graphics/gimp/plugins { inherit pkgs gimp; };
Comment that out by adding a '#' in front of it.
Now, run "nix-env -i -A nixUnstable".
Once that command succeeds, edit the file and remove the '#' again.
I hope this helps,
Peter
More information about the nix-dev
mailing list