!sBfrWMVsLoSyFTCkNv:nixos.org

OfBorg

171 Members
Number of builds and evals in queue: https://nix.ci/prometheus/graph?g0.expr=ofborg_queue_evaluator_waiting&g0.tab=1&g0.stacked=0&g0.show_exemplars=0&g0.range_input=2h&g1.expr=ofborg_queue_builder_waiting%7Barch!~%22.*-lowprior%22%7D&g1.tab=1&g1.stacked=0&g1.show_exemplars=0&g1.range_input=1w63 Servers

Load older messages


SenderMessageTime
25 Oct 2023
@artturin:matrix.orgArtturingithub shows it was in 2.14.004:04:38
@artturin:matrix.orgArtturinwhile 23.05 is on 2.13.604:05:06
@artturin:matrix.orgArtturinchanging the nix version in flake 2_14,2_15 works 2_16 fails04:10:03
@artturin:matrix.orgArtturin * changing the nix version in flake 2_15 works 2_16 fails 04:11:15
@artturin:matrix.orgArtturin good 2.15.2(.3 too probably), bad 2.16.1(and .0)+ 04:16:59
@artturin:matrix.orgArtturin * good 2.15.2(.3 too probably), bad 2.16.1(and .0)+ 04:17:07
@artturin:matrix.orgArtturin

Can't the non-failure with

derivation {
  name = "sandbox-violation";
  system = builtins.currentSystem;
  src = ./../../../lib;
  builder = builtins.storePath <bash>;
  args = [ "-c" "echo hi; echo ${toString builtins.currentTime} > $out" ];
}

in depth0/depth1/depth3/default.nix in nixpkgs

$ nix shell "nixpkgs#nixVersions.nix_2_16" --command nix-build depth0/depth1/depth3/default.nix -I "bash=$(command -v bash)" --option restrict-eval true
error: access to absolute path '/home/artturin/nixgits/my-nixpkgs/depth0/depth1/depth3/default.nix' is forbidden in restricted mode
04:38:26
@artturin:matrix.orgArtturin *

Can't repro the non-failure with

derivation {
  name = "sandbox-violation";
  system = builtins.currentSystem;
  src = ./../../../lib;
  builder = builtins.storePath <bash>;
  args = [ "-c" "echo hi; echo ${toString builtins.currentTime} > $out" ];
}

in depth0/depth1/depth3/default.nix in nixpkgs

$ nix shell "nixpkgs#nixVersions.nix_2_16" --command nix-build depth0/depth1/depth3/default.nix -I "bash=$(command -v bash)" --option restrict-eval true
error: access to absolute path '/home/artturin/nixgits/my-nixpkgs/depth0/depth1/depth3/default.nix' is forbidden in restricted mode
04:38:36
26 Oct 2023
@pederbs:pvv.ntnu.nopbsds error: writing to file: No space left on device on aarch64-darwin: https://logs.ofborg.org/?key=nixos/nixpkgs.257760&attempt_id=2f9c3138-239d-428b-980a-22b9604619b1 11:21:20
@hexa:lossy.networkhexa
In reply to @hexa:lossy.network
https://github.com/NixOS/nixpkgs/pull/263041/checks?check_run_id=17994139695
recurrening event
11:48:57
@cole-h:matrix.orgcole-hSigh… I don’t suppose anybody knows how to write a timer like systemd has for launchd? 😅13:09:29
@lily:lily.flowersLily Foster
In reply to @cole-h:matrix.org
Sigh… I don’t suppose anybody knows how to write a timer like systemd has for launchd? 😅
i actually do since i have before. if you want me to whip up something. i'm assuming you're just wanting periodic garbage collection?
13:13:46
@lily:lily.flowersLily Fosteractually are these using nix-darwin right now? I forget. I've admittedly never used it but i imagine it has a way to specify timers?13:14:14
@adam:robins.wtf@adam:robins.wtfhere's a nix-darwin timer: https://codeberg.org/adamcstephens/dotfiles/src/commit/fd44a309d17aab3a363f5ee978922a6365e19830/parts/darwin.nix#L9313:16:06
@adam:robins.wtf@adam:robins.wtfhome-manager has similar launchd options, so you could use HM instead13:18:04
@adam:robins.wtf@adam:robins.wtf* home-manager has similar launchd options, so you could use HM instead for user timers13:18:16
@lily:lily.flowersLily Foster
In reply to @adam:robins.wtf
home-manager has similar launchd options, so you could use HM instead
i imagine those are tied to user sessions?
13:19:49
@adam:robins.wtf@adam:robins.wtfyes, sorry didn't realize this was the ofborg room :)13:20:03
@adam:robins.wtf@adam:robins.wtf for GC, nix-darwin has nix.gc options 13:20:13
@lily:lily.flowersLily Foster
In reply to @adam:robins.wtf
for GC, nix-darwin has nix.gc options
i figured it might
13:20:22
@adam:robins.wtf@adam:robins.wtfhttps://daiderd.com/nix-darwin/manual/index.html#opt-nix.gc.automatic13:20:35
@cole-h:matrix.orgcole-h
In reply to @lily:lily.flowers
i actually do since i have before. if you want me to whip up something. i'm assuming you're just wanting periodic garbage collection?
Actually no 😅 The issue is because we’re building (some) x86 and arm Darwin on the same machines
13:40:27
@cole-h:matrix.orgcole-hGC is doing fine, it’s the Rosetta stuff that never gets cleaned up unless I manually run a command13:40:52
@cole-h:matrix.orgcole-h
In reply to @adam:robins.wtf
here's a nix-darwin timer: https://codeberg.org/adamcstephens/dotfiles/src/commit/fd44a309d17aab3a363f5ee978922a6365e19830/parts/darwin.nix#L93
So this is probably what I'm looking for; thanks!
13:44:00
@cole-h:matrix.orgcole-h
$ ssh ... df -h
Filesystem       Size   Used  Avail Capacity iused    ifree %iused  Mounted on
/dev/disk3s1s1  228Gi  8.9Gi   59Mi   100%  356091   599320   37%   /
$ # run the cleanup command
$ df -h
Filesystem       Size   Used  Avail Capacity iused     ifree %iused  Mounted on
/dev/disk3s1s1  228Gi  8.9Gi   20Gi    31%  356091 208468320    0%   /

not the most cleanup I've seen from it before but "lol"

13:46:25
@lily:lily.flowersLily Foster
In reply to @cole-h:matrix.org
$ ssh ... df -h
Filesystem       Size   Used  Avail Capacity iused    ifree %iused  Mounted on
/dev/disk3s1s1  228Gi  8.9Gi   59Mi   100%  356091   599320   37%   /
$ # run the cleanup command
$ df -h
Filesystem       Size   Used  Avail Capacity iused     ifree %iused  Mounted on
/dev/disk3s1s1  228Gi  8.9Gi   20Gi    31%  356091 208468320    0%   /

not the most cleanup I've seen from it before but "lol"

wait what's the cleanup command? i didn't know you had to clean up rosetta stuff 🤔
13:59:55
@cole-h:matrix.orgcole-h
sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -P -minsize 0 /System/Volumes/Data
14:23:50
@artturin:matrix.orgArtturin
In reply to @cole-h:matrix.org
sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -P -minsize 0 /System/Volumes/Data
https://github.com/search?q=%2FSystem%2FLibrary%2FFilesystems%2Fapfs.fs%2FContents%2FResources%2Fapfs.util+-P+-minsize+0+%2FSystem%2FVolumes%2FData&type=code
21:21:10
@artturin:matrix.orgArtturin
In reply to @cole-h:matrix.org
sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -P -minsize 0 /System/Volumes/Data
* https://github.com/search?q=%2FSystem%2FLibrary%2FFilesystems%2Fapfs.fs%2FContents%2FResources%2Fapfs.util+-P+-minsize+0+%2FSystem%2FVolumes%2FData+NOT+is%3Afork&type=code
21:22:38
29 Oct 2023
@k900:0upti.meK900Interesting failure-adjacent mode here actually19:53:00

Show newer messages


Back to Room ListRoom Version: 6