diff options
Diffstat (limited to 'pkgs/applications/networking/offrss')
-rw-r--r-- | pkgs/applications/networking/offrss/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/networking/offrss/default.nix b/pkgs/applications/networking/offrss/default.nix index 19de00d7436ea..a6816d042e051 100644 --- a/pkgs/applications/networking/offrss/default.nix +++ b/pkgs/applications/networking/offrss/default.nix @@ -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; }; } |