pkgs/os-specific: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-17 23:26:08 +07:00
parent 979e6e67d3
commit 16d91ee628
212 changed files with 597 additions and 599 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, python3
{ lib, stdenv, fetchFromGitHub, python3
, libsepol, libselinux, checkpolicy
, withGraphics ? false
}:
with stdenv.lib;
with lib;
with python3.pkgs;
buildPythonApplication rec {
@@ -30,7 +30,7 @@ buildPythonApplication rec {
setupPyBuildFlags = [ "-i" ];
preBuild = ''
export SEPOL="${stdenv.lib.getLib libsepol}/lib/libsepol.a"
export SEPOL="${lib.getLib libsepol}/lib/libsepol.a"
'';
meta = {