Skip to content

Instantly share code, notes, and snippets.

@dhess
Last active January 16, 2018 09:51
Show Gist options
  • Select an option

  • Save dhess/a1216c390e07d2f45c6b30c68eb431a0 to your computer and use it in GitHub Desktop.

Select an option

Save dhess/a1216c390e07d2f45c6b30c68eb431a0 to your computer and use it in GitHub Desktop.
self: super:
let
inherit (super) buildEnv;
inherit (self) haskell;
in
{
foo-env = buildEnv {
name = "foo-env";
paths = with self.haskellPackages; [
(ghcWithPackages (hp: with hp; []))
cabal-install
] ++ [
cabal2nix
];
meta.platforms = self.haskellPackages.ghc.meta.platforms;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment