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
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, gtk2, fontconfig, freetype, imlib2
{ lib, stdenv, fetchFromGitHub, pkgconfig, gtk2, fontconfig, freetype, imlib2
, SDL_image, libGLU, libGL, libXmu, freeglut, pcre, dbus, dbus-glib, glib
, librsvg, freeimage, libxslt, cairo, gdk-pixbuf, pango
, atk, patchelf, fetchurl, bzip2, python, gettext, quesoglc
@@ -15,7 +15,7 @@
assert speechdSupport -> speechd != null;
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {
pname = "navit";
version = "0.5.3";
@@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
'';
# TODO: fix upstream?
libPath = stdenv.lib.makeLibraryPath ([ stdenv.cc.libc ] ++ buildInputs );
libPath = lib.makeLibraryPath ([ stdenv.cc.libc ] ++ buildInputs );
postFixup =
''
find "$out/lib" -type f -name "*.so" -exec patchelf --set-rpath $libPath {} \;