treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-16 17:58:11 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
'';
preFixup = let
libPath = stdenv.lib.makeLibraryPath [
libPath = lib.makeLibraryPath [
stdenv.cc.cc.lib
alsaLib
glib
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
libGLU libGL
xorg.libX11
];
in stdenv.lib.optionalString (!stdenv.isDarwin) ''
in lib.optionalString (!stdenv.isDarwin) ''
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${libPath}" \