~jack/misc

ref: 6ed6482e8ce0cbe588dd9e09fa424339f50caf0d misc/metscrape2/default.nix -rw-r--r-- 379 bytes
6ed6482eJack Kelly ergodox: add bind for `<@>`, remove bind for `RaaP.` 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ nixpkgs ? import ../nix/nixpkgs.nix
, 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;
in
  variant (haskellPackages.callPackage ./metscrape.nix {})