!lZLfSUtSOVjwYTmPbU:nixos.org

nixpkgs-update

149 Members
Keeping nixpkgs up to date. r-ryantm bot. https://github.com/ryantm/nixpkgs-update and https://github.com/nix-community/infra/blob/master/build02/nixpkgs-update.nix43 Servers

Load older messages


SenderMessageTime
24 Jan 2025
@katexochen:matrix.orgPaul Meyer (katexochen) joined the room.15:52:04
@katexochen:matrix.orgPaul Meyer (katexochen)

Hey, I merged https://github.com/NixOS/nixpkgs/pull/376046 yesterday, which added updateScript to azure-cli-extensions, but it looks like it's not working in nixpkgs-update.
Locally I get the following:

❯ nix-shell maintainers/scripts/update.nix --argstr path azure-cli-extensions.ssh

Going to be running update for following packages:
 - python3.12-ssh-2.0.5

Press Enter key to continue...

Running update for:
 - python3.12-ssh-2.0.5: UPDATING ...
 - python3.12-ssh-2.0.5: DONE.

Packages updated!

❯ git diff --no-ext-diff 
diff --git a/pkgs/by-name/az/azure-cli/extensions-manual.nix b/pkgs/by-name/az/azure-cli/extensions-manual.nix
index 254ad69d2c23..823ab0fb0989 100644
--- a/pkgs/by-name/az/azure-cli/extensions-manual.nix
+++ b/pkgs/by-name/az/azure-cli/extensions-manual.nix
@@ -113,9 +113,9 @@
 
   ssh = mkAzExtension rec {
     pname = "ssh";
-    version = "2.0.5";
+    version = "2.0.6";
     url = "https://azcliprod.blob.core.windows.net/cli-extensions/ssh-${version}-py3-none-any.whl";
-    hash = "sha256-gMmLENe/HOQAW3aUrt0FxHNVRWd1umElMIvmX7D+/JM=";
+    hash = "sha256-PSIGtOa91WxpzFCauZ5d5tx/ZtCRsBhbejtVfY3Bgss=";
     description = "SSH into Azure VMs using RBAC and AAD OpenSSH Certificates";
     propagatedBuildInputs = with python3Packages; [
       oras

but the log says there was no diff: https://nixpkgs-update-logs.nix-community.org/azure-cli-extensions.ssh/2025-01-24.log
Any ideas what could be wrong?

16:01:49
@zowoq:matrix.orgzowoqThe bot checks for new update scripts twice a day and updates are run on the merge base of master and staging so sometimes the the bot attempts an update script that doesn't work on the current merge base.23:39:57
25 Jan 2025
@katexochen:matrix.orgPaul Meyer (katexochen)Makes sense, thanks. Will wait and observe. :)09:00:11
27 Jan 2025
@srhb:matrix.orgsrhb joined the room.07:39:29
@srhb:matrix.orgsrhb

Can someone help me understand by the bot created https://github.com/NixOS/nixpkgs/pull/374876 ? (downgrade filebeat 8 -> filebeat 7) -- is it because I, in a misguided attempt to stay consistent with the existing filebeat7 attr named it filebeat8 rather than filebeat_8 ?

I tried loading up nixpkgs-update in a ghci repl, but it appears to indicate I'm good on that front,

ghci> versionCompatibleWithPathPin "filebeat8" "8.16.1"
True

ghci> versionCompatibleWithPathPin "filebeat8" "7.17.27"
False

How do I fix this? :)

08:21:04
@srhb:matrix.orgsrhb *

Can someone help me understand why the bot created https://github.com/NixOS/nixpkgs/pull/374876 ? (downgrade filebeat 8 -> filebeat 7) -- is it because I, in a misguided attempt to stay consistent with the existing filebeat7 attr named it filebeat8 rather than filebeat_8 ?

I tried loading up nixpkgs-update in a ghci repl, but it appears to indicate I'm good on that front,

ghci> versionCompatibleWithPathPin "filebeat8" "8.16.1"
True

ghci> versionCompatibleWithPathPin "filebeat8" "7.17.27"
False

How do I fix this? :)

08:24:43
@fliegendewurst:matrix.orgFliegendeWurst (@GPN23)
In reply to @srhb:matrix.org

Can someone help me understand why the bot created https://github.com/NixOS/nixpkgs/pull/374876 ? (downgrade filebeat 8 -> filebeat 7) -- is it because I, in a misguided attempt to stay consistent with the existing filebeat7 attr named it filebeat8 rather than filebeat_8 ?

I tried loading up nixpkgs-update in a ghci repl, but it appears to indicate I'm good on that front,

ghci> versionCompatibleWithPathPin "filebeat8" "8.16.1"
True

ghci> versionCompatibleWithPathPin "filebeat8" "7.17.27"
False

How do I fix this? :)

Probably you need to fix the updateScript, that is what the bot used.
08:54:21
@srhb:matrix.orgsrhbAh, yes. I'll have a look at that. 08:54:43
@srhb:matrix.orgsrhbYep, thanks, think I fixed it, https://github.com/NixOS/nixpkgs/pull/37725609:13:52
28 Jan 2025
@perchun:matrix.orgPerchun Pak [don't ping; dm instead]could we reopen https://github.com/Mic92/nixpkgs-review/issues/430 please? see https://github.com/NixOS/nixpkgs/pull/377508#issuecomment-261890501520:34:31
2 Feb 2025
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (FOSDEM).16:04:48
3 Feb 2025
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (FOSDEM) to pbsds.16:25:35
5 Feb 2025
@detroyejr:matrix.orgdetroyejr joined the room.01:49:47
6 Feb 2025
@numinit:matrix.orgMorgan (@numinit) What's the usual practice for nested attributes where I'd like to expose an update script? For instance, we want to expose a single attribute in androidenv, which is an attrset, not a derivation itself. 03:29:53
@numinit:matrix.orgMorgan (@numinit) Provided, this is also a custom update script not using nix-update or something else. 03:30:42
@numinit:matrix.orgMorgan (@numinit) Do I need to expose the passthru on the top level attribute? Is the solution a well placed recurseIntoAttrs? Never done this before, so unsure. :-) 03:34:15
@perchun:matrix.orgPerchun Pak [don't ping; dm instead]is this what are you looking for?07:43:46
@perchun:matrix.orgPerchun Pak [don't ping; dm instead]https://github.com/NixOS/nixpkgs/blob/34c5ee1a54bbf1ccfd2f5443564ccb6e71c05879/pkgs/applications/editors/vim/plugins/non-generated/blink-cmp/default.nix#L107:43:47
@perchun:matrix.orgPerchun Pak [don't ping; dm instead]* https://github.com/NixOS/nixpkgs/blob/34c5ee1a54bbf1ccfd2f5443564ccb6e71c05879/pkgs/applications/editors/vim/plugins/non-generated/blink-cmp/default.nix07:43:52
@numinit:matrix.orgMorgan (@numinit)Close-ish. More wondering how a passthru.updateScript that's not nixpkgs-update (i.e. it's a custom script) would work on an attribute that isn't toplevel.21:07:05
8 Feb 2025
@marcel:envs.netMarcel joined the room.20:26:59
10 Feb 2025
@carlossless:matrix.orgcarlossless joined the room.18:50:35
@carlossless:matrix.orgcarlosslessWould anyone know why eval could be failing on an update PR here: https://github.com/NixOS/nixpkgs/pull/380939#issuecomment-2648941718?18:51:12
11 Feb 2025
@ramblurr:outskirtslabs.comramblurr joined the room.11:52:59
14 Feb 2025
@bmgsh:matrix.orgbmgsh joined the room.06:37:48
15 Feb 2025
@benjb83:matrix.orgBenjB83 joined the room.10:17:36
@benjb83:matrix.orgBenjB83 changed their display name from Benjamín Buske to BenjB83.10:43:04
18 Feb 2025
@bmgsh:matrix.orgbmgsh i recently manually updated package optinix i can see from https://r.ryantm.com/log/ that it has never been attempted to automatically update. is there some process to register a package for autoupdates? 06:03:19
@k900:0upti.meK900The auto-updates pull from repology, and that being a nix specific tool, it's probably not tracked on there06:04:35

Show newer messages


Back to Room ListRoom Version: 9