Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created August 17, 2019 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/d386271d1c0e97dada9aab91ca219950 to your computer and use it in GitHub Desktop.
Save cleverca22/d386271d1c0e97dada9aab91ca219950 to your computer and use it in GitHub Desktop.
{ pkgs ? import ./nix/nixpkgs.nix {} }:
with pkgs;
haskellPackages.extend (self: super: {
polysemy = self.callHackageDirect {
pkg = "polysemy";
ver = "1.1.0.0";
sha256 = "1krbhfs6sr9m6nxhs9ygkblwd85w234hll5g7ndzhdwy5pfbyfvm";
} {};
type-errors-pretty = self.callHackageDirect {
pkg = "type-errors-pretty";
ver = "0.0.0.0";
sha256 = "1krbhfs6sr9m6nxhs9ygkblwd85w234hll5g7ndzhdwy5pfbyfva";
} {};
yourThing = self.callCabal2nix ./. {};
})
(import ./. {}).yourThing.env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment