!PbtOpdWBSRFbEZRLIf:numtide.com

Nix Community Projects

664 Members
Meta discussions related to https://nix-community.org. (For project specific discussions use github issues or projects own matrix channel). Need help from an admin? Open an issue on https://github.com/nix-community/infra/issues167 Servers

Load older messages


SenderMessageTime
25 Sep 2021
@ryantm:matrix.orgryantmI only recently started looking for updatescripts to run.01:24:37
@adis:blad.isadisbladisHmm, maybe I could circumvent that01:24:48
@adis:blad.isadisbladis buildInputs = [ wrapGAppsHook gtk3 gnome.adwaita-icon-theme ]; <- is the only reference to gnome 01:25:10
@adis:blad.isadisbladis So we could just change it in all-packages.nix and inject adwaita-icon-theme separately? 01:25:37
@ryantm:matrix.orgryantm021-09-11T16:36:36 Old version 90.0b6" not present in master01:25:43
@ryantm:matrix.orgryantmhttps://r.ryantm.com/log/updatescript/firefox-beta-bin-unwrapped/2021-09-11.log 01:25:57
@ryantm:matrix.orgryantmThat was the error before the gnome skip01:26:14
@adis:blad.isadisbladis Hm, that's not really an error though 01:26:53
@adis:blad.isadisbladis ryantm: I mean it shouldn't be. Since the version is not explicitly set in the Nix expression but in the json metadata files 01:28:53
@ryantm:matrix.orgryantmYeah maybe that check should be ignored for updatescripts ones!01:30:04
@adis:blad.isadisbladis👍️01:30:44
@adis:blad.isadisbladis

ryantm: Looks like that should already be the case?


    unless hasUpdateScript do
      assertNotUpdatedOn updateEnv derivationFile "master"
      assertNotUpdatedOn updateEnv derivationFile "staging"
      assertNotUpdatedOn updateEnv derivationFile "staging-next"
01:38:27
@adis:blad.isadisbladis

Ahh, there is another conditional:


    when hasUpdateScript do
      assertNotUpdatedOn updateEnv' derivationFile "master"
      assertNotUpdatedOn updateEnv' derivationFile "staging"
      assertNotUpdatedOn updateEnv' derivationFile "staging-next"
01:39:43
* @adis:blad.isadisbladis is not the right person to do this, and especially not right now01:42:57
@ryantm:matrix.orgryantmSo, I think probably it needs to be fixed to not look at the file, but look at the version of the attrpath.01:43:24
@adis:blad.isadisbladisI was thinking the same01:43:50
@adis:blad.isadisbladisBut my Haskell-fu is weak01:43:58
@ryantm:matrix.orgryantmIt's not going to be super easy to fix, because it was using Git.show to look at other branches, instead of checking them out.01:47:28
@adis:blad.isadisbladisThat's OK, it's not like we're in a hurry :)02:27:58
@adis:blad.isadisbladisI've removed the references to gnome in the file, so when that version assert is fixed things should start working again02:29:06
@adis:blad.isadisbladis * I've removed the references to gnome in the file, so when that version assert is fixed things should start working02:29:13
@mic92:nixos.devMic92now that sops-nix also handles, age encryption, I would start migrating https://github.com/nix-community/infra to it, ok ?16:22:00
@mic92:nixos.devMic92That means we no longer have missing secrets after reboot16:22:31
@mic92:nixos.devMic92and we can easier migrate away from sops16:22:43
@mic92:nixos.devMic92*nixops16:22:49
@ryantm:matrix.orgryantmok.18:26:07
@adis:blad.isadisbladisSGTM19:27:00
@nix-community-bot:nixos.devnix-community-bot [nix-community/infra] Mic92 pushed to sops-nix: migrate to sops-nix - https://github.com/nix-community/infra/commit/0c07216370ee96155e776b60f52008bc15c9653b 20:36:27
@nix-community-bot:nixos.devnix-community-bot [nix-community/infra] Mic92 opened pull request #124: migrate to sops-nix [open] - https://github.com/nix-community/infra/pull/124 20:40:02
@nix-community-bot:nixos.devnix-community-bot [nix-community/infra] Mic92 edited pull request #124: migrate to sops-nix [open] - https://github.com/nix-community/infra/pull/124 20:47:52

Show newer messages


Back to Room ListRoom Version: 6