Skip to content

Instantly share code, notes, and snippets.

@srhb
Created February 8, 2019 00:54
Show Gist options
  • Save srhb/2f0cc71020441cc19df644ede73f3d8d to your computer and use it in GitHub Desktop.
Save srhb/2f0cc71020441cc19df644ede73f3d8d to your computer and use it in GitHub Desktop.
let
overlay = self: super: {
z3 = super.z3.overrideAttrs (oa: {
src = self.fetchFromGitHub {
owner = "Z3Prover";
repo = "z3";
rev = "z3-4.7.1";
sha256 = "1s850r6qifwl83zzgvrb5l0jigvmymzpv18ph71hg2bcpk7kjw3d";
};
});
};
in
{ pkgs ? import <nixpkgs> { overlays = [ overlay ]; } }:
pkgs.mkShell {
buildInputs = [
(pkgs.haskell.packages.ghc844.ghcWithPackages (ps: with ps; [ z3 ] ))
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment