cleverca22
5/17/2017 - 5:36 AM

example.nix

with import <nixpkgs>{}; runCommand "shell" { buildInputs = [
(haskellPackages.ghcWithHoogle (h: with h; [
      diagrams
      diagrams-gtk
      lens
      io-memoize
      haskeline
      pointfree
      xmonad
      xmonad-contrib
      xmonad-extras
      happy
      alex
      gloss
      matrix
    ]))
]; } "exit 1"