!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

915 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
14 Aug 2024
@jade_:matrix.orgjade_oh sorry i think you also need --force-recurse. check the help output for if there's anything else you might need23:05:11
15 Aug 2024
@aurorasystem:matrix.orgAurora Ennie Seidr (she / her) changed their display name from Aurora Ennie Seidr to Aurora Ennie Seidr (she / her).04:18:18
@black_desk:matrix.orgblack_desk joined the room.12:00:09
@kjeremy:matrix.orgkjeremy

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_:matrix.orgjade_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
@joerg:thalheim.ioMic92
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
@joerg:thalheim.ioMic92
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:defenestrate.itmatthewcroughan
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
@joerg:thalheim.ioMic92 matthewcroughan - going to nix.camp: nix eval --experimental-features nix-command --read-only --impure --json --show on what flake? 18:55:16
@matthewcroughan:defenestrate.itmatthewcroughanmust be nixpkgs18:56:02
@matthewcroughan:defenestrate.itmatthewcroughanSometimes it works you see, hard to reproduce18:56:42
@matthewcroughan:defenestrate.itmatthewcroughanI'll check next time it happens18:57:06
@joerg:thalheim.ioMic92 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:matrix.orgkjeremy 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
@joerg:thalheim.ioMic92 kjeremy: https://github.com/Mic92/dotfiles/blob/e350b875e9ac424624c32faa846e9e6825c70cdc/flake.nix#L174 19:19:01
@joerg:thalheim.ioMic92you can expose your flake in .#checks like this19:19:09
@joerg:thalheim.ioMic92and than just evaluate that.19:19:13
@joerg:thalheim.ioMic92This is what I do for all my projects19:19:20
@joerg:thalheim.ioMic92I would be interested how you using nix-eval-jobs, because most people would combine it with something else19:20:14
@kjeremy:matrix.orgkjeremy 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
@joerg:thalheim.ioMic92 kjeremy: maybe https://github.com/Mic92/nix-fast-build gets you closer to this. 19:32:18
@joerg:thalheim.ioMic92It's less bare-bone19:32:25
@joerg:thalheim.ioMic92in any case check the tuning guide for nix-eval-jobs, so you stay within your memory bounds.19:33:21
@lordmzte:mzte.deLordMZTE changed their display name from LordMZTE ⚡️ to LordMZTE.22:24:26
17 Aug 2024
@joerg:thalheim.ioMic92Hi. 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#L2706:04:41
@joerg:thalheim.ioMic92This will than trigger github ci also on pull requests like this: https://github.com/NixOS/nix/pull/1131606:05:13
@joerg:thalheim.ioMic92Currently I am trying to figure out how to make email aliases in nixos.org or some other domain the foundation controls06:05:44
@joerg:thalheim.ioMic92Or we just use this? https://docs.mergify.com/workflow/actions/backport/#combining-automatic-merge06:08:08
@joerg:thalheim.ioMic92 tomberek: works great: https://github.com/NixOS/nix/pull/11321 07:24:28
@tomberek:matrix.orgtomberekI bypassed with open/close.... but this should be nice. thx07:26:45

Show newer messages


Back to Room ListRoom Version: 6