pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitLab, pkg-config, meson, ninja
|
||||
{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja
|
||||
, libevdev, mtdev, udev, libwacom
|
||||
, documentationSupport ? false, doxygen ? null, graphviz ? null # Documentation
|
||||
, eventGUISupport ? false, cairo ? null, glib ? null, gtk3 ? null # GUI event viewer support
|
||||
@@ -10,7 +10,7 @@ assert eventGUISupport -> cairo != null && glib != null && gtk3 != null;
|
||||
assert testsSupport -> check != null && valgrind != null && python3 != null;
|
||||
|
||||
let
|
||||
mkFlag = optSet: flag: "-D${flag}=${stdenv.lib.boolToString optSet}";
|
||||
mkFlag = optSet: flag: "-D${flag}=${lib.boolToString optSet}";
|
||||
|
||||
sphinx-build = if documentationSupport then
|
||||
python3.pkgs.sphinx.overrideAttrs (super: {
|
||||
@@ -24,7 +24,7 @@ let
|
||||
else null;
|
||||
in
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libinput";
|
||||
version = "1.16.4";
|
||||
|
||||
Reference in New Issue
Block a user