| 14 Aug 2024 |
jade_ | oh sorry i think you also need --force-recurse. check the help output for if there's anything else you might need | 23:05:11 |
| 15 Aug 2024 |
| Aurora Ennie Seidr (she / her) changed their display name from Aurora Ennie Seidr to Aurora Ennie Seidr (she / her). | 04:18:18 |
| black_desk joined the room. | 12:00:09 |
kjeremy | In that case it just tried to evaluate "":
[jkolb@nixos:~/ara/mrak-robot-2]$ nix run nixpkgs#nix-eval-jobs -- --flake . --force-recurse
warning: unknown setting 'allowed-users'
warning: unknown setting 'extra-allowed-users'
warning: unknown setting 'trusted-users'
warning: `--gc-roots-dir' not specified
warning: Git tree '/home/jkolb/ara/mrak-robot-2' is dirty
Using saved setting for 'extra-substituters = https://ros.cachix.org ssh-ng://nix-ssh@10.0.36.99' from ~/.local/share/nix/trusted-settings.json.
Using saved setting for 'extra-trusted-public-keys = ros.cachix.org-1:dSyZxI8geDCJrwgvCOHDoAfOm5sV1wCPjBkKL+38Rvo=' from ~/.local/share/nix/trusted-settings.json.
error: flake 'git+file:///home/jkolb/ara/mrak-robot-2' does not provide attribute
error: worker error: error: flake 'git+file:///home/jkolb/ara/mrak-robot-2' does not provide attribute
| 15:57:57 |
jade_ | well that's some n-e-j brokenness. maybe want to use some subattr like packages so it doesn't infinite recurse into nixpkgs or something, but idk what the error it's giving you means, and I've never seen that before. | 18:55:08 |
| 16 Aug 2024 |
Mic92 | In reply to @kjeremy:matrix.org
In that case it just tried to evaluate "":
[jkolb@nixos:~/ara/mrak-robot-2]$ nix run nixpkgs#nix-eval-jobs -- --flake . --force-recurse
warning: unknown setting 'allowed-users'
warning: unknown setting 'extra-allowed-users'
warning: unknown setting 'trusted-users'
warning: `--gc-roots-dir' not specified
warning: Git tree '/home/jkolb/ara/mrak-robot-2' is dirty
Using saved setting for 'extra-substituters = https://ros.cachix.org ssh-ng://nix-ssh@10.0.36.99' from ~/.local/share/nix/trusted-settings.json.
Using saved setting for 'extra-trusted-public-keys = ros.cachix.org-1:dSyZxI8geDCJrwgvCOHDoAfOm5sV1wCPjBkKL+38Rvo=' from ~/.local/share/nix/trusted-settings.json.
error: flake 'git+file:///home/jkolb/ara/mrak-robot-2' does not provide attribute
error: worker error: error: flake 'git+file:///home/jkolb/ara/mrak-robot-2' does not provide attribute
What are you trying to evaluate? | 18:51:28 |
Mic92 | In reply to @matthewcroughan:defenestrate.it
Getting a lot more segfaults on Nix 2.24.1:
[427950.394360] nix[2944108]: segfault at b ip 00007fa37f4e7eef sp 00007ffc0d3f3420 error 4 in libgc.so.1.5.3[7fa37f4d1000+1e000] likely on CPU 1 (core 1, socket 0)
[427950.394374] Code: 8d 3d 35 22 01 00 48 8d 0c 49 48 c1 e1 04 48 8b 84 de d8 15 00 00 48 8b 0c 0f 48 8d 0c c1 4c 8b 21 4d 85 e4 0f 84 cb 00 00 00 <49> 8b 3c 24 48 89 39 85 ed 75 26 48 c1 e0 04 48 01 46 40 85 d2 75
[428102.596958] nix[2944942]: segfault at b ip 00007f28e5fbeeef sp 00007ffd714db9a0 error 4 in libgc.so.1.5.3[7f28e5fa8000+1e000] likely on CPU 6 (core 2, socket 0)
[428102.596976] Code: 8d 3d 35 22 01 00 48 8d 0c 49 48 c1 e1 04 48 8b 84 de d8 15 00 00 48 8b 0c 0f 48 8d 0c c1 4c 8b 21 4d 85 e4 0f 84 cb 00 00 00 <49> 8b 3c 24 48 89 39 85 ed 75 26 48 c1 e0 04 48 01 46 40 85 d2 75
[428442.052601] nix[2969540]: segfault at b ip 00007f13977beeef sp 00007ffe40fc2850 error 4 in libgc.so.1.5.3[7f13977a8000+1e000] likely on CPU 1 (core 1, socket 0)
[428442.052613] Code: 8d 3d 35 22 01 00 48 8d 0c 49 48 c1 e1 04 48 8b 84 de d8 15 00 00 48 8b 0c 0f 48 8d 0c c1 4c 8b 21 4d 85 e4 0f 84 cb 00 00 00 <49> 8b 3c 24 48 89 39 85 ed 75 26 48 c1 e0 04 48 01 46 40 85 d2 75
[428868.656235] nix[3006565]: segfault at b ip 00007f80bd39aeef sp 00007ffea6bbdc10 error 4 in libgc.so.1.5.3[7f80bd384000+1e000] likely on CPU 4 (core 0, socket 0)
[428868.656247] Code: 8d 3d 35 22 01 00 48 8d 0c 49 48 c1 e1 04 48 8b 84 de d8 15 00 00 48 8b 0c 0f 48 8d 0c c1 4c 8b 21 4d 85 e4 0f 84 cb 00 00 00 <49> 8b 3c 24 48 89 39 85 ed 75 26 48 c1 e0 04 48 01 46 40 85 d2 75
[429441.941985] nix[3037918]: segfault at b ip 00007f4a2b94ceef sp 00007ffceeddc570 error 4 in libgc.so.1.5.3[7f4a2b936000+1e000] likely on CPU 4 (core 0, socket 0)
[429441.941998] Code: 8d 3d 35 22 01 00 48 8d 0c 49 48 c1 e1 04 48 8b 84 de d8 15 00 00 48 8b 0c 0f 48 8d 0c c1 4c 8b 21 4d 85 e4 0f 84 cb 00 00 00 <49> 8b 3c 24 48 89 39 85 ed 75 26 48 c1 e0 04 48 01 46 40 85 d2 75
[429497.775939] nix[3038329]: segfault at b ip 00007f0675020eef sp 00007fffa0850100 error 4 in libgc.so.1.5.3[7f067500a000+1e000] likely on CPU 4 (core 0, socket 0)
[429497.775951] Code: 8d 3d 35 22 01 00 48 8d 0c 49 48 c1 e1 04 48 8b 84 de d8 15 00 00 48 8b 0c 0f 48 8d 0c c1 4c 8b 21 4d 85 e4 0f 84 cb 00 00 00 <49> 8b 3c 24 48 89 39 85 ed 75 26 48 c1 e0 04 48 01 46 40 85 d2 75
segfaults doing what? | 18:52:43 |
matthewcroughan | In reply to @joerg:thalheim.io segfaults doing what? Just opening up nvim, which then spawns nil, which spawns nix, leading to https://termbin.com/miur | 18:53:25 |
Mic92 | matthewcroughan - going to nix.camp: nix eval --experimental-features nix-command --read-only --impure --json --show on what flake? | 18:55:16 |
matthewcroughan | must be nixpkgs | 18:56:02 |
matthewcroughan | Sometimes it works you see, hard to reproduce | 18:56:42 |
matthewcroughan | I'll check next time it happens | 18:57:06 |
Mic92 | if a command like for i in $(seq 1 100); do nix run github:NixOS/nix -- eval --experimental-features nix-command --read-only --impure --json --show; done reproduces it, that would be a start. | 18:58:16 |
kjeremy | Mic92: I was trying to do whatever evaluation that nix flake check does since that is the functionality that I am trying to replace. I figured out that i can pass it .#packages though and it works well enough | 19:16:57 |
Mic92 | kjeremy: https://github.com/Mic92/dotfiles/blob/e350b875e9ac424624c32faa846e9e6825c70cdc/flake.nix#L174 | 19:19:01 |
Mic92 | you can expose your flake in .#checks like this | 19:19:09 |
Mic92 | and than just evaluate that. | 19:19:13 |
Mic92 | This is what I do for all my projects | 19:19:20 |
Mic92 | I would be interested how you using nix-eval-jobs, because most people would combine it with something else | 19:20:14 |
kjeremy | I'm just looking at it as a replacement for nix flake check right now since that OOMs for me with 64gb of RAM | 19:25:41 |
Mic92 | kjeremy: maybe https://github.com/Mic92/nix-fast-build gets you closer to this. | 19:32:18 |
Mic92 | It's less bare-bone | 19:32:25 |
Mic92 | in any case check the tuning guide for nix-eval-jobs, so you stay within your memory bounds. | 19:33:21 |
| LordMZTE changed their display name from LordMZTE ⚡️ to LordMZTE. | 22:24:26 |
| 17 Aug 2024 |
Mic92 | Hi. I would like to fix the backport action by placing the github token of an unprivileged github account here: https://github.com/NixOS/nix/blob/b62e5e889ab941c93a9205513adf61b2cee00eeb/.github/workflows/backport.yml#L27 | 06:04:41 |
Mic92 | This will than trigger github ci also on pull requests like this: https://github.com/NixOS/nix/pull/11316 | 06:05:13 |
Mic92 | Currently I am trying to figure out how to make email aliases in nixos.org or some other domain the foundation controls | 06:05:44 |
Mic92 | Or we just use this? https://docs.mergify.com/workflow/actions/backport/#combining-automatic-merge | 06:08:08 |
Mic92 | tomberek: works great: https://github.com/NixOS/nix/pull/11321 | 07:24:28 |
tomberek | I bypassed with open/close.... but this should be nice. thx | 07:26:45 |