diff --git a/pkgs/development/tools/wasmedge/default.nix b/pkgs/development/tools/wasmedge/default.nix index d21ac338f34f..e416f563788f 100644 --- a/pkgs/development/tools/wasmedge/default.nix +++ b/pkgs/development/tools/wasmedge/default.nix @@ -2,7 +2,7 @@ lib, stdenv, fetchFromGitHub, - llvmPackages, + llvmPackages_17, boost, cmake, spdlog, @@ -12,7 +12,18 @@ testers, }: -stdenv.mkDerivation (finalAttrs: { +let + # The supported version is found in the changelog, the documentation does indicate a minimum version but not a maximum. + # The project is also using a `flake.nix` so we can retrieve the used llvm version with: + # + # ```shell + # nix eval --inputs-from .# nixpkgs#llvmPackages.libllvm.version + # ``` + # + # > Where `.#` is the flake path were the repo `wasmedge` was cloned at the expected version. + llvmPackages = llvmPackages_17; +in +llvmPackages.stdenv.mkDerivation (finalAttrs: { pname = "wasmedge"; version = "0.14.1";