summary refs log tree commit diff
path: root/pkgs/applications/networking/offrss/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/offrss/default.nix')
-rw-r--r--pkgs/applications/networking/offrss/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/networking/offrss/default.nix b/pkgs/applications/networking/offrss/default.nix
index 03159a61a40..a6816d042e0 100644
--- a/pkgs/applications/networking/offrss/default.nix
+++ b/pkgs/applications/networking/offrss/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, curl, libmrss, podofo, libiconv }:
+{ lib, stdenv, fetchurl, curl, libmrss, podofo, libiconv }:
 
 stdenv.mkDerivation {
   name = "offrss-1.3";
@@ -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
   '';
 
@@ -26,11 +26,11 @@ stdenv.mkDerivation {
     sha256 = "1akw1x84jj2m9z60cvlvmz21qwlaywmw18pl7lgp3bj5nw6250p6";
   };
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     homepage = "http://vicerveza.homeunix.net/~viric/cgi-bin/offrss";
     description = "Offline RSS/Atom reader";
     license = licenses.agpl3Plus;
     maintainers = with maintainers; [ viric ];
-    platforms = stdenv.lib.platforms.linux;
+    platforms = lib.platforms.linux;
   };
 }