!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
4 Jan 2025
@yaelxi:matrix.orgYaelXi (She/Her) joined the room.08:52:18
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @rickynils:nixos.dev
@tomberek:matrix.org: Do you specifically need to build Nix for another prefix, not just set https://nix.dev/manual/nix/2.25/command-ref/env-common#env-NIX_STORE_DIR ?
Yeah you do, the env-var is just for the chroot mode isn't it?
09:25:41
@matthewcroughan:defenestrate.itmatthewcroughanIf the prefix dir differs from the runtime store dir then won't nix decide to use a chroot to fake the functionality?09:26:16
@rickynils:nixos.devRickard NilssonNo, I think NIX_STORE_DIR is used during evaluation, and then it is up to you to point Nix to a store that uses that prefix. It can be a chroot store, but it can also be a remote store. nixbuild.net actually supports any store prefix you throw at it (needs `--store ssh-ng://eu.nixbuild.net`).09:59:57
@rickynils:nixos.devRickard NilssonYou probably need a chroot store for evaluation (`--eval-store`)10:01:12
@rickynils:nixos.devRickard NilssonI've never tried running a local `nix-daemon` with a custom `NIX_STORE_DIR` though. Maybe it works, maybe not.10:03:57
@tomberek:matrix.orgtomberekCorrect. This is a compile-time option, or three of them it seems like. I was hoping someone else had already done it. There is also an open issue to properly document doing it.16:37:10
7 Jan 2025
@ruroruro:matrix.orgruro joined the room.03:44:02
@immae:immae.euimmae left the room.12:09:22
@ozmodeuz:matrix.orgoz joined the room.13:10:56
@arshpratap3101:matrix.orgArsh Pratap joined the room.17:29:10
@rsynnest:matrix.org@rsynnest:matrix.org joined the room.21:25:53
@rsynnest:matrix.org@rsynnest:matrix.orghi all, I was wondering where I might find production build logs for a package from nixpkgs? (specifically mysql84 or mysql80) I was poking around Github Actions and https://hydra.nixos.org/ but I'm not seeing where an actual build happens21:29:35
@rsynnest:matrix.org@rsynnest:matrix.orgAh ok I think I see them in Hydra, but hydra's search keeps timing out for me so I can't find a specific package21:30:38
@k900:0upti.meK900https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.mysql.x86_64-linux21:40:19
@renato-trevisan:matrix.orgRenato Trevisan set a profile picture.21:58:26
@rsynnest:matrix.org@rsynnest:matrix.orgthank you K900! I'm looking for aarch64-darwin builds but I can't seem to find those. Tried messing with URL a bit but no luck. Does Hydra do any MacOS builds? For example: https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.mysql.aarch64-darwin/all22:09:24
@rsynnest:matrix.org@rsynnest:matrix.orgah nvm found it! https://hydra.nixos.org/job/nixpkgs/trunk/mysql84.aarch64-darwin22:15:38
9 Jan 2025
@yaelxi:matrix.orgYaelXi (She/Her) changed their display name from yaelxi to YaelXi (She/Her).05:25:07
@yaelxi:matrix.orgYaelXi (She/Her) set a profile picture.05:32:37
@hexa:lossy.networkhexa
Jan 09 20:00:06 elated-minsky nix-gc-start[442857]: error: cannot delete path '/nix/store/lh9x1vqajm6d64qv0ybj0ycjr60jp0xh-unit-dbus.service' because it is in use by '/nix/store/0wv2qbyw0p6pb4p4wfxglm2yw7sb1y9n-user-units'
Jan 09 20:00:06 elated-minsky nix-gc-start[442857]: 190 store paths deleted, 1225.93 MiB freed
Jan 09 20:00:06 elated-minsky systemd[1]: nix-gc.service: Main process exited, code=exited, status=1/FAILURE
Jan 09 20:00:06 elated-minsky systemd[1]: nix-gc.service: Failed with result 'exit-code'.
Jan 09 20:00:06 elated-minsky systemd[1]: Failed to start Nix Garbage Collector.
Jan 09 20:00:06 elated-minsky systemd[1]: nix-gc.service: Consumed 5.253s CPU time, 63.2M memory peak, 48K read from disk.
20:21:30
@hexa:lossy.networkhexahey, can someone tell me why nix-collect-garbage seemingly stops after being unable to delete a path, when we in fact did not ask it o gc any specific path all?20:22:10
@hexa:lossy.networkhexalike, it is fine that it cannot delete it, continue with something else then?20:22:21
@picnoir:alternativebit.frPicnoirhttps://github.com/NixOS/nix/pull/11922 <= it might be an occurence of that20:34:06
@hexa:lossy.networkhexamerged in 2024/11 and not in a release? 🤔21:04:33
@kristijan.zic:matrix.orgKristijanZic joined the room.21:39:02
@dgrig:erethon.comdgrig joined the room.22:16:20
11 Jan 2025
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.16:45:29
@sinan:sinanmohd.comsinan changed their profile picture.11:36:33
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.16:46:32

Show newer messages


Back to Room ListRoom Version: 6