Created
October 2, 2017 11:13
-
-
Save mpickering/002fbdd0db02dee43c2af35e5cfb0c91 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc821" }: | |
let | |
# compare-ticky = nixpkgs.callPackage ./nofib/compare-ticky.nix {} ; | |
hp = nixpkgs.haskell.packages.ghc821.override { | |
overrides = self: super: { | |
Cabal = self.callPackage ./Cabal.nix {}; | |
cabal-install = self.callPackage ./cabal-install.nix {}; | |
};}; | |
in | |
nixpkgs.stdenv.mkDerivation { | |
name = "env"; | |
buildInputs = | |
nixpkgs.haskell.compiler.ghcHEAD.buildInputs | |
++ [ nixpkgs.perl nixpkgs.ag nixpkgs.haskell.compiler.ghc821 #compare-ticky | |
nixpkgs.haskell.compiler.ghc7103 | |
nixpkgs.haskell.compiler.ghc784 | |
# nixpkgs.cabal-install | |
hp.cabal-install | |
nixpkgs.dnsutils | |
] ; | |
shellHook ='' | |
alias ghc=/root/ghc/inplace/bin/ghc-stage2 | |
./head.hackage.sh update | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment