haskell.nix/overlays/nix-prefetch-git-minimal.nix
Hamish Mackenzie 15fc6b3774
Add ghc 8.10.1 (#541)
* ghc 8.10
* Adds/Updates/Removes materialization files
* Disable one-shot-kqueue-on-macos patch on ghc-8.10
* Test ghc883 and ghc8101 but only with nix 20.03
* Various smaller fixes.

This should fix the infinite recursion issue with #654

Co-authored-by: Lennart Spitzner <hexagoxel@hexagoxel.de>
2020-06-07 11:05:44 +08:00

17 lines
581 B
Nix

final: prev: {
# This can reduce closure size of nix-tools:
# * Eliminates dependency on python3 (70MB)
# * Allows sharing with `fetchgit` as it also uses `gitMinimal` (50MB)
inherit (final.callPackages (final.path + "/pkgs/tools/package-management/nix-prefetch-scripts") {
git = final.gitMinimal;
}) nix-prefetch-git;
# Find uses of the non minimal git package by uncommenting this:
# git = prev.intentional-error-here;
# gitMinimal = final.gitAndTools.git.override {
# withManual = false;
# pythonSupport = false;
# withpcre2 = false;
# };
}