!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

897 Members
For people hacking on the Nix package manager itself189 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 Jul 2025
@m4dc4pxx:matrix.org@m4dc4pxx:matrix.org

See previous posting :)

Hello! I'm trying to do some nix hacking on macos. I've built nix successfully, but my changes aren't showing up when I run the binary. (I've added logging I'm pretty sure I should see, and its not there.) I suspect its because my system nix uses the multi-user setup and the daemon is not running the binary I built. Is there any solution besides replacing the system nix? Or am I looking in the wrong direction? Appreciate any help!

16:30:35
@dramforever:matrix.orgdramforeveri'm not sure if you need a daemon...16:31:18
@m4dc4pxx:matrix.org@m4dc4pxx:matrix.org I don't want a daemon but I don't know if I have a choice. Previously, running nix-instantiate seemed to defer to the system daemon and did not produce the output I expected. 16:31:23
@dramforever:matrix.orgdramforever i just tried NIX_STORE_DIR=$(pwd)/meow/store NIX_STATE_DIR=$(pwd)/meow/var nix-instantiate --option store local . -A hello 16:32:30
@dramforever:matrix.orgdramforeverthis works, but i'm also on linux16:32:37
@dramforever:matrix.orgdramforeverhopefully it should work on macos16:33:07
@m4dc4pxx:matrix.org@m4dc4pxx:matrix.orgDo you have multi-user nix installed?16:33:29
@m4dc4pxx:matrix.org@m4dc4pxx:matrix.org* Do you have multi-user nix installed/configured?16:33:42
@dramforever:matrix.orgdramforeveryes16:34:17

Show newer messages


Back to Room ListRoom Version: 6