!lZLfSUtSOVjwYTmPbU:nixos.org

nixpkgs-update

171 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.nix55 Servers

Load older messages


SenderMessageTime
22 Sep 2022
@zonnebloem:matrix.orgzonnebloemty20:36:11
@ryantm:matrix.orgryantm

Looks like it is currently failing to build with the error

package github.com/Khan/genqlient: no Go files in /build/source/vendor/github.com/Khan/genqlient

20:36:54
@zonnebloem:matrix.orgzonnebloemI tried looking for a cause. The package's repo mentions genqlient long before the build failures. So during the nix build the go files were not moved?21:12:55
5 Oct 2022
@rosariopulella:matrix.orgRosuavio joined the room.19:08:06
9 Oct 2022
@rdfg77:kde.org@rdfg77:kde.org joined the room.05:45:57
@rdfg77:kde.org@rdfg77:kde.org Hi, I added a updateScript for vscode python extension but it seems it's not checked by the bot. Can you help me? 05:49:23
10 Oct 2022
@ryantm:matrix.orgryantm linsui: It looks like the code that searches for updatescripts isn't finding it https://github.com/nix-community/infra/blob/bb8131db4f86eade543160cc31e36a6847f45122/build02/packages-with-update-script.nix 14:45:29
@ryantm:matrix.orgryantm linsui: Looks like maybe we need to add something related to "recurseForDerivations"? I'm not that familiar with what that is. 14:47:51
@ryantm:matrix.orgryantmOh never mind, it is already doing that for vscode-extensions14:49:26
@ryantm:matrix.orgryantm linsui: What's the attrpath for the thing you want to update? 14:51:38
@ryantm:matrix.orgryantm vscode-extensions.ms-python.python ? 14:52:36
@rdfg77:kde.org@rdfg77:kde.org It's vscode-extensions.ms-python.python. 14:52:52
@rdfg77:kde.org@rdfg77:kde.orgYes.14:52:57
@ryantm:matrix.orgryantmNot sure why it isn't getting picked up by that code. Feel free to try to figure it out yourself, or I'll try to look later.14:53:47
@rdfg77:kde.org@rdfg77:kde.orgI guess I need to check if https://github.com/nix-community/infra/blob/bb8131db4f86eade543160cc31e36a6847f45122/build02/packages-with-update-script.nix can output the attrpath? I'll have a try.14:55:00
@ryantm:matrix.orgryantmIt was copied from here: https://github.com/NixOS/nixpkgs/blob/master/maintainers/scripts/update.nix15:09:23
18 Oct 2022
@rdfg77:kde.org@rdfg77:kde.org

ryantm: I put the script into the same directory as update.nix and use pkgs = import ./../../default.nix { };. I got

vscode 0 1
vscode-extensions.ms-python.python 0 1
vscode-extensions.vadimcn.vscode-lldb 0 1
vscodium 0 1

The vscode-lldb is not auto updated, either.

08:00:50
19 Oct 2022
@waldyrious:matrix.org@waldyrious:matrix.org joined the room.08:47:13
7 Nov 2022
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/200075/files20:15:56
@hexa:lossy.networkhexacan someone review this?20:16:01
@hexa:lossy.networkhexanot sure how referencing the shell script is supposed to work here20:16:24
@ryantm:matrix.orgryantm @hexa you can test it with nix-shell maintainers/scripts/update.nix --argstr package zigbee2mqtt 20:21:40
@hexa:lossy.networkhexaah great20:22:02
@hexa:lossy.networkhexawasn't sure, but that makes it error out because the script relies on being in the correct path 🙂20:22:34
8 Nov 2022
@j-k:matrix.orgj-k I generally use -I nixpkgs=./. since it's being executed at the nixpkgs root. Rather than ../../../../ from where the file is 09:53:19
@hexa:lossy.networkhexawe cd to dirname $0 now, so not an issue11:55:44
@hexa:lossy.networkhexait gets executed from the root when nix-shell is run, but cds to the package dir to do the work in there11:56:26
@j-k:matrix.orgj-kyou can't cd to dirname $0 before the nix-shell shebang which is what I'm referring to11:56:27
@hexa:lossy.networkhexawhich is why he dropped -I nixpkgs= entirely11:56:48
@j-k:matrix.orgj-kI much prefer knowing which versions of packages the update script will use, but to each their own 11:57:36

Show newer messages


Back to Room ListRoom Version: 9