Skip to content

Instantly share code, notes, and snippets.

@Lipranu
Created January 19, 2021 17:58
Show Gist options
  • Save Lipranu/19866c4bd262e81c6e6ab659e47ea214 to your computer and use it in GitHub Desktop.
Save Lipranu/19866c4bd262e81c6e6ab659e47ea214 to your computer and use it in GitHub Desktop.
nix shell with ghc 9.0.1
let pkgs = import (fetchTarball path) {};
path = https://github.com/NixOS/nixpkgs/archive/master.tar.gz;
in with pkgs;
mkShell {
buildInputs = [
haskell.compiler.ghc901
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment