cachix: move to by-name, build without docs (#466253)

This commit is contained in:
Wolfgang Walther
2025-12-04 11:08:21 +00:00
committed by GitHub
2 changed files with 13 additions and 6 deletions
+13
View File
@@ -0,0 +1,13 @@
{
lib,
haskell,
haskellPackages,
}:
let
inherit (haskell.lib) compose;
in
lib.pipe haskellPackages.cachix [
compose.justStaticExecutables
(compose.overrideCabal { mainProgram = "cachix"; })
lib.getBin
]
-6
View File
@@ -6910,12 +6910,6 @@ with pkgs;
c-blosc2
;
cachix = (lib.getBin haskellPackages.cachix).overrideAttrs (old: {
meta = (old.meta or { }) // {
mainProgram = old.meta.mainProgram or "cachix";
};
});
niv = lib.getBin (haskell.lib.compose.justStaticExecutables haskellPackages.niv);
ormolu = lib.getBin (haskell.lib.compose.justStaticExecutables haskellPackages.ormolu);