Remove something from default.nix which doesn't work

This commit is contained in:
John Wiegley 2018-04-05 13:52:13 -07:00
parent b5de74ff38
commit d34131bc49

View file

@ -9,7 +9,6 @@ let
in { nixpkgs ? import pinnedPkgs {}
, compiler ? "ghc822"
, doProfiling ? false
, doBenchmark ? false }:
let
@ -31,11 +30,8 @@ let
};
};
variant =
if doBenchmark
then pkgs.haskell.lib.doBenchmark
else if doProfiling
then pkgs.haskell.lib.doProfiling
else pkgs.lib.id;
variant = if doBenchmark
then pkgs.haskell.lib.doBenchmark
else pkgs.lib.id;
in variant pkg