Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Commit

Permalink
shell.nix: add nix for the sake of --pure
Browse files Browse the repository at this point in the history
  • Loading branch information
deepfire committed Jun 8, 2017
1 parent c1d7a10 commit 706a0eb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ mkDerivation {

drv = (pkgs.haskell.lib.addBuildTools
(ghc.callPackage drvf { })
(if intero
then [ pkgs.cabal-install
pkgs.stack
ghc.intero ]
else []));
((if intero
then [ pkgs.cabal-install
pkgs.stack
ghc.intero ]
else [ ]) ++
[ pkgs.nix ]));

in drv.env

0 comments on commit 706a0eb

Please sign in to comment.