summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-12-17 11:51:07 -0800
committerJohn Wiegley <johnw@newartisans.com>2015-12-17 11:52:11 -0800
commitd879a242cd747c1cee86f9f651b34409aabbfd73 (patch)
treecb3acce634f501f2a442f63391079df68305b822 /pkgs/development/haskell-modules/configuration-common.nix
parentc634e5cd24f1d131535888f2c8c154ed4121bbf4 (diff)
downloadnixlib-d879a242cd747c1cee86f9f651b34409aabbfd73.tar
nixlib-d879a242cd747c1cee86f9f651b34409aabbfd73.tar.gz
nixlib-d879a242cd747c1cee86f9f651b34409aabbfd73.tar.bz2
nixlib-d879a242cd747c1cee86f9f651b34409aabbfd73.tar.lz
nixlib-d879a242cd747c1cee86f9f651b34409aabbfd73.tar.xz
nixlib-d879a242cd747c1cee86f9f651b34409aabbfd73.tar.zst
nixlib-d879a242cd747c1cee86f9f651b34409aabbfd73.zip
haskellPackages.git-annex: Do not build lsof on Darwin
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index f7fe236da350..dbfd7850c370 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -66,11 +66,13 @@ self: super: {
   # build which has the assistant to be used in the top-level.
   git-annex_5_20150727 = (disableCabalFlag super.git-annex_5_20150727 "assistant").override {
     dbus = if pkgs.stdenv.isLinux then self.dbus else null;
+    lsof = if pkgs.stdenv.isLinux then pkgs.lsof else null;
     fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null;
     hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify;
   };
   git-annex = (disableCabalFlag super.git-annex "assistant").override {
     dbus = if pkgs.stdenv.isLinux then self.dbus else null;
+    lsof = if pkgs.stdenv.isLinux then pkgs.lsof else null;
     fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null;
     hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify;
   };