Skip to content

Instantly share code, notes, and snippets.

@chloekek
Created May 19, 2021 17:02
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 chloekek/6b385bad691b57f2d4f399bb86e2f632 to your computer and use it in GitHub Desktop.
Save chloekek/6b385bad691b57f2d4f399bb86e2f632 to your computer and use it in GitHub Desktop.
let
nixpkgs = import <nixpkgs> {};
haskellPackages = p: [
p.base
];
ghcWithPackages = nixpkgs.ghc.withPackages haskellPackages;
in
nixpkgs.mkShell {
nativeBuildInputs = [
ghcWithPackages
nixpkgs.cabal-install
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment