pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python, xorg, makeWrapper }:
{ lib, stdenv, fetchFromGitHub, python, xorg, makeWrapper }:
stdenv.mkDerivation rec {
pname = "disper";
@@ -21,14 +21,14 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/disper \
--prefix "LD_LIBRARY_PATH" : "${stdenv.lib.makeLibraryPath [ xorg.libXrandr xorg.libX11 ]}"
--prefix "LD_LIBRARY_PATH" : "${lib.makeLibraryPath [ xorg.libXrandr xorg.libX11 ]}"
'';
meta = {
description = "On-the-fly display switch utility";
homepage = "http://willem.engen.nl/projects/disper/";
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl3;
platforms = lib.platforms.unix;
license = lib.licenses.gpl3;
};
}