diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-26 10:51:06 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-04-03 17:06:22 +0200 |
commit | e8cd2296ca4113a8c47f75f7ea7f87da0d297f3f (patch) | |
tree | 1a29723b20fb6d0c609236d15d720504d9f66d87 | |
parent | cca1d52bbc5cb8af0042cae80027cdde413be126 (diff) |
mbedtls: use python3
-rw-r--r-- | pkgs/development/libraries/mbedtls/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/mbedtls/default.nix b/pkgs/development/libraries/mbedtls/default.nix index 38a9b78b6d10..2e25399d9797 100644 --- a/pkgs/development/libraries/mbedtls/default.nix +++ b/pkgs/development/libraries/mbedtls/default.nix @@ -4,7 +4,7 @@ , cmake , ninja , perl # Project uses Perl for scripting and testing -, python +, python3 , enableThreading ? true # Threading can be disabled to increase security https://tls.mbed.org/kb/development/thread-safety-and-multi-threading }: @@ -20,7 +20,9 @@ stdenv.mkDerivation rec { sha256 = "0mz7n373b8d287crwi6kq2hb8ryyi228j38h25744lqai23qj5cf"; }; - nativeBuildInputs = [ cmake ninja perl python ]; + nativeBuildInputs = [ cmake ninja perl python3 ]; + + strictDeps = true; postConfigure = lib.optionals enableThreading '' perl scripts/config.pl set MBEDTLS_THREADING_C # Threading abstraction layer |