Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Last active November 9, 2017 02:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/60c46368afb999c16224fc17af5c538d to your computer and use it in GitHub Desktop.
Save cleverca22/60c46368afb999c16224fc17af5c538d to your computer and use it in GitHub Desktop.
rec {
newpkgs = import ./. { config = {}; };
oldpkgs = import /home/clever/nixpkgs { config = {}; };
haskellLib = import ./pkgs/development/haskell-modules/lib.nix {
inherit (newpkgs) lib;
pkgs = newpkgs;
};
haskellPackages = newpkgs.callPackage ./pkgs/development/haskell-modules {
ghc = oldpkgs.ghc;
compilerConfig = newpkgs.callPackage ./pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix { inherit haskellLib; };
inherit haskellLib;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment