diff options
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/shell.nix b/shell.nix deleted file mode 100644 index 30c2872..0000000 --- a/shell.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ nixpkgs ? import <nixpkgs> {}, compiler ? "default", doBenchmark ? false }: - -let - - inherit (nixpkgs) pkgs; - - haskellPackages = if compiler == "default" - then pkgs.haskellPackages - else pkgs.haskell.packages.${compiler}; - - variant = if doBenchmark then pkgs.haskell.lib.doBenchmark else pkgs.lib.id; - - drv = variant (haskellPackages.callCabal2nix "terminal-scanner" ./. {}); - -in - - pkgs.lib.overrideDerivation drv.env (oldAttrs: { - buildInputs = [ - pkgs.cabal-install - ]; - }) |
