From 2e7c177e51f75a847207b6d0c5032fc723a8fa43 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 24 Jan 2026 15:44:24 +0000 Subject: [PATCH 1/2] swim: 0.13.0 -> 0.16.0 Diff: https://gitlab.com/spade-lang/swim/-/compare/v0.13.0...v0.16.0 Changelog: https://gitlab.com/spade-lang/swim/-/blob/v0.16.0/CHANGELOG.md --- pkgs/by-name/sw/swim/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/sw/swim/package.nix b/pkgs/by-name/sw/swim/package.nix index 353065cc663c..0b56dd642b9b 100644 --- a/pkgs/by-name/sw/swim/package.nix +++ b/pkgs/by-name/sw/swim/package.nix @@ -10,16 +10,16 @@ rustPlatform.buildRustPackage rec { pname = "swim"; - version = "0.13.0"; + version = "0.16.0"; src = fetchFromGitLab { owner = "spade-lang"; repo = "swim"; rev = "v${version}"; - hash = "sha256-0H45kOIwFMdp+eIQJNutLUC/jEpWKsPfEZXDUOUa12g="; + hash = "sha256-8JUy5gMZv7qzksrnoCwS4Wxk8xvy02sYGKHxwncAy7c="; }; - cargoHash = "sha256-fF+43tZzr6lxVovMCIaDwf9JKweqiMMR+BNojIqQREY="; + cargoHash = "sha256-M4gwOAEPN3J7Ftirotbdk/UOE0hqbYpxBDO65YPXxBc="; preConfigure = '' # de-vendor spade git submodule From 84cf1e4bc70e3447e3e331503d7bf5cd2ff6b70f Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 24 Jan 2026 15:44:00 +0000 Subject: [PATCH 2/2] spade: 0.13.0 -> 0.16.0 Diff: https://gitlab.com/spade-lang/spade/-/compare/v0.13.0...0.16.0 Changelog: https://gitlab.com/spade-lang/spade/-/blob/v0.16.0/CHANGELOG.md --- pkgs/by-name/sp/spade/package.nix | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/sp/spade/package.nix b/pkgs/by-name/sp/spade/package.nix index f431abb2de03..97b89f94cb78 100644 --- a/pkgs/by-name/sp/spade/package.nix +++ b/pkgs/by-name/sp/spade/package.nix @@ -10,24 +10,24 @@ git, pkg-config, openssl, - python312, + python314, swim, }: rustPlatform.buildRustPackage rec { pname = "spade"; - version = "0.13.0"; + version = "0.16.0"; src = fetchFromGitLab { owner = "spade-lang"; repo = "spade"; rev = "v${version}"; - hash = "sha256-eWeEbwIm+PC0XHmvV3xZqUIcA01arnalbGFtPTUP9tg="; + hash = "sha256-Q9LiyCkrHQxnTorAqPOykS4F06c01pYPW9t82xEn6DY="; # only needed for vatch, which contains test data fetchSubmodules = true; }; - cargoHash = "sha256-YMUeHr9eUOYIcO7PbaFgZa0Ib10GMF+jT10ZCSG7PNo="; + cargoHash = "sha256-zuj34DpQKu7uWYgL/JTq7zLTPvZKQ/eedBXrkN1Pvg0="; # TODO: somehow respect https://nixos.org/manual/nixpkgs/stable/#var-passthru-updateScript-commit passthru.updateScript = _experimental-update-script-combinators.sequence [ @@ -55,8 +55,19 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ python312 ]; - env.NIX_CFLAGS_LINK = lib.optionalString stdenv.hostPlatform.isDarwin "-L${python312}/lib/python3.12/config-3.12-darwin -lpython3.12"; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + python314 + ]; + env.NIX_CFLAGS_LINK = lib.optionalString stdenv.hostPlatform.isDarwin "-L${python314}/lib/python3.14/config-3.14-darwin -lpython3.14"; + + cargoBuildFlags = [ + "--workspace" + # TODO: --exclude the excluded crates listed in release.sh? + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # "Undefined symbols for architecture arm:" ... + "--exclude=spade-surfer-plugin" + ]; passthru.tests = { inherit swim;