diff options
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | default.nix | 4 | ||||
-rw-r--r-- | shell.nix | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 5b29d56..dd99ef4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,3 @@ -sudo: true # runs the build without docker - language: nix # automatically runs nix-build git: diff --git a/default.nix b/default.nix index 69de51c..2d64523 100644 --- a/default.nix +++ b/default.nix @@ -8,5 +8,7 @@ let tasty-hedgehog = haskellPackagesNew.callPackage ./nix/tasty-hedgehog.nix {}; }; }; + variant = if doBenchmark then nixpkgs.pkgs.haskell.lib.doBenchmark else nixpkgs.pkgs.lib.id; + verifuzz = haskellPackages.callCabal2nix "verifuzz" (./.) {}; in - haskellPackages.callCabal2nix "verifuzz" (./.) {} + variant verifuzz @@ -1 +1 @@ -(import ./. {}).env +( import ./. { doBenchmark = true; } ).env |