From e5832782cb173a5121cfcac9973b442617fcd280 Mon Sep 17 00:00:00 2001 From: Petar Kirov Date: Wed, 12 Feb 2025 23:06:20 +0200 Subject: [PATCH] fix(nix/pkgs/spin-plugin): Fix manifest `os` field mapping The [implementation][0] uses `macos`, not `osx`. Also SIP006 uses `macos` in one of the example URLs. Additionally, the authoritative `spin-plugin-manifest-schema-0.1.json` was [updated][1] as well. PR to fix the typo upstream: https://github.com/fermyon/spin/pull/3011 [0]: https://github.com/fermyon/spin/blob/v3.1.2/crates/plugins/src/manifest.rs#L113 [1]: https://github.com/fermyon/spin-plugins/pull/10 --- nix/pkgs/spin-plugin/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/pkgs/spin-plugin/default.nix b/nix/pkgs/spin-plugin/default.nix index 33e23d027..46b273b66 100644 --- a/nix/pkgs/spin-plugin/default.nix +++ b/nix/pkgs/spin-plugin/default.nix @@ -18,7 +18,7 @@ let os = { linux = "linux"; - darwin = "osx"; + darwin = "macos"; } .${hostPlatform.parsed.kernel.name};