Merge pull request #96900 from danieldk/zotero-impurity

zotero: fix reliance on coreutils being in PATH
This commit is contained in:
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

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";