-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-packages: updates, including node2nix 1.9.0 #110394
Conversation
5eab65e
to
82dc994
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please fix the eval error.
Oops, will do! |
I think we need to first update node2nix and then regenerate this file with it. I am not sure how to do that except running it twice and hope that it works. |
Right, so we can reproduce the problem with:
... and then use that to fix all 31 places where we generated files with node2nix 1.8.0 but modified the generated file to point to /pkgs/development/node-packages/node-env.nix (which we're now updating to 1.9.0. Alternatively we could keep 2 versions of |
nixpkgs-review does not seem to work on this PR, but unclear if that's a problem with nixpkgs-review or with the PR... @ryantm can you see what's wrong? |
@raboof have you already fixed the eval errors mentioned above? |
well, I'm not entirely sure, but
produced an error before and completes successfully now. Is there something else I can check? |
pkgs/servers/zigbee2mqtt/update.sh
Outdated
@@ -13,6 +13,7 @@ fi | |||
curl -LO $ZIGBEE2MQTT/package.json | |||
curl -LO $ZIGBEE2MQTT/npm-shrinkwrap.json | |||
|
|||
which node2nix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a testing leftover?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, indeed, thanks, will fix
I think you need to revert any changes to zigbee2mqtt because of
|
550cb5c
to
1089bc1
Compare
I updated the PR to make only the minimal changes to make things evaluate for zigbee2mqtt, which indeed seems to make nixpkgs-review start again. I'm curious how you found out zigbee2mqtt was the problem here - |
When running nixpkgs-review I got this. It prevents unstable from advancing and got reverted previously. |
@@ -2,6 +2,7 @@ | |||
, git, bash, gzip, openssh, pam | |||
, sqliteSupport ? true | |||
, pamSupport ? true | |||
, nixosTests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you drop this commit?
Result of 3 packages marked as broken and skipped:
6 packages failed to build:
113 packages built:
|
1089bc1
to
773f1e1
Compare
Didn't update zigbee2mqtt beyond the bare necessities because it somehow confused nixpkgs-review Didn't update spacegun beyond the bare necessities because it wouldn't build anymore after the update.
773f1e1
to
f00ff7b
Compare
I just noticed you targeted staging which is not needed with only a few hundred rebuilds. If you change the base branch to master we should be good to go. |
Ok!
I fixed |
needs a rebase/re-generation... with some luck I can look into that tonight, if someone else wants to pick it up that's fine by me as well. |
I guess this PR was superseded by #110545 |
Not it is not because the PR you mentioned also updated zigbee2mqtt which breaks eval on master. |
Makes sense. Still I think @svanderburg is better equipped to make the right fixes there than I am here, so let's focus on his work instead. |
Motivation for this change
My real goal is to add a packages, but there are many updates available
that are unrelated to the packages I want to add. To keep the diff of
the actual change small, it seemed to make sense to propose these
updates.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)