Guest User

Untitled

a guest
Jan 16th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. # This defines a function taking `pkgs` as parameter, and uses
  2. # `nixpkgs` by default if no argument is passed to it.
  3. { pkgs ? import <nixpkgs> {} }:
  4. # This avoids typing `pkgs.` before each package name.
  5. with pkgs;
  6. # Defines a shell.
  7. mkShell {
  8. # Sets the build inputs, i.e. what will be available in our
  9. # local environment.
  10. buildInputs = [ haskell.compiler.ghc863 zlib ];
  11. }
Add Comment
Please, Sign In to add comment