!GczNDVOkmUAxrFFnCg:maralorn.de

❄️ Nix Da(rmstadt)

131 Members
Nächstes Treffen: 22.09.2025.(<https://md.darmstadt.ccc.de/nixda-202506>) | Dekoratives Systemmanagement. How dare you … wenn Nix hilft | Use `/roomnick` for silly sentiments. | https://nix-cheatsheet.pixie.homes71 Servers

Load older messages


SenderMessageTime
12 Mar 2026
@tom:dragar.deTom (SC-O-Mat when)https://github.blog/news-insights/company-news/addressing-githubs-recent-availability-issues-2/04:20:53
14 Mar 2026
@hexa:lossy.networkhexa
#!/bin/sh

set -eu

# export its dependency tree from the nix store and compress it into an
# archive that allows reusing the build results between various jobs
# shellcheck disable=SC2046
nix-store --export \
  $(nix-store --query --requisites \
    $(readlink result) \
  ) | \
  nix run \
    --inputs-from ./. \
    nixpkgs#zstd \
    -- \
    -9 \
    -T0 \
    -o "${NIX_CACHE_FILE}.nar.zst"

#!/bin/sh

test -f "${NIX_CACHE_FILE}.nar.zst" || exit 0

# unpack compresed nar archive
nix run --inputs-from ./. nixpkgs#zstd -- --decompress "${NIX_CACHE_FILE}.nar.zst"

# import nar archive into store
nix-store --import < "${NIX_CACHE_FILE}.nar"
00:02:56
@hexa:lossy.networkhexaich nehme abschied von diesen beiden scripts, die mir build results durch den gitlab cache gepiped haben00:03:25
@hexa:lossy.networkhexa👋00:03:31
@hexa:lossy.networkhexawächst jetzt und wird ein attic deployment00:04:01
@robert:funklause.dedotlambdaWieso nicht niks3?00:12:49
@hexa:lossy.networkhexahab ich mir noch nicht weiter angeschaut00:19:19
@hexa:lossy.networkhexamagst du das empfehlen?00:19:40
@hexa:lossy.networkhexabin noch nicht locked in00:19:43
@niklaskorz:matrix.orgniklaskorz
In reply to @robert:funklause.de
Wieso nicht niks3?
Das ist aber nur für Public cache geeignet dachte ich?
07:17:22
@niklaskorz:matrix.orgniklaskorzHm wohl nicht zwingend, muss man halt die normale s3 Integration von Nix benutzen mit S3 accesskey und secret07:19:05
@niklaskorz:matrix.orgniklaskorzAn attic mag ich aber dass es nur JWTs sind die ich auch aus anderer Quelle signieren kann07:20:33
@hexa:lossy.networkhexaan attic mag ich nicht, dass es die JWTs nicht revoken kann11:11:44
@atemu12:matrix.orgAtemuWenn euer paperless auf 25.11 auch nicht baut, paar mal neu starten dann geht es12:04:31
@atemu12:matrix.orgAtemuIch hab mal mein build auf build1 gepushed12:04:51
@atemu12:matrix.orgAtemu Uhh is what I would have said, aber ich kriege error: cannot add path '/nix/store/3qdb7nmqz5g8bhgd4dkcsr4zlgrprxd2-python3.13-psycopg-3.2.12' because it lacks a signature by a trusted key‽ ^^' 12:07:59
@atemu12:matrix.orgAtemudas kann ich mir nicht so recht erklären12:08:22
@atemu12:matrix.orgAtemuWir sind doch alle trusted user dachte ich?12:09:37
@hexa:lossy.networkhexajoa, aber da signed nichts12:14:08
@atemu12:matrix.orgAtemuIst auch nicht signed12:14:52
@atemu12:matrix.orgAtemuDas kommt von meinem local store12:14:59
@atemu12:matrix.orgAtemuAber ich dachte trusted user dürfen auch unsigned uploaden?12:15:18
@atemu12:matrix.orgAtemuWeil sonst würden remote builds ja nicht funktionieren?12:16:10
@atemu12:matrix.orgAtemuOdd, wenn ich den selben path als part eines remote builds uploade, geht das einfach..12:25:20
@hexa:lossy.networkhexadu darfst unsigned uploaden, aber unsigned substitution tut nicht12:53:03
@atemu12:matrix.orgAtemu

Wild.

vlt. require-sigs ausstellen? Ist eh praktisch ohne Effekt bei trusted users.

19:34:28
@maralorn:maralorn.demaralornIch bin ja auf meinen Systemen nicht mehr trusted user.21:42:24
@maralorn:maralorn.demaralornIrgendwer hat mich neulich davon überzeugt, dass das security technisch besser ist.21:44:31
@grimmauld:m.grimmauld.deGrimmauld (any/all)Kannst aber keine remote build starten, falls du nicht auf deinem builder trusted bist22:24:23
@grimmauld:m.grimmauld.deGrimmauld (any/all)* Kannst aber afaik keine remote build starten, falls du nicht auf deinem builder trusted bist22:24:33

Show newer messages


Back to Room ListRoom Version: 6