Merge pull request #96900 from danieldk/zotero-impurity

zotero: fix reliance on coreutils being in PATH
gstqt5
Daniël de Kok 2020-09-03 20:42:51 +02:00 committed by GitHub
commit 17d334e05c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{ stdenv, fetchurl, wrapGAppsHook, makeDesktopItem
, atk
, cairo
, coreutils
, curl
, cups
, dbus-glib
@ -131,6 +132,12 @@ stdenv.mkDerivation rec {
"$out/usr/lib/zotero-bin-${version}/{}" \;
'';
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : ${stdenv.lib.makeBinPath [ coreutils ]}
)
'';
meta = with stdenv.lib; {
homepage = "https://www.zotero.org";
description = "Collect, organize, cite, and share your research sources";