pkgs/applications: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 14:24:03 +07:00
parent 2e34288f0d
commit 108bdac3d9
427 changed files with 1160 additions and 1154 deletions
@@ -9,15 +9,15 @@ stdenv.mkDerivation {
'';
buildInputs = [ curl libmrss ]
++ stdenv.lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) podofo
++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) podofo
++ lib.optional (!stdenv.isLinux) libiconv;
configurePhase = ''
substituteInPlace Makefile \
--replace '$(CC) $(CFLAGS) $(LDFLAGS)' '$(CXX) $(CFLAGS) $(LDFLAGS)'
'' + stdenv.lib.optionalString (!stdenv.isLinux) ''
'' + lib.optionalString (!stdenv.isLinux) ''
sed 's/#EXTRA/EXTRA/' -i Makefile
'' + stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
'' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
sed 's/^PDF/#PDF/' -i Makefile
'';
@@ -31,6 +31,6 @@ stdenv.mkDerivation {
description = "Offline RSS/Atom reader";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ viric ];
platforms = stdenv.lib.platforms.linux;
platforms = lib.platforms.linux;
};
}