libredwg: python is optional
This commit is contained in:
parent
d20a05e963
commit
939a00f04b
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, texinfo, pcre2
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, texinfo, pcre2
|
||||||
, enablePython ? false, python, swig, libxml2, ncurses
|
, enablePython ? false, python ? null, swig, libxml2, ncurses
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
isPython3 = enablePython && python.pythonAtLeast "3";
|
isPython3 = enablePython && python.pythonAtLeast "3";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user