about summary refs log tree commit diff
path: root/pkgs/applications/misc/electrum/ltc.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/electrum/ltc.nix')
-rw-r--r--pkgs/applications/misc/electrum/ltc.nix26
1 files changed, 1 insertions, 25 deletions
diff --git a/pkgs/applications/misc/electrum/ltc.nix b/pkgs/applications/misc/electrum/ltc.nix
index c9332be230946..5029581ac85d3 100644
--- a/pkgs/applications/misc/electrum/ltc.nix
+++ b/pkgs/applications/misc/electrum/ltc.nix
@@ -7,16 +7,6 @@
 , zbar
 , secp256k1
 , enableQt ? true
-# for updater.nix
-, writeScript
-, common-updater-scripts
-, bash
-, coreutils
-, curl
-, gnugrep
-, gnupg
-, gnused
-, nix
 }:
 
 let
@@ -29,6 +19,7 @@ let
 
   libzbar_name =
     if stdenv.isLinux then "libzbar.so.0"
+    else if stdenv.isDarwin then "libzbar.0.dylib"
     else "libzbar${stdenv.hostPlatform.extensions.sharedLibrary}";
 
   # Not provided in official source releases, which are what upstream signs.
@@ -131,21 +122,6 @@ python3.pkgs.buildPythonApplication {
     $out/bin/electrum-ltc help >/dev/null
   '';
 
-  passthru.updateScript = import ./update.nix {
-    inherit lib;
-    inherit
-      writeScript
-      common-updater-scripts
-      bash
-      coreutils
-      curl
-      gnupg
-      gnugrep
-      gnused
-      nix
-    ;
-  };
-
   meta = with lib; {
     description = "Lightweight Litecoin Client";
     longDescription = ''