[Nix-dev] Treating emacs24-nox as an alternative to emacs

Mathijs Kwik mathijs at bluescreen303.nl
Sun Sep 1 22:54:46 CEST 2013


Danie Roux <lists at danieroux.com> writes:

> Hi all,
>
> How do I mark/alternative/indicate that emacs24-nox=emacs for any
> package that requires emacs?
>
> This for example still wants to fetch all of X:
>
> nix-env --dry-run -iA nixpkgs.emacs24-nox nixpkgs.mu
>
> mu has a dependency on emacs and I don't know how to make it believe
> that emacs24-nox satisfies that dependency.

You should probably use packageOverrides, see the nixpkgs.config option
in the configuration.nix manpage.

Or use it locally (in your user profile) as explained here:
http://nixos.org/wiki/Howto_keep_multiple_packages_up_to_date_at_once 


>
> Thanks,
>
> --
> Danie Roux
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list