mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 03:58:22 +00:00
wasmtime: use python3
This commit is contained in:
parent
5af7724cbb
commit
56741fba94
@ -1,4 +1,4 @@
|
||||
{ rustPlatform, fetchFromGitHub, lib, python2, cmake, llvmPackages, clang, stdenv, darwin }:
|
||||
{ rustPlatform, fetchFromGitHub, lib, python3, cmake, llvmPackages, clang, stdenv, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wasmtime";
|
||||
@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "1wlig9gls7s1k1swxwhl82vfga30bady8286livxc4y2zp0vb18w";
|
||||
|
||||
nativeBuildInputs = [ python2 cmake clang ];
|
||||
nativeBuildInputs = [ python3 cmake clang ];
|
||||
buildInputs = [ llvmPackages.libclang ] ++
|
||||
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
|
Loading…
Reference in New Issue
Block a user