2 description = "Alternative Haskell Infrastructure for Nixpkgs";
5 # Using the eval-on-build version here as the plan is that
6 # `builtins.currentSystem` will not be supported in flakes.
7 # https://github.com/NixOS/rfcs/pull/49/files#diff-a5a138ca225433534de8d260f225fe31R429
8 overlay = (self.overlays {sourcesOverride = self.sources;}).combined-eval-on-build;
9 overlays = import ./overlays;
10 config = import ./config.nix;
11 # We can't import ./nix/sources.nix directly, because that uses nixpkgs to fetch by default,
12 # and importing nixpkgs without specifying localSystem doesn't work on flakes.
15 builtins.fromJSON (builtins.readFile ./nix/sources.json);
17 builtins.fetchTarball { inherit (sourceInfo) url sha256; };
18 in builtins.mapAttrs (_: fetch) sourcesInfo;
21 inherit (self) config;
22 overlays = [ self.overlay ];
26 builtins.listToAttrs (map (name: {
30 in genAttrs [ "x86_64-linux" "x86_64-darwin" ] (system:
31 import self.sources.nixpkgs
32 (self.nixpkgsArgs // { localSystem = { inherit 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