Skip to content

Instantly share code, notes, and snippets.

@srhb
Created November 26, 2018 18:26
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 srhb/df899409df6759fa3b512b341e4683e3 to your computer and use it in GitHub Desktop.
Save srhb/df899409df6759fa3b512b341e4683e3 to your computer and use it in GitHub Desktop.
{
nixpkgs ? (import <nixpkgs> {}).fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "2c2ab68672a34e7c226ff0c5ecf4d2e063ac5705";
sha256 = "00rsmyhq50c44ayiwcaz8ck2043lrywyj9mj4cad8aw8f3l6yq6x";
},
compiler ? "ghc822"
}:
let
pkgs = import nixpkgs { config = {}; };
in
pkgs.haskell.packages.${compiler}.callPackage ./analyser.nix { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment