dtc: don't require python

This commit is contained in:
Frederik Rietdijk 2021-03-25 12:30:44 +01:00
parent a4316eaab7
commit 7012ab1b54

View file

@ -1,7 +1,9 @@
{ stdenv, lib, fetchgit, flex, bison, pkg-config, which { stdenv, lib, fetchgit, flex, bison, pkg-config, which
, pythonSupport ? false, python, swig , pythonSupport ? false, python ? null, swig
}: }:
assert pythonSupport -> python != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dtc"; pname = "dtc";
version = "1.6.0"; version = "1.6.0";