!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

838 Members
For people hacking on the Nix package manager itself183 Servers

Load older messages


SenderMessageTime
11 Jul 2025
@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
@dramforever:matrix.orgdramforever --option store local should override that 16:34:28
@dramforever:matrix.orgdramforever although i think NIX_STORE_DIR also does? but that can't hurt 16:36:33
@dramforever:matrix.orgdramforeveryes i can confirm this works without contacting the daemon16:36:53
@m4dc4pxx:matrix.org@m4dc4pxx:matrix.orgYES! That does it.16:39:06
@m4dc4pxx:matrix.org@m4dc4pxx:matrix.orgI can see updated log messages; previously they were unchanged.16:39:21
@m4dc4pxx:matrix.org@m4dc4pxx:matrix.orgSuper appreciated!16:39:49
@m4dc4pxx:matrix.org@m4dc4pxx:matrix.orgFWIW I think only NIX_STORE_DIR and NIX_STATE_DIR are necessary (as you suspected).16:48:32
@rntpts:synapse.rntpts.derntpts joined the room.17:43:42
@m4dc4pxx:matrix.org@m4dc4pxx:matrix.org left the room.18:37:11
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @m4dc4pxx:matrix.org
FWIW I think only NIX_STORE_DIR and NIX_STATE_DIR are necessary (as you suspected).
You could also use —store with store references, which are URIs (mostly).
21:29:53
12 Jul 2025
@dramforever:matrix.orgdramforever yeah you can probably set it with --store local?something 03:47:54
@hexa:lossy.networkhexahttps://github.com/NixOS/nix/security/advisories/GHSA-qc7j-jgf3-qmhg12:14:53
13 Jul 2025
@sinan:sinanmohd.comsinan changed their profile picture.11:57:01
@sinan:sinanmohd.comsinan 11:57:07
@sinan:sinanmohd.comsinan 11:57:33
@sinan:sinanmohd.comsinan changed their profile picture.11:58:57
@sinan:sinanmohd.comsinan changed their profile picture.12:52:20
@marie:marie.cologneMarie changed their profile picture.20:11:37
@n4ch723hr3r:nope.chatn4ch723hr3r joined the room.22:27:12
14 Jul 2025
@atagen:ch.atagen.coatagen joined the room.03:44:48
@atagen:ch.atagen.coatagen is there some equivalent command to express nix flake update --dry-run ? a list of updateable inputs would be nice but even an exit code would work. if not, would a FR (or perhaps even PR if I can manage it) be acceptable ? 03:46:38
@dramforever:matrix.orgdramforever i don't know if this is close enough but nix flake update --output-lock-file new-flake.lock can generate a new flake.lock to which you can compare the old flake.lock with 04:15:33
@atagen:ch.atagen.coatagenthat'll work nicely, thanks05:24:38

Show newer messages


Back to Room ListRoom Version: 6