blackmagic: use python3
This commit is contained in:
parent
8e866ceabc
commit
2b0f34bcb5
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user