!zghijEASpYQWYFzriI:nixos.org

Hydra

394 Members
110 Servers

Load older messages


SenderMessageTime
25 Jan 2022
@cole-h:matrix.orgcole-h Maybe there could be a migration-list file that runs through the files enumerated inside it sequentially, and then we can give the migrations more descriptive names as well? 16:36:35
@cole-h:matrix.orgcole-hDunno if postgres has a way to "import" statements from another file, but that might be a way to go16:36:53
@grahamc:nixos.org@grahamc:nixos.orgyeah that could maybe work16:40:49
26 Jan 2022
@hexa:lossy.networkhexa joined the room.23:00:13
27 Jan 2022
@amanda:camnet.siteAmanda (she/her)Was hydra/nix recently changed to delegate -source downloads to remote builders as well? I've got hydra failing for my hosts now because nixbuild.net doesn't allow network access on the building, and now lots of packages are failing to pull their source.00:12:39
@grahamc:nixos.org@grahamc:nixos.orgI'm fairly sure Hydra has always performed source fetches on remotes00:34:51
@grahamc:nixos.org@grahamc:nixos.org except for sources fetched via builtins, like builtins.fetchGit, Amanda (she/her) 00:35:24
@amanda:camnet.siteAmanda (she/her)Hrm. Not sure why it worked before then, 00:36:21
@grahamc:nixos.org@grahamc:nixos.orghere's an example from 2018, of a build being run on a remote: https://hydra.nixos.org/build/76132668#tabs-buildsteps00:36:33
@grahamc:nixos.org@grahamc:nixos.org * here's an example from 2018, of a source build being run on a remote: https://hydra.nixos.org/build/76132668#tabs-buildsteps00:36:46
@grahamc:nixos.org@grahamc:nixos.orgdid you make any notable updates?00:37:45
@grahamc:nixos.org@grahamc:nixos.org can you paste the nix show-derivation /nix/store/foo.drv for the build you wanted to run locally but is now running remotely? 00:38:23
@amanda:camnet.siteAmanda (she/her)It started a couple weeks ago I noticed some stuff started failing to build due to DNS lookup failures, came to a head with today's weekly update, when I emailed nixbuild.net's support they informed me that they do stricter sandboxing, disallowing network entirely, and that's why it's been failing to do DNS ipdare00:41:59
@amanda:camnet.siteAmanda (she/her)* It started a couple weeks ago I noticed some stuff started failing to build due to DNS lookup failures, came to a head with today's weekly update, when I emailed nixbuild.net's support they informed me that they do stricter sandboxing, disallowing network entirely, and that's why it's been failing to do DNS queries00:42:25
@andreas.schraegle:helsinki-systems.deajs124maybe some fetcher used to have preferlocalbuild or one of those and now doesn't?00:42:56
@grahamc:nixos.org@grahamc:nixos.orgthat sounds interesting00:43:12
@grahamc:nixos.org@grahamc:nixos.org it'd probably be reasonable to make Nix have a feature called fixed-output to make it possible to redirect them to specific machines 00:45:20
@amanda:camnet.siteAmanda (she/her)

one of the relevent .drv's (just now got back in front of my laptop)

{
  "/nix/store/pmiv6z78s41ggicy9ii0x6f88zsgvqpv-google-chrome-stable_97.0.4692.99-1_amd64.deb.drv": {
    "outputs": {
      "out": {
        "path": "/nix/store/krzs44gfzsi8649x53jlajayv1svhpfi-google-chrome-stable_97.0.4692.99-1_amd64.deb",
        "hashAlgo": "sha256",
        "hash": "48334071fa2462698301231e9d63b647f558eecc6e60a6d9cfc71805a1564ea1"
      }
    },
    "inputSrcs": [
      "/nix/store/720ikgx7yaapyb8hvi8lkicjqwzcx3xr-builder.sh"
    ],
    "inputDrvs": {
      "/nix/store/cp60vfc62rc7rzn4ic1jv0z5rjy9b9v1-stdenv-linux.drv": [
        "out"
      ],
      "/nix/store/jv7i8m6h1lagiz8rl11prgn76vqvhr1s-mirrors-list.drv": [
        "out"
      ],
      "/nix/store/r8fpf45j4g634yvdb6sbnp4n62vq6p7x-bash-5.1-p12.drv": [
        "out"
      ],
      "/nix/store/s94w6q7nbzs2iyhd67j8sp6gcr62xkgz-curl-7.81.0.drv": [
        "dev"
      ]
    },
    "system": "x86_64-linux",
    "builder": "/nix/store/2kh3c4v2vf6d6xg6c9n8zvfpwf3zzwca-bash-5.1-p12/bin/bash",
    "args": [
      "-e",
      "/nix/store/720ikgx7yaapyb8hvi8lkicjqwzcx3xr-builder.sh"
    ],
    "env": {
      "SSL_CERT_FILE": "/no-cert-file.crt",
      "buildInputs": "",
      "builder": "/nix/store/2kh3c4v2vf6d6xg6c9n8zvfpwf3zzwca-bash-5.1-p12/bin/bash",
      "configureFlags": "",
      "curlOpts": "",
      "depsBuildBuild": "",
      "depsBuildBuildPropagated": "",
      "depsBuildTarget": "",
      "depsBuildTargetPropagated": "",
      "depsHostHost": "",
      "depsHostHostPropagated": "",
      "depsTargetTarget": "",
      "depsTargetTargetPropagated": "",
      "doCheck": "",
      "doInstallCheck": "",
      "downloadToTemp": "",
      "executable": "",
      "impureEnvVars": "http_proxy https_proxy ftp_proxy all_proxy no_proxy NIX_CURL_FLAGS NIX_HASHED_MIRRORS NIX_CONNECT_TIMEOUT NIX_MIRRORS_alsa NIX_MIRRORS_apache NIX_MIRRORS_bioc NIX_MIRRORS_bitlbee NIX_MIRRORS_centos NIX_MIRRORS_cpan NIX_MIRRORS_debian NIX_MIRRORS_fedora NIX_MIRRORS_gcc NIX_MIRRORS_gentoo NIX_MIRRORS_gnome NIX_MIRRORS_gnu NIX_MIRRORS_gnupg NIX_MIRRORS_hackage NIX_MIRRORS_hashedMirrors NIX_MIRRORS_imagemagick NIX_MIRRORS_kde NIX_MIRRORS_kernel NIX_MIRRORS_luarocks NIX_MIRRORS_maven NIX_MIRRORS_metalab NIX_MIRRORS_mozilla NIX_MIRRORS_mysql NIX_MIRRORS_openbsd NIX_MIRRORS_opensuse NIX_MIRRORS_osdn NIX_MIRRORS_postgresql NIX_MIRRORS_pypi NIX_MIRRORS_roy NIX_MIRRORS_sageupstream NIX_MIRRORS_samba NIX_MIRRORS_savannah NIX_MIRRORS_sourceforge NIX_MIRRORS_steamrt NIX_MIRRORS_testpypi NIX_MIRRORS_ubuntu NIX_MIRRORS_xfce NIX_MIRRORS_xorg",
      "mirrorsFile": "/nix/store/jvis5bmcfdwmbn5bng2xzflbig2m927q-mirrors-list",
      "name": "google-chrome-stable_97.0.4692.99-1_amd64.deb",
      "nativeBuildInputs": "/nix/store/3hdc7rmp3qc3dnagwgz2c97rkc4cljrj-curl-7.81.0-dev",
      "nixpkgsVersion": "22.05",
      "out": "/nix/store/krzs44gfzsi8649x53jlajayv1svhpfi-google-chrome-stable_97.0.4692.99-1_amd64.deb",
      "outputHash": "18afashha667rzcscq3frkp5ixa7nrirs7i3061njqi4z9ql0cs8",
      "outputHashAlgo": "sha256",
      "outputHashMode": "flat",
      "outputs": "out",
      "patches": "",
      "postFetch": "",
      "preferHashedMirrors": "1",
      "preferLocalBuild": "1",
      "propagatedBuildInputs": "",
      "propagatedNativeBuildInputs": "",
      "showURLs": "",
      "stdenv": "/nix/store/3dmq0987l5n5xybkv181flma7jaz2vh2-stdenv-linux",
      "strictDeps": "",
      "system": "x86_64-linux",
      "urls": "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_97.0.4692.99-1_amd64.deb http://95.31.35.30/chrome/pool/main/g/google-chrome-stable/google-chrome-stable_97.0.4692.99-1_amd64.deb http://mirror.pcbeta.com/google/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_97.0.4692.99-1_amd64.deb http://repo.fdzh.org/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_97.0.4692.99-1_amd64.deb"
    }
  }
}
00:46:12
@grahamc:nixos.org@grahamc:nixos.orgpreferLocalBuild is true ..00:49:43
@grahamc:nixos.org@grahamc:nixos.orgI'm not sure if Hydra respects that00:49:53
@amanda:camnet.siteAmanda (she/her)hrm, appears snot since that['s one oof the builds that failed due to the network sandbox00:50:21
@amanda:camnet.siteAmanda (she/her) * hrm, appears not since that's one oof the builds that failed due to the network sandbox00:50:48
@grahamc:nixos.org@grahamc:nixos.orghum this is weird00:50:48
@grahamc:nixos.org@grahamc:nixos.org Amanda (she/her): I assume you have localhost listed in a machines file? 00:51:44
@amanda:camnet.siteAmanda (she/her)Yes, but just for i686-linux since they don't support that yet00:52:06
@grahamc:nixos.org@grahamc:nixos.orgyou might make it support x86_64-linux and add the "local" feature00:52:26
@grahamc:nixos.org@grahamc:nixos.org
        if (step->preferLocalBuild)
            features.insert("local");

00:53:01
@amanda:camnet.siteAmanda (she/her)ah00:53:07
@amanda:camnet.siteAmanda (she/her)But then it'll also get assigned proper builds as well won't it? Guess I should get around to replacing the fan in that machine anyway...00:53:43
@grahamc:nixos.org@grahamc:nixos.orgit gets a bit tricky with i686 being neede00:53:58

Show newer messages


Back to Room ListRoom Version: 6