| 25 Jan 2024 |
7c6f434c | Nixpkgs has quite a few generated expression sets, actually | 19:52:55 |
sheep_empress | Hardcoding the version lets it build fine without import-from-derivation, and it's what I might do for my first package for now 😅 | 19:56:02 |
sheep_empress | Future me might change her mind after she's had to update it a few times though. Would love if you could point me towards docs on generated expressions if you think those could help me solve my problem | 19:57:44 |
| Benedikt joined the room. | 20:10:15 |
K900 | Generated expressions isn't a Nix feature | 20:11:32 |
7c6f434c | https://nixos.org/manual/nixpkgs/stable/#var-passthru-updateScript | 20:11:33 |
K900 | You can just write a script that generates the data you need and writes it to a .nix file or a JSON file or whatever | 20:11:46 |
K900 | And then you can at least automate away the manual editing | 20:11:57 |
7c6f434c | (if it is just about updating a few versions) | 20:12:04 |
7c6f434c | Or, indeed, write a script in whatever you prefer that outputs the expression as you wish | 20:12:34 |
7c6f434c | Presumably you already have it in your IFD setup | 20:12:57 |
| 28 Jan 2024 |
K900 | Does ofborg push built outputs somewhere? | 13:36:24 |
| ncfavier changed their profile picture. | 14:04:00 |
| 29 Jan 2024 |
cole-h | In reply to @k900:0upti.me Does ofborg push built outputs somewhere? No, it does not. | 15:51:48 |
| 31 Jan 2024 |
| @asymmetric:matrix.dapp.org.uk left the room. | 10:47:14 |
| 3 Feb 2024 |
hexa | the current eval speed is refreshing | 02:41:05 |
hexa | thanks alot | 02:41:07 |
hexa | * thanks a ton | 02:41:10 |
| 9 Feb 2024 |
| @pinpox:matrix.org joined the room. | 12:04:08 |
@pinpox:matrix.org | crossposting here as requested:
ofborg is failing to run my test, even though it works fine locally. Can anyone tell me what I'm doing wrong? https://github.com/NixOS/nixpkgs/actions/runs/7843526136/job/21404048992?pr=287455 | 12:04:29 |
Artturin | In reply to @pinpox:matrix.org crossposting here as requested:
ofborg is failing to run my test, even though it works fine locally. Can anyone tell me what I'm doing wrong? https://github.com/NixOS/nixpkgs/actions/runs/7843526136/job/21404048992?pr=287455 That's not ofborg, it's https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/nix-parse.yml | 13:41:05 |
Artturin | Add the test to the passthru.tests of the package btw | 13:45:57 |
Artturin | pinpox: it passes now | 15:20:13 |
Artturin | check the darwin failure and drop the merge | 15:20:35 |
@pinpox:matrix.org | Artturin: I removed the merge but now it conflicts again | 20:59:30 |
@pinpox:matrix.org | I'm not sure how to resolve this | 20:59:43 |
Artturin | In reply to @pinpox:matrix.org Artturin: I removed the merge but now it conflicts again conflicts should be resolved via rebasing | 21:00:49 |
Artturin | https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#how-to-create-pull-requests 7. | 21:01:00 |
Artturin | In reply to @pinpox:matrix.org Artturin: I removed the merge but now it conflicts again * conflicts should be resolved by rebasing | 21:01:43 |
@pinpox:matrix.org | Artturin: got it fixed, thanks! | 21:06:35 |