pkgs/applications: stdenv.lib -> lib
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user