about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/cachix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/cachix/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/cachix/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/tools/cachix/default.nix b/nixpkgs/pkgs/development/tools/cachix/default.nix
index a127fb137f67..3a6380698af0 100644
--- a/nixpkgs/pkgs/development/tools/cachix/default.nix
+++ b/nixpkgs/pkgs/development/tools/cachix/default.nix
@@ -1,3 +1,8 @@
 { haskellPackages, haskell }:
 
-(haskell.lib.doDistribute haskellPackages.cachix).bin
+(haskellPackages.override {
+  overrides = self: super: {
+    cachix = haskell.lib.enableSeparateBinOutput (haskell.lib.doDistribute (self.cachix_0_2_1 or self.cachix));
+    cachix-api = self.cachix-api_0_2_1 or self.cachix-api;
+  };
+}).cachix.bin