!zghijEASpYQWYFzriI:nixos.org

Hydra

377 Members
109 Servers

Load older messages


SenderMessageTime
29 Jun 2023
@sandro:supersandro.deSandroAnyone knows if any other CI solution has something like that?12:29:11
@sandro:supersandro.deSandroI mean I could adopt releases-small or so and plot all my packages into that 🤔12:29:31
@toonn:matrix.orgtoonn I'm not sure if there is anything. But splitting a single derivation into multiple would work everywhere. I'm not entirely sure why Nixpkgs errs on the side of more monolithic derivations. 12:32:29
@casey:hubns.netcransom

if you were super big on always adding gcroots, you could add a postbuildhook that would add a root for every build you had.

  postBuildHook = pkgs.writeScript "nix-copy-paths" ''
    export IFS=' '
    mkdir -p /nix/var/nix/gcroots/nixcache
    for path in $OUT_PATHS; do
      nix-store --add-root /nix/var/nix/gcroots/nixcache/$(basename $path) -r $path
    done
  '';
15:48:02
@casey:hubns.netcransomthat's a nix postbuildhook, apart from hydra.15:48:15
30 Jun 2023
@sandro:supersandro.deSandroI would need to clean them up manually, right?01:48:04
@fabaff:matrix.orgfabaff joined the room.14:22:47
1 Jul 2023
@lotte:chir.rs@lotte:chir.rs changed their profile picture.09:47:24
3 Jul 2023
@m52957:matrix.orgNate joined the room.18:01:50
4 Jul 2023
@tomh:riotchat.de@tomh:riotchat.de left the room.14:26:16
5 Jul 2023
@rimuru:gentoo.chat@rimuru:gentoo.chat changed their profile picture.14:20:06
@sogled:matrix.orgAtnNn joined the room.18:19:58
6 Jul 2023
@iamhayley:yatrix.orgHayley joined the room.20:16:47
7 Jul 2023
@lotte:chir.rs@lotte:chir.rs changed their profile picture.05:36:35
8 Jul 2023
@d3routr:cyberwa.red3routr joined the room.13:59:18
@easel:matrix.org@easel:matrix.org joined the room.16:30:14
9 Jul 2023
@hacker1024:matrix.orghacker1024 joined the room.10:53:38
@hacker1024:matrix.orghacker1024 Hi all, I am trying to make a declarative project. I am trying to wrap my head around the declInput argument. Why do so many projects cat it? 10:57:41
10 Jul 2023
@janne.hess:helsinki-systems.dedas_j
In reply to @hacker1024:matrix.org
Hi all, I am trying to make a declarative project. I am trying to wrap my head around the declInput argument. Why do so many projects cat it?
Depends on what your declInput is. For me it's usually a git repo so it's not cat-table
06:58:58
@janne.hess:helsinki-systems.dedas_jdeclInput is what you configure in the "Declarative input type" in the project settings06:59:27
@hacker1024:matrix.orghacker1024Thanks. But what is the purpose of printing it at build time? Take [this one](https://github.com/dhess/pinpon/tree/f4f984f3a45e4239914c912f489fd37110b65d45/nix/jobsets), for example - the input in spec.json is just the repository.07:25:21
@janne.hess:helsinki-systems.dedas_j
In reply to @hacker1024:matrix.org
Thanks. But what is the purpose of printing it at build time? Take [this one](https://github.com/dhess/pinpon/tree/f4f984f3a45e4239914c912f489fd37110b65d45/nix/jobsets), for example - the input in spec.json is just the repository.
I guess debug things
08:16:21
@janne.hess:helsinki-systems.dedas_jBtw if you try hard enough, you don't even need nixpkgs in your declarative spec: https://git.helsinki.tools/helsinki-systems/hydra-nixos/-/blob/master/default.nix#L4408:18:02
@janne.hess:helsinki-systems.dedas_j * Btw if you try hard enough, you don't even need nixpkgs in your declarative spec: https://git.helsinki.tools/helsinki-systems/hydra-nixos/-/blob/master/default.nix#L44 - makes it nicer imo because you don't have to fetch/update nixpkgs every time08:18:34
@hacker1024:matrix.orghacker1024Thanks, that's pretty cool. Another question: Does Hydra have a way to limit all access to logged in users, or do I need to set up a reverse proxy with authentication? In particular I do not want anyone to be able to view output hashes or access our binary cache.23:17:17
@hacker1024:matrix.orghacker1024 * Thanks, that's pretty cool. Another question: Does Hydra have a way to limit all access to logged in users, or do I need to set up a reverse proxy with authentication? In particular I do not want anyone to be able to view build logs or output hashes or access our binary cache.23:17:38
@hacker1024:matrix.orghacker1024 * Thanks, that's pretty cool. Another question: Does Hydra have a way to limit all access to logged in users, or do I need to set up a reverse proxy with authentication? In particular I do not want anyone to be able to view build logs or output hashes, or access our binary cache.23:17:44
11 Jul 2023
@hacker1024:matrix.orghacker1024

How can I stop Hydra from serving my whole system Nix store as a binary cache? I have the following line in my config, but it seems to have no effect at all.

store_uri = file:///var/cache/hydra/nar-cache?secret-key=/path/to/key&want-mass-query=true&compression=zstd&parallel-compression=true
13:25:53
@andreas.schraegle:helsinki-systems.deajs124I think the answer to both those questions is using a reverse proxy in front of it13:44:32
@hacker1024:matrix.orghacker1024I've got Caddy set up doing basic auth, but I don't see how I could use that to only serve the specific derivations I'm building in Hydra (excluding other things I have installed in my system)?13:45:47

Show newer messages


Back to Room ListRoom Version: 6