3

I'd like to use the new release of ghc (7.10, because of a new feature -- static ptr), and I'm using a single-user nix environment.

I don't find the wanted new release in the published lists at https://nixos.org/nixos/packages.html; e.g., the latest ghc's revision points to https://github.com/NixOS/nixpkgs/blob/release-14.12/pkgs/development/compilers/ghc/head.nix#L37 (it's pre-7.10; but what's the point in using a pre-release, if a stable 7.10 has been released already since then, 2014-12).

But that's the release branch of nixpkgs (release-14.12).

Looking into other branches, I can find nix expressions for newer ghc:

(Both master and staging revisions of ghc/7.10.1.nix are identical.)

How do I install them into my nix environment (perhaps, with re-compilation)?

imz -- Ivan Zakharyaschev
  • 15,113
  • 15
  • 61
  • 123
  • Perhaps, I could simply extract the wanted package from the `master` branch of nixpkgs and add it locally to what is available, like in [How do I create a local repository for NixOS/nixpkgs?](http://unix.stackexchange.com/q/183440/4319) – imz -- Ivan Zakharyaschev Apr 07 '15 at 09:28

0 Answers0