Conversation
|
|
This doesn't need to target staging, unless I'm missing something. |
|
Would it be possible for me to add a commit to this PR? I need to update my maintainer info as it's using my old GH username and I don't wanna open a whole other PR for it |
I am not sure if there is a canonical way to do this, but I’ll gladly cherry‐pick another commit. |
|
Opening a separate PR would likely have been less friction. @kinzokudev is this sufficient? |
|
Resolved the merge conflict. |
|
Could you please rebase again? |
|
|
All of the failures seem to be caused by flaxlib. |
|
It's caused by line 29 of From 8377d941f0f075987dc1b31703515268baa38011 Mon Sep 17 00:00:00 2001
From: Michael Daniels <mdaniels5757@gmail.com>
Date: Tue, 30 Sep 2025 19:32:02 -0400
Subject: [PATCH] python3Packages.flaxlib: fix for tomlq version bump
---
pkgs/development/python-modules/flaxlib/default.nix | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/development/python-modules/flaxlib/default.nix b/pkgs/development/python-modules/flaxlib/default.nix
index 2848c216f956..b9bf868d13b1 100644
--- a/pkgs/development/python-modules/flaxlib/default.nix
+++ b/pkgs/development/python-modules/flaxlib/default.nix
@@ -26,7 +26,7 @@ buildPythonPackage rec {
postPatch = ''
expected_version="$version"
- actual_version=$(${lib.getExe tomlq} --file pyproject.toml "project.version")
+ actual_version=$(${lib.getExe tomlq} --raw --file pyproject.toml "project.version")
if [ "$actual_version" != "$expected_version" ]; then
echo -e "\n\tERROR:"
--
2.50.1 |
mdaniels5757
left a comment
There was a problem hiding this comment.
In addition to the patch for flaxlib, this needs a release notes entry due to the rename of the binary from tomlq to tq.
pkgs/by-name/to/tomlq/package.nix
Outdated
| cargoHash = "sha256-RkzAYVMycQwcewuP8wDbL06YddapyFhm+57CGOICey0="; | ||
|
|
||
| nativeInstallCheckInputs = [ versionCheckHook ]; | ||
| versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}"; |
There was a problem hiding this comment.
| versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}"; |
This is now the default behavior.
GaetanLepage
left a comment
There was a problem hiding this comment.
LGTM. Please squash all the commits into a single one (tomlq: 0.1.6 -> 0.2.2).
|
|
finalAttrspatternThings done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.