about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-12-02 01:23:39 +0100
committerGitHub <noreply@github.com>2018-12-02 01:23:39 +0100
commit4920f0c0adebf632345d90fe134e1cde265f21f5 (patch)
tree78942095b7a910e90af6e240ed179442872a23db /pkgs/applications/office
parent8a5c9882cbf0e126e83f63a6f16ab8f3d640269b (diff)
parent30f090ff7b3bc35dc36ae2d47ff96a022af5f25d (diff)
downloadnixlib-4920f0c0adebf632345d90fe134e1cde265f21f5.tar
nixlib-4920f0c0adebf632345d90fe134e1cde265f21f5.tar.gz
nixlib-4920f0c0adebf632345d90fe134e1cde265f21f5.tar.bz2
nixlib-4920f0c0adebf632345d90fe134e1cde265f21f5.tar.lz
nixlib-4920f0c0adebf632345d90fe134e1cde265f21f5.tar.xz
nixlib-4920f0c0adebf632345d90fe134e1cde265f21f5.tar.zst
nixlib-4920f0c0adebf632345d90fe134e1cde265f21f5.zip
Merge pull request #50977 from jtojnar/parallel-update.nix
 update.nix: Run update scripts in parallel
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/mendeley/default.nix2
-rw-r--r--pkgs/applications/office/mendeley/update.nix3
2 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/office/mendeley/default.nix b/pkgs/applications/office/mendeley/default.nix
index 5b6271db83bd..aa9317d2ffd6 100644
--- a/pkgs/applications/office/mendeley/default.nix
+++ b/pkgs/applications/office/mendeley/default.nix
@@ -131,7 +131,7 @@ stdenv.mkDerivation {
   dontStrip = true;
   dontPatchElf = true;
 
-  updateScript = import ./update.nix { inherit writeScript; };
+  updateScript = import ./update.nix { inherit stdenv writeScript; };
 
   meta = with stdenv.lib; {
     homepage = http://www.mendeley.com;
diff --git a/pkgs/applications/office/mendeley/update.nix b/pkgs/applications/office/mendeley/update.nix
index cb9ee02702dd..147c95b8e7bd 100644
--- a/pkgs/applications/office/mendeley/update.nix
+++ b/pkgs/applications/office/mendeley/update.nix
@@ -1,6 +1,7 @@
-{ writeScript }:
+{ stdenv, writeScript }:
 
 writeScript "update-mendeley" ''
+  #!${stdenv.shell}
   function follow() {
     local URL=$1
     while true; do