Skip to content

Instantly share code, notes, and snippets.

@asymmetric
Last active November 26, 2018 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save asymmetric/ebbb6b2f8498ae12f8edae24579f78e7 to your computer and use it in GitHub Desktop.
Save asymmetric/ebbb6b2f8498ae12f8edae24579f78e7 to your computer and use it in GitHub Desktop.
foo.nix
{
nixpkgs ? (import ((import <nixpkgs> {}).fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "2c2ab68672a34e7c226ff0c5ecf4d2e063ac5705";
sha256 = "00rsmyhq50c44ayiwcaz8ck2043lrywyj9mj4cad8aw8f3l6yq6x";
}) { config = {}; }),
compiler ? "ghc822"
}:
nixpkgs.haskell.packages.${compiler}.callPackage ./analyser.nix { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment