3 inherit (import ./nixpkgs/default.nix) nixpkgs-1903 nixpkgs-1909 nixpkgs-default;
6 config = import ./config.nix;
7 overlays = import ./overlays;
8 nixpkgsArgs = { inherit overlays config; };
11 haskellNixV1 = haskellNix.nixpkgsArgs;
12 haskellNixV2 = haskellNix;
14 v1DeprecationMessage = "Version 1 is deprecated: use version 2 (nixpkgs arguments are available as the `nixpkgsArgs` attribute of version 2)";
15# If no arguments, then you get V1
16# I'd like to make importing directly issue a warning, but I couldn't figure out a way to make it happen
18 __functor = _: { version ? 2 }:
20 then builtins.trace v1DeprecationMessage haskellNixV1
23 else builtins.throw ("haskell.nix: unknown version: " + (builtins.toString version));
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