Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. { nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7103" }:
  2. let
  3. inherit (nixpkgs) pkgs;
  4. ghc = (pkgs.haskell.packages.${compiler}.override {
  5. overrides = self: super: {
  6. gtk = super.gtk_0_13_9;
  7. };
  8. }).ghcWithPackages (ps: with ps; [
  9. poppler
  10. ]);
  11. in
  12. pkgs.stdenv.mkDerivation {
  13. name = "my-haskell-env-0";
  14. buildInputs = [ ghc ];
  15. shellHook = "eval $(egrep ^export ${ghc}/bin/ghc)";
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement