Hydra | 385 Members | |
| 109 Servers |
| Sender | Message | Time |
|---|---|---|
| 7 Jun 2022 | ||
Yeah it looks like spec.json does everything flakes do, but worse. Consider https://github.com/qfpl/reflex-workshop/blob/master/spec.json : it says "go evaluate release.nix from input reflex-workshop, setting <nixpkgs> and <reflex-workshop> in NIX_PATH. The attrset that the evaluation returns defines the jobs to actually run. | 08:16:50 | |
| Ah yes. Just use the flake output type and enjoy :) | 08:17:27 | |
| Sadly the NixOS tests I've written fail in my Hydra instance and I don't know why. I'll wait and see if anyone answers in the NixOS channel first, then re-post here in full detail. In essence all my tests use a
| 08:19:20 | |
| Locally they're running just fine, so I'm at a loss. It's a flake project with everything pinned down and supposedly reproducible. | 08:19:46 | |
In reply to @roberthensing:matrix.orgit came through ✅ | 13:49:28 | |
| 8 Jun 2022 | ||
| 19:22:46 | ||
| 9 Jun 2022 | ||
| 23:04:16 | ||
| 10 Jun 2022 | ||
I'm trying to create a minimal example for my Hydra/PostgreSQL problem mentioned above now, mainly just using a postgresql_10 service and waiting for the unit to come up. This is what usually seems to fail on my Hydra, but not locally. | 10:31:10 | |
| Hum, of course the minimal example works as expected. The only thing I can even think of is the pin. | 10:58:25 | |
But then it stresses me out that the same nix build runs fine locally. | 10:58:45 | |
| If anyone has any ideas as to what could lead to a NixOS test running locally but not on a Hydra instance (the last thing that comes to my mind would be performance differences), I'd be really happy. I'll put my example on github next week, hopefully a smarter person than me can see what's going on then. The gist of it is that I'm starting the postgres service, wait for it to be up, then change the user password. This works fine. But then doing anything after, like
| 14:17:48 | |
| This works just fine locally though, and I'm at a loss. | 14:18:01 | |
| * This same test works just fine locally though, and I'm at a loss. | 14:19:27 | |
| 19:21:26 | ||
| 11 Jun 2022 | ||
| kenran_: is KVM enabled on your Hydra instance? | 06:10:33 | |
| does anyone here know what the altnr of a jobsetevalinput is? | 19:51:00 | |
| Got it btw. This is used as when you have an input with the same name multiple times and it's part of the primary key. It's set to 0 normally | 22:38:58 | |
| 12 Jun 2022 | ||
| 08:32:08 | ||
| Perfect, something seems to set my umask to 18 in the evaluator… although there is no umask() call in the codebase :/ | 14:51:41 | |
grahamc (he/him): Btw, Hydra won't survive y2038 because timestamp has type integer (4 bytes) | 14:56:01 | |
| What is the correct way of building a nixosConfiguration? | 17:44:38 | |
In reply to @ulrikstrid:matrix.orgWhat do you mean exactly? A NixOS configuration with a hydra service? Your question sounds like it's about the flake output type. | 19:18:01 | |
In reply to @lewo:matrix.orgIt's in system-features, but that's probably not what you mean!? The machine is a VM in the cloud; I'll check tomorrow, but given that it takes 5 minutes to run this test I don't think it is :) | 19:19:24 | |
In reply to @kenran_:matrix.orgI manage my computers with flakes and want to have my hydra build the configurations and ideally I would deploy from that | 19:33:14 | |