Merge pull request #238931 from wegank/wasmedge-darwin

wasmedge: fix build on x86_64-darwin

authored by Weijia Wang and committed by GitHub d6b7d2ba fc344248

+5 -6
+3 -3
pkgs/development/tools/wasmedge/default.nix
··· 1 { lib 2 , fetchFromGitHub 3 - , llvmPackages 4 , boost 5 , cmake 6 , spdlog ··· 11 }: 12 13 let 14 stdenv = llvmPackages.stdenv; 15 in 16 stdenv.mkDerivation (finalAttrs: { ··· 61 license = with licenses; [ asl20 ]; 62 description = "A lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications"; 63 maintainers = with maintainers; [ dit7ya ]; 64 - # error: no member named 'utimensat' in the global namespace 65 - broken = stdenv.isDarwin && stdenv.isx86_64; 66 }; 67 })
··· 1 { lib 2 , fetchFromGitHub 3 + , llvmPackages_12 4 , boost 5 , cmake 6 , spdlog ··· 11 }: 12 13 let 14 + llvmPackages = llvmPackages_12; 15 stdenv = llvmPackages.stdenv; 16 in 17 stdenv.mkDerivation (finalAttrs: { ··· 62 license = with licenses; [ asl20 ]; 63 description = "A lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications"; 64 maintainers = with maintainers; [ dit7ya ]; 65 + platforms = platforms.all; 66 }; 67 })
+2 -3
pkgs/top-level/all-packages.nix
··· 13803 13804 wasm-tools = callPackage ../tools/misc/wasm-tools { }; 13805 13806 - wasmedge = callPackage ../development/tools/wasmedge { 13807 - llvmPackages = llvmPackages_12; 13808 - inherit (darwin.apple_sdk.frameworks) Foundation; 13809 }; 13810 13811 welkin = callPackage ../tools/graphics/welkin { };
··· 13803 13804 wasm-tools = callPackage ../tools/misc/wasm-tools { }; 13805 13806 + wasmedge = darwin.apple_sdk_11_0.callPackage ../development/tools/wasmedge { 13807 + inherit (darwin.apple_sdk_11_0.frameworks) Foundation; 13808 }; 13809 13810 welkin = callPackage ../tools/graphics/welkin { };