28 Dec 2024 |
🐰 xiaoxiangmoe | So, can we use nix shell in nix update script? | 17:04:42 |
🐰 xiaoxiangmoe | https://nix.dev/manual/nix/2.22/command-ref/new-cli/nix3-shell#use-as-a--interpreter | 17:05:20 |
K900 | Well we don't have a rule that says you can't | 17:06:06 |
K900 | But you probably shouldn't | 17:06:09 |
K900 | Especially now that there are Nix implementations out there that will probably never get this feature | 17:06:33 |
🐰 xiaoxiangmoe | nixpkgs-update will support this. but it is not encorage this? | 17:07:46 |
K900 | I can't comment on nixpkgs-update | 17:09:43 |
K900 | I assume it'll work because the default Nix version on recent NixOS supports this | 17:09:59 |
K900 | But I definitely don't think we should encourage this | 17:10:11 |
K900 | Because many people are still on 2.18 or Lix | 17:10:23 |
🐰 xiaoxiangmoe | When can we use this? | 17:10:28 |
K900 | And those don't support the nix shell shebang | 17:10:31 |
K900 | In reply to @xiaoxiangmoe:matrix.org When can we use this? A better question is, why do you want to use this? | 17:10:43 |
K900 | (as opposed to nix-shell ) | 17:10:58 |
🐰 xiaoxiangmoe | Because this has new api for out of nixpkgs dependencies?
But I needn't use it this feature currently. | 17:13:11 |
K900 | Nixpkgs update scripts should absolutely not depend on things outside of nixpkgs | 17:13:37 |
K900 | In general | 17:13:52 |
30 Dec 2024 |
| raitobezarius changed their display name from raitobezarius (DECT: 3538 / EPVPN 2681) to raitobezarius. | 16:27:03 |
1 Jan 2025 |
| NixOS Moderation Botchanged room power levels. | 14:26:28 |
| jopejoe1 changed their display name from jopejoe1 [4094] to jopejoe1. | 23:30:08 |
2 Jan 2025 |
| Oluwapelumi Adeosun joined the room. | 10:15:18 |
| error_pro joined the room. | 10:42:28 |
3 Jan 2025 |
| Sn0wM1x♪ joined the room. | 10:24:26 |
Sn0wM1x♪ | Hello, I've noticed that because my package has updateScript set, nixpkgs-update won't update cargoHash and thus the build fails. Is there any way to fix it?
package: https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ha/hatsu/package.nix
logs: https://nixpkgs-update-logs.nix-community.org/hatsu/2024-12-29.log | 10:28:23 |
zowoq | Simplest option is to remove the updateScript, the bot shouldn't need it. It'll ignore github beta releases and it can update cargohash itself. | 10:53:16 |
Sn0wM1x♪ | In reply to @zowoq:matrix.org Simplest option is to remove the updateScript, the bot shouldn't need it. It'll ignore github beta releases and it can update cargohash itself. ok. doesn't the bot need a rev-prefix? | 11:06:08 |
zowoq | No, doesn't need it. | 11:23:42 |
4 Jan 2025 |
| @kranzes:matrix.org left the room. | 15:30:24 |
6 Jan 2025 |
🐰 xiaoxiangmoe | Can nix-update-script update github release? | 14:55:41 |
K900 | Yes | 15:22:07 |