blackmagic: use python3

This commit is contained in:
Frederik Rietdijk 2021-03-25 10:52:10 +01:00
parent 8e866ceabc
commit 2b0f34bcb5

View File

@ -1,6 +1,6 @@
{ stdenv, lib, fetchFromGitHub
, gcc-arm-embedded, libftdi1, libusb-compat-0_1, pkg-config
, python, pythonPackages
, python3
}:
with lib;
@ -21,15 +21,16 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
gcc-arm-embedded pkg-config
python3
];
buildInputs = [
libftdi1
libusb-compat-0_1
python
pythonPackages.intelhex
];
strictDeps = true;
postPatch = ''
# Prevent calling out to `git' to generate a version number:
substituteInPlace src/Makefile \