File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ if type -p lorri; then
2+ echo " direnv: found lorri, using" 1>&2
3+ eval " $( lorri direnv) "
4+ else
5+ echo " direnv: using direnv nix support" 1>&2
6+ use nix;
7+ fi
Original file line number Diff line number Diff line change 1+ { pkgs ? import <nixpkgs> { } } :
2+
3+ let
4+ haskellPackages = pkgs . haskellPackages ;
5+ ghc = haskellPackages . ghcWithHoogle ( hps : [
6+ hps . ansi-wl-pprint
7+ hps . distribution-nixpkgs
8+ hps . hackage-db
9+ hps . hopenssl
10+ hps . hpack
11+ hps . language-nix
12+ hps . lens
13+ hps . optparse-applicative
14+ hps . pretty
15+ hps . split
16+ hps . yaml
17+ hps . monad-par
18+ hps . monad-par-extras
19+ hps . tasty
20+ hps . tasty-golden
21+ ] ) ;
22+
23+ in pkgs . stdenv . mkDerivation {
24+ name = "shell" ;
25+ buildInputs = [
26+ ghc
27+ haskellPackages . cabal-install
28+ haskellPackages . haskell-language-server
29+ ( pkgs . lib . getLib pkgs . openssl )
30+ ] ;
31+ }
You can’t perform that action at this time.
0 commit comments