6 inherit (self) callPackage makeWrapper stdenv nix nix-prefetch-scripts;
8 stackage2nix = if drv == null
10 self.haskell.lib.disableSharedExecutables
11 (import ./stackage-packages.nix { nixpkgs = self; }).stackage2nix
15 lib = callPackage ./lib.nix { inherit cacheVersion; };
17in stdenv.mkDerivation rec {
18 name = "stackage2nix-${version}";
19 version = stackage2nix.version;
20 phases = [ "installPhase" "fixupPhase" ];
21 buildInputs = [ makeWrapper ];
25 makeWrapper ${stackage2nix}/bin/stackage2nix $out/bin/stackage2nix \
26 --add-flags "--all-cabal-hashes ${lib.all-cabal-hashes}" \
27 --add-flags "--lts-haskell ${lib.stackage-lts}" \
28 --add-flags "--hackage-db ${lib.hackage-db}/01-index.tar" \
29 --prefix PATH ":" "${nix}/bin" \
30 --prefix PATH ":" "${nix-prefetch-scripts}/bin"
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