1{ lib, config, pkgs, ... }:
4 # it also crucially depends on system, and compiler, both of which need to be resolved to the
5 # current system being targeted.
6 hostMap = import ../lib/host-map.nix pkgs.stdenv;
7 cabal = import ../lib/cabal-os-arch-comp.nix;
9 compiler = cabal.compiler // {
11 # this is partially a hack to support `impl(ghcjs)`.
12 # We set GHC == true _and_ GHCJS == true.
13 isGhcjs = hostMap.os == "Ghcjs";
14 # maybe we need something for asterius here
16 version = lib.mapAttrs (_: f: v: f (builtins.compareVersions config.compiler.version v)) {
24 system = cabal.os // { "is${hostMap.os}" = true; }
25 // cabal.arch // { "is${hostMap.arch}" = true; };
28 options.cabal.compiler = lib.mkOption {
29 type = lib.types.unspecified;
31 options.cabal.system = lib.mkOption {
32 type = lib.types.unspecified;
34 config.cabal = { inherit compiler system; };
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list