diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 12:30:44 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 12:30:44 +0100 |
commit | 7012ab1b5420e17c854ec858b4611bcc06bd7638 (patch) | |
tree | 8b5d0c00431e22fd5f3ff45a8ef7031af105e877 /pkgs/development/compilers/dtc | |
parent | a4316eaab7a258b98c351b9fb71c7bb4c8efba35 (diff) |
dtc: don't require python
Diffstat (limited to 'pkgs/development/compilers/dtc')
-rw-r--r-- | pkgs/development/compilers/dtc/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/compilers/dtc/default.nix b/pkgs/development/compilers/dtc/default.nix index c5d33590daad..245e5bf2f540 100644 --- a/pkgs/development/compilers/dtc/default.nix +++ b/pkgs/development/compilers/dtc/default.nix @@ -1,7 +1,9 @@ { stdenv, lib, fetchgit, flex, bison, pkg-config, which -, pythonSupport ? false, python, swig +, pythonSupport ? false, python ? null, swig }: +assert pythonSupport -> python != null; + stdenv.mkDerivation rec { pname = "dtc"; version = "1.6.0"; |