cachix: build without docs

This commit is contained in:
Acid Bong
2025-11-29 14:39:11 +02:00
parent cb13c5c735
commit 31c21ec53d
+9 -5
View File
@@ -1,9 +1,13 @@
{
lib,
haskell,
haskellPackages,
}:
(lib.getBin haskellPackages.cachix).overrideAttrs (old: {
meta = (old.meta or { }) // {
mainProgram = old.meta.mainProgram or "cachix";
};
})
let
inherit (haskell.lib) compose;
in
lib.pipe haskellPackages.cachix [
compose.justStaticExecutables
(compose.overrideCabal { mainProgram = "cachix"; })
lib.getBin
]