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
@@ -1,9 +1,9 @@
{ stdenv, fetchurl, python3
{ lib, stdenv, fetchurl, python3
, libselinux, libsemanage, libsepol, setools }:
# this is python3 only because setools only supports python3
with stdenv.lib;
with lib;
with python3.pkgs;
stdenv.mkDerivation rec {
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
"BASHCOMPLETIONDIR=$(out)/share/bash-completion/completions"
"PYTHON=python"
"PYTHONLIBDIR=$(out)/${python.sitePackages}"
"LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a"
"LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a"
];