!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

937 Members
For people hacking on the Nix package manager itself194 Servers

Load older messages


SenderMessageTime
26 Jan 2025
@emilazy:matrix.orgemilywhy are they not rooted in the store anyway?16:05:17
@emilazy:matrix.orgemilyusing a path that might exist, in a namespace not owned by Nix, seems weird.16:05:29
@trofi:matrix.orgtrofiThey are invalid paths anyway :)16:16:51
@aloisw:julia0815.de@aloisw:julia0815.de
In reply to @emilazy:matrix.org
using a path that might exist, in a namespace not owned by Nix, seems weird.
If they are unpredictable, they're very unlikely to exist.
17:19:04
@aloisw:julia0815.de@aloisw:julia0815.de (Unlike, say /__corepkgs__ if you really want to fool Nix.) 17:19:18
@emilazy:matrix.orgemily do I want to know what /__corepkgs__ is for? 18:10:22
@jade_:matrix.orgjade_
In reply to @emilazy:matrix.org
do I want to know what /__corepkgs__ is for?
hack for implementing <nix/fetchurl.nix> being resolved
18:19:03
@emilazy:matrix.orgemilyew.18:19:16
@jade_:matrix.orgjade_we can probably deprecate it or implement it some other way eventually but yeah :/18:20:08
@jade_:matrix.orgjade_it's kind of the least of the problems in the evaluator18:20:23
@puck:puck.moepuck
In reply to @emilazy:matrix.org
using a path that might exist, in a namespace not owned by Nix, seems weird.
it's /, followed by the nixbase32 encoding of sha256(nix-upstream-output:{store path hash of the drv}:{drv name}{"-" + output name, if not "out"}); i'm not really sure why it's /-prefixed when e.g. builtins.placeholder isn't
18:37:43
@emilazy:matrix.orgemily huh. builtins.placeholder "x" is /-prefixed for me. I never realized it used that format though 18:38:17
@puck:puck.moepuckoh, wait, dangit, yeah, it is18:38:29
@puck:puck.moepuckoops18:38:35
@puck:puck.moepucki assume it's to avoid accidentally matching the middle of a path string? but still18:39:05
@puck:puck.moepuck22d6e31fc6a9de2ee424984e629ccd2e394ba512, gives no clear reason as to why, so who knows19:22:12
29 Jan 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan to matthewcroughan (already in Brussels).14:12:37
@rieschla:matrix.orgrieschla joined the room.17:44:01
30 Jan 2025
@laurynasp:matrix.org@laurynasp:matrix.org left the room.08:53:00
@elikoga:matrix.orgelikoga

I think there was a regression with nix flake remove, a test that was previously possible to write is now no longer possible to write.

See https://github.com/NixOS/nix/issues/12380 for the regression and

For the previous test: https://github.com/NixOS/nix/blob/79801c7de0c931825546cd4bd9c61aada4e995a0/tests/nix-profile.sh#L65

Which is not possible now: https://github.com/NixOS/nix/blob/68f3b56b183ca12b64b7fcf0f31dffd62adfcf55/tests/functional/nix-profile.sh#L65

Both are part of https://github.com/NixOS/nix/pull/8956 which was approved Sept 2023, but not merged

Anyone have any clues on how I can write the test line anyways? Maybe I missed something.

13:10:06
31 Jan 2025
@sinan:sinanmohd.comsinan changed their display name from sinan to Sinan (comfy).02:54:41
@cafkafk:fem.gg@cafkafk:fem.gg changed their profile picture.05:06:12
@tomog:matrix.orgtomf joined the room.10:42:33
@ss:someonex.netSomeoneSerge (matrix works sometimes) changed their display name from SomeoneSerge to SomeoneSerge (Bruxelles).19:32:05
@raboof:matrix.orgraboof changed their display name from raboof to raboof@FOSDEM.23:55:27
1 Feb 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan (already in Brussels) to matthewcroughan (FOSDEM).09:48:35
2 Feb 2025
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (FOSDEM).16:04:17
@raboof:matrix.orgraboof changed their display name from raboof@FOSDEM to raboof.22:17:43
3 Feb 2025
@Ericson2314:matrix.orgJohn Ericson

103 files changed, 2787 insertions(+), 1220 deletions(-)

04:26:18
@Ericson2314:matrix.orgJohn EricsonI'm sorry!04:26:23

Show newer messages


Back to Room ListRoom Version: 6