1# Stackage packages accept `overrides` like Nixpkgs `haskellPackages`
4 _pkgs = import <nixpkgs> {};
5 _stackageOverlay = _pkgs.fetchFromGitHub (_pkgs.lib.importJSON ./nixpkgs-stackage.json);
6 nixpkgs = import <nixpkgs> {
7 overlays = [ (import _stackageOverlay) ];
9 inherit (nixpkgs) pkgs lib haskell;
11 stackage2nixSrc = pkgs.fetchFromGitHub (lib.importJSON ./stackage2nix.json);
13 stackagePackages = haskell.packages.stackage.lib.callStackage2nix "stackage2nix" stackage2nixSrc { inherit nixpkgs; };
14 stackage = stackagePackages.override {
15 overrides = self: super: {
16 stackage2nix = haskell.lib.disableSharedExecutables super.stackage2nix;
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