Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cachix: use separate bin output to prove it's useful
Spares compilation time by not compiling the package twice. (cherry picked from commit b06201b) Signed-off-by: Domen Kožar <domen@dev.si>
- Loading branch information
1 parent
b19ae16
commit 72ad1eb
Showing
3 changed files
with
4 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
{ haskellPackages, haskell }: | ||
|
||
(haskellPackages.override { | ||
overrides = self: super: { | ||
cachix = haskell.lib.justStaticExecutables (super.callPackage ./cachix.nix {}); | ||
cachix-api = super.callPackage ./cachix-api.nix {}; | ||
}; | ||
}).cachix | ||
(haskell.lib.doDistribute haskellPackages.cachix).bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters