wasmedge: Fix use supported llvm version by the project (#397043)

This commit is contained in:
Peder Bergebakken Sundt
2025-04-21 20:07:54 +02:00
committed by GitHub
+13 -2
View File
@@ -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";