| 17 May 2022 |
das_j | DB<2> print STDERR (undef // "lal");
lal
DB<3> print STDERR ("abc" // "lal");
abc
| 19:52:17 |
das_j | In reply to @janne.hess:helsinki-systems.de if that's a valid case (and the integration doesn't break when no Link is returned) you can just do split ',', ($res->header("Link") // ""); probably without the parenthesis but it makes it a lot more readable | 19:52:44 |
| 18 May 2022 |
| Jhu joined the room. | 06:46:51 |
@ulrikstrid:matrix.org | Thank you das_j that seems to have worked! :) And now I finally figured out the last pieces to get GitHub PRs working with flakes | 12:05:44 |
@ulrikstrid:matrix.org | Should I open a PR with your change or do you want to do it? 🤔 | 12:06:16 |
das_j | No, feel free. I don't use the plugin at all | 12:14:58 |
das_j | * Feel free to do it. I don't use the plugin at all | 12:15:12 |
@ulrikstrid:matrix.org | Cool, opened a PR :) | 12:17:15 |
kenran_ | Redacted or Malformed Event | 16:27:03 |
kenran_ | Redacted or Malformed Event | 16:27:33 |
das_j | Not sure if I understand the question correctly, but how is that related to hydra? | 16:27:50 |
kenran_ | Oh, sorry, I must have pressed some hotkey accidentally and switched the channel. One sec. | 16:28:18 |
das_j | No worries ;) | 16:28:54 |
Rick (Mindavi) | Anyone here an idea how to resolve / workaround this issue?
https://github.com/NixOS/nixpkgs/pull/172242#issuecomment-1128210348 | 16:42:25 |
| 19 May 2022 |
| @rewina:matrix.org changed their profile picture. | 10:21:21 |
| 22 May 2022 |
@ulrikstrid:matrix.org | Are there any resources on how to write and run Integration-style tests with nix/hydra? | 13:26:22 |
| dadada (they/them) changed their display name from dadada / Tim to dadada / Tim (they/er). | 13:29:46 |
@linus:schreibt.jetzt | Well, NixOS itself does integration tests (see NixOS manual section on NixOS tests) and runs them on Hydra? | 13:35:22 |
Rick (Mindavi) | Check nixpkgs:nixos/tests | 13:40:39 |
@ulrikstrid:matrix.org | Are `passthru.tests` automatically run by hydra? | 16:16:12 |
ajs124 | not automatically, no. you can build them with hydra though.
actually… if you'd want to, you could probably scan all packages and have them added to the jobset, automatically.
depends on your use-case. all of nixpkgs sadly cannot be evaluated with nix code, because not all exceptions can be caught. or at least I couldn't manage to do it, last time I tried. | 16:49:54 |
@ulrikstrid:matrix.org | It's for a custom project outside of nixpkgs | 17:12:41 |
toonn | Would recursive Nix be able to do it? | 17:12:48 |
| 23 May 2022 |
| Tassilo Tanneberger joined the room. | 06:44:49 |
| growpotkin ( Alex Ameen ) joined the room. | 18:08:16 |
| 26 May 2022 |
| @aktaboot:tchncs.de joined the room. | 15:13:24 |
| 27 May 2022 |
kenran_ | Is there a way to "do --no-sandbox" for a single hydra job in a flake project (more specifically, it's a nixosTest that I have to build without sandboxing)? | 11:55:22 |
kenran_ | * Is there a way to "do --no-sandbox" for a single hydra job in a flake project (more specifically, it's a (dependency of a) nixosTest that I have to build without sandboxing)? | 11:55:57 |
@grahamc:nixos.org | no | 13:28:16 |
kenran_ | Hum, well. Guess it's time to finally somehow magically get rid of the one non-sandboxed stupid Clojure+Nodejs build some way or another :) | 13:32:18 |