diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-12 04:13:08 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-16 02:36:23 +0100 |
commit | b8594d2b00755fe4d740b5e5be54815653d81638 (patch) | |
tree | 4a36ad82c5c6e77c0fb07c2f5d877fca6c8e88a6 /pkgs/development/libraries/opae | |
parent | 6bcbf84fb188ce60d06510bfcb282e19fdad02d8 (diff) |
opae: use python3
Also brings it closer to building again. Currently fails with: ``` CMake Error at platforms/scripts/cmake_install.cmake:54 (file): file INSTALL cannot find "/build/source/build/bin/afu_platform_config": No such file or directory. Call Stack (most recent call first): platforms/cmake_install.cmake:55 (include) cmake_install.cmake:58 (include) make: *** [Makefile:120: install] Error 1 ```
Diffstat (limited to 'pkgs/development/libraries/opae')
-rw-r--r-- | pkgs/development/libraries/opae/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/opae/default.nix b/pkgs/development/libraries/opae/default.nix index cba7e7b285d99..4e9e4d79dd2f1 100644 --- a/pkgs/development/libraries/opae/default.nix +++ b/pkgs/development/libraries/opae/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchFromGitHub, cmake , libuuid, json_c -, doxygen, perl, python2, python2Packages +, doxygen, perl, python3 }: stdenv.mkDerivation rec { @@ -23,10 +23,11 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = [ "-Wno-error=format-truncation" "-Wno-error=address-of-packed-member" + "-Wno-array-bounds" ]; - nativeBuildInputs = [ cmake doxygen perl python2Packages.sphinx ]; - buildInputs = [ libuuid json_c python2 ]; + nativeBuildInputs = [ cmake doxygen perl python3.pkgs.sphinx ]; + buildInputs = [ libuuid json_c python3 ]; # Set the Epoch to 1980; otherwise the Python wheel/zip code # gets very angry |