Skip to content

Instantly share code, notes, and snippets.

@srhb
Created August 27, 2018 20:33
Show Gist options
  • Save srhb/cf5f7b2cafe7b9261d74de12d8113820 to your computer and use it in GitHub Desktop.
Save srhb/cf5f7b2cafe7b9261d74de12d8113820 to your computer and use it in GitHub Desktop.
let
overlay = self: super: {
haskellPackages = with self.haskell.lib; super.haskellPackages.extend (selfHS: superHS: {
purescript = selfHS.callHackage "purescript" "0.12.0" {};
});
};
in
{ nixpkgs ? builtins.fetchTarball {
url = https://releases.nixos.org/nixos/18.03/nixos-18.03.133157.fde20125199/nixexprs.tar.xz;
sha256 = "06rj0v16nk8f75k426h70zwn5g7cscvkb7w83zdsnipc55a7nnmd";
}
, pkgs ? import nixpkgs { overlays = [ overlay ]; }
}:
pkgs.haskellPackages.purescript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment