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