From 647667823621fdb61e500dc0407be4bd30a7a899 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 23 Sep 2014 22:43:11 +0200 Subject: [PATCH] git-annex: link this binary statically to improve start-up times and to get rid of some run-time dependencies https://github.com/NixOS/nixpkgs/issues/4239 --- pkgs/top-level/haskell-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 459c5d6e533a..24f9ed0eca43 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -3124,7 +3124,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in escoger = callPackage ../tools/misc/escoger { }; - gitAnnex = callPackage ../applications/version-management/git-and-tools/git-annex {}; + gitAnnex = callPackage ../applications/version-management/git-and-tools/git-annex { + cabal = self.cabal.override { extension = self : super : { enableSharedExecutables = false; }; }; + }; githubBackup = callPackage ../applications/version-management/git-and-tools/github-backup {};