Skip to content

Instantly share code, notes, and snippets.

@dysinger
Last active August 29, 2015 14:12
Show Gist options
  • Select an option

  • Save dysinger/531a72b176f9b18427a3 to your computer and use it in GitHub Desktop.

Select an option

Save dysinger/531a72b176f9b18427a3 to your computer and use it in GitHub Desktop.
Bleeding edge binaries of ghcjs & ghc 7.8.4 && cabal-install 1.22 for Nixos
  1. update your /etc/nixos/configuration.nix

    nix.trustedBinaryCaches = [ "https://hydra.nixos.org/" ];

  2. nixos-rebuild (updates /etc/nix/nix.conf)

    nixos-rebuild switch

  3. install ghc/ghcjs/cabal-install

    nix-install-package --non-interactive --url https://hydra.nixos.org/build/18409917/nix/pkg/cabal-install-1.22.0.0-x86_64-linux.nixpkg nix-install-package --non-interactive --url https://hydra.nixos.org/build/18401345/nix/pkg/ghcjs-ghc7.8.4-0.1.0-wrapper-x86_64-linux.nixpkg nix-install-package --non-interactive --url https://hydra.nixos.org/build/18412016/nix/pkg/ghc-7.8.4-wrapper-x86_64-linux.nixpkg

@lucabrunox

Copy link
Copy Markdown

For future reference, note that this can be outdated as soon as hydra evaluates new nixpkgs commits and older contents gets garbage collected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment