diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/office/mendeley/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/office/mendeley/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/applications/office/mendeley/default.nix b/nixpkgs/pkgs/applications/office/mendeley/default.nix index 192585bd4b5e..b38b7e0e585c 100644 --- a/nixpkgs/pkgs/applications/office/mendeley/default.nix +++ b/nixpkgs/pkgs/applications/office/mendeley/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, mkDerivation, dpkg, which +{ fetchurl, lib, stdenv, mkDerivation, dpkg, which , makeWrapper , alsaLib , desktop-file-utils @@ -114,12 +114,12 @@ mkDerivation { interpreter=$(patchelf --print-interpreter $(readlink -f $(which patchelf))) patchelf --set-interpreter $interpreter \ - --set-rpath ${stdenv.lib.makeLibraryPath deps}:$out/lib \ + --set-rpath ${lib.makeLibraryPath deps}:$out/lib \ $out/bin/mendeleydesktop wrapQtApp $out/bin/mendeleydesktop \ --add-flags "--unix-distro-build" \ - ${stdenv.lib.optionalString autorunLinkHandler # ignore errors installing the link handler + ${lib.optionalString autorunLinkHandler # ignore errors installing the link handler ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop ||:"''} # Remove bundled qt bits @@ -128,7 +128,7 @@ mkDerivation { # Patch up link handler script wrapProgram $out/bin/install-mendeley-link-handler.sh \ - --prefix PATH ':' ${stdenv.lib.makeBinPath [ which gconf desktop-file-utils ] } + --prefix PATH ':' ${lib.makeBinPath [ which gconf desktop-file-utils ] } ''; dontStrip = true; @@ -136,7 +136,7 @@ mkDerivation { updateScript = import ./update.nix { inherit writeScript runtimeShell; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.mendeley.com"; description = "A reference manager and academic social network"; license = licenses.unfree; |