| 20 Mar 2022 |
Mic92 | and hydra-unstable | 18:15:52 |
Mic92 | I think | 18:15:53 |
das_j | we have this:
package = (pkgs.hydra-unstable.overrideAttrs (oA: rec {
name = "${oA.pname}-${version}";
version = "unstable-2022-03-10";
src = pkgs.fetchFromGitHub {
owner = "nixos";
repo = "hydra";
rev = "b67608964c1dae26f7b31925fd2f32c76d8c6ca6";
sha256 = "sha256-ASORHIoPAf/SsHZUmuvvp1i15J8oPluUCMe8jozJdss=";
};
patches = let
prPatches = [
# Kill buttons
{ id = "836"; sha256 = "sha256-A0Hl4n3B7PQFtJhS1wBGYLjoabiT059TBNU3+lD5nIw="; }
# GitInput: Avoid fetch if rev is available
{ id = "868"; sha256 = "sha256-dTFGWhfiANs5Z5ScmZxFaCZPZfAVBJOceEOvVMHShSw="; }
# queue-runner status in topbar
{ id = "869"; sha256 = "sha256-iFpMV4Z5VE7YmvnAHAydUQYk0FNKNarPYqRHEAuT4/w="; }
# tailon
{ id = "957"; sha256 = "sha256-1XZpDVf1OXLptWIIMhZjO2QVNoE95pPhLC/7bparZF0="; }
# Make eval restriction an option instead of forcing
{ id = "888"; sha256 = "sha256-TCJEmTkycUWTx7U433jaGzKwpbCyNdXqiv9UfhsHnfs="; }
# improved UI
{ id = "965"; sha256 = "sha256-bOtHGYa1r4CUZVRyRET6C/qRp4L4lKSbezbtVqfVA8o="; }
# Dynamic RunCommand
# Does not apply
#{ id = "1103"; sha256 = "sha256-AaWdKiFuxNscw9TwPQAeQG/xcFb4YN1EFVqRLu00S5w="; }
# Fix local store detection and related issues
{ id = "1156"; sha256 = "sha256-uSCmJ8AESSFLcCrcPA2AS9UFo+w5mhZB7zFqb1k/sJA="; }
# jobsets: Show status of next evaluation as emoji
{ id = "1157"; sha256 = "sha256-VtpKSLh/Xy31lJUnlONK8rt370sIzMm7fjxCWKvQdiY="; }
# Make the use of substitutes on builders configurable
{ id = "1158"; sha256 = "sha256-K9FUlJZ5VTAwJYzmCaHuj+R4AYk4HDH510sRQ2LMfUw="; }
];
in oA.patches ++ map (p: pkgs.fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/NixOS/hydra/pull/${p.id}.patch";
inherit (p) sha256;
includes = [
"src/**"
"*.am"
"*.ac"
"bootstrap"
];
}) prPatches;
buildInputs = oA.buildInputs ++ (with pkgs.perlPackages; [
CatalystAuthenticationStoreLDAP
CatalystPluginPrometheusTiny
FileSlurper
IPCRun3
LinuxInotify2
ListSomeUtils
ParallelForkManager
ReadonlyX
UUID4Tiny
]);
doCheck = false;
# Insert the correct version into the wrapper
postInstall = ''
${oA.postInstall}
sed -i 's/^.*HYDRA_RELEASE.*$/export HYDRA_RELEASE="${removePrefix "unstable-" version}"/g' $out/bin/hydra-server
'';
})).override {
nix = config.nix.package;
};
| 18:16:55 |
das_j | works with nix 2.7 | 18:17:03 |
das_j | ummm where's the 2.7 stuff ajs124? | 18:17:33 |
das_j | I thought there was yet another PR pinned for that | 18:17:43 |
ajs124 | remember how you can fetch commits of forks through their "parent" repo on github? | 18:18:11 |
das_j | boi | 18:18:21 |
cole-h | Yeah, the commit of the hydra repo used is pointing to the 2.7 fixing pr :P | 18:18:53 |
Mic92 | Mhm. I think I wait a bit. Mayflower also has an open PR. Let's see what happens in a week. | 18:18:57 |
cole-h | (Line 8 pasted above) | 18:19:03 |
hexa | hydra.override { mayflowerFlavor = false; helsinkiFlavor = true; } when | 19:13:09 |
| 21 Mar 2022 |
mei π& | hydra.override { flavor = "helsinki"; }? | 03:04:11 |
hexa | for clarity: this as in-joke π | 03:10:45 |
hexa | * for clarity: this was in-joke π | 03:10:48 |
hexa | * for clarity: this was in-joke π I'm not proposing we add anything even close to that. Instead maybe both firms that are avid hydra users can review each others changes and get their usage closer to nixpkgs π | 03:11:30 |
das_j | In reply to @hexa:lossy.network for clarity: this was in-joke π I'm not proposing we add anything even close to that. Instead maybe both firms that are avid hydra users can review each others changes and get their usage closer to nixpkgs π It's not that easy when none of the companies can actually merge stuff and when the main consumer of the hydra codebase is a huge group that (for good reason) get angry when you break their CI :/ | 09:44:38 |
ma27 | In reply to @grahamc:nixos.org ma27: could I give you access to a larger amount of data for testing? :) I highly doubt that my personal infrastructure will be able to handle this storage-wise, so perhaps we need to find a different testing environment... what sizes are we talking about? | 13:13:08 |
@grahamc:nixos.org | I mean how about I give you access to my local copy | 13:13:34 |
@grahamc:nixos.org | are you using tailscale? | 13:18:40 |
| 23 Mar 2022 |
sterni | You can't set eval settings like allowed-uris per jobset, right? | 14:46:18 |
das_j | Right | 15:04:36 |
das_j | oh sorry, I was mistaken. I don't know myself actually | 15:05:14 |
das_j | * oh sorry, I was mistaken. I don't actually know | 15:05:25 |
ajs124 | if that's possible, I'd like to know, because I'm sure it might come in handy | 15:09:30 |
sterni | we're uh doing this now: https://github.com/openlab-aux/vuizvui/issues/50#issuecomment-1076456373 | 15:48:12 |
ajs124 | ah. we just disable restrict-eval π¬ | 15:49:42 |
cransom | yeah. i too have been dragging along a patch ever since day 1 of hydra to disable strict eval. | 16:25:01 |
das_j | If only there was an option for that⦠| 18:18:34 |
| 25 Mar 2022 |
| @ulrikstrid:matrix.org joined the room. | 09:03:02 |