Skip to content

Instantly share code, notes, and snippets.

@alebon
Created January 20, 2021 22:56
Show Gist options
  • Save alebon/70d4342c1342cb91fc9133960d321dc0 to your computer and use it in GitHub Desktop.
Save alebon/70d4342c1342cb91fc9133960d321dc0 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> { } }:
let
replScript = pkgs.writeScriptBin "repl" ''
ghci
'';
in
pkgs.mkShell {
buildInputs = [
pkgs.haskellPackages.ghc
replScript
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment