!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

411 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.136 Servers

Load older messages


SenderMessageTime
30 Aug 2025
@emilazy:matrix.orgemily``tests/functional2/lang/builtins.fromTOML/in.nix` is probably not a good name for the expected-to-fail timestamps test23:48:50
@emilazy:matrix.orgemily * tests/functional2/lang/builtins.fromTOML/in.nix is probably not a good name for the expected-to-fail timestamps test 23:48:56
31 Aug 2025
@piegames:flausch.socialpiegames
In reply to @emilazy:matrix.org
what's the issue?
Basically we have two fromTOML test folders in functional2, and another test in functional, which looks kinda duplicate but not really
06:18:30
@piegames:flausch.socialpiegamesAnd I remember stuff having been renamed and deleted here, so I think it might be a rebase artifact (even though I never saw any conflict), but overall I'm a bit confused what the currently intended end state for those tests is06:19:30
@emilazy:matrix.orgemily you might be thinking of https://gerrit.lix.systems/c/lix/+/3917/11? 06:20:01
@emilazy:matrix.orgemily IIRC there is a weird thing where functional had one checking that timestamps work (with the experimental extension that has since been removed) and functional2 had one checking that they don't work (with the extension disabled), or something like that. 06:20:26
@emilazy:matrix.orgemilythe extension is gone so all timestamp tests should be testing the failure case06:20:37
@emilazy:matrix.orgemilyI don't think there should be any strict duplicates left06:21:03
@piegames:flausch.socialpiegames nix: error while loading shared libraries: liblowdown.so.1: cannot open shared object file: No such file or directory nix dev build doesn't start anymore for me (I already rebased and reloaded env and rebuilt 07:20:20
@piegames:flausch.socialpiegames * nix: error while loading shared libraries: liblowdown.so.1: cannot open shared object file: No such file or directory nix dev build doesn't start anymore for me (I already rebased and reloaded env and rebuilt) 07:20:23
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)

What the actual fuck:

echo "1 + 2 + 5" | nix-instantiate --eval -E 'import (builtins.fetchurl { url = "file:///proc/self/fd/0"; })' --tarball-ttl 0
15:00:48
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) *

What the actual fuck:

echo "1 + 2 + 5" | nix-instantiate --eval -E 'import (builtins.fetchurl { url = "file:///proc/self/fd/0"; })' --tarball-ttl 0

15:01:05
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) And if the tarball-ttl isn't passed the result is cached... 15:01:50
@aloisw:julia0815.dealoiswLooks like working as intended tbh.15:04:16
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Well yeah, though I doubt it's by design15:05:11
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)However this does actually expose the evaluation order. Depending on in which order thunks are forced this would produce different results hmmm15:06:47
@aloisw:julia0815.dealoiswThat's by far not the only thing exposing evaluation order. Other ways to read special files, symbol table order, …16:20:14
@aloisw:julia0815.dealoiswIt will also not work with pure eval mode, so this doesn't even look like silently breaking any purity guarantees.16:21:49
@aloisw:julia0815.dealoiswIf anything I would've expected it to fail due to some bullshit bug.16:22:33
@emilazy:matrix.orgemily I think builtins.fetchGit with a rev could break purity. 16:34:47
@emilazy:matrix.orgemilymaybe.16:34:58
@emilazy:matrix.orgemilybut builtin fetchers are just sort of dodgy for strict purity in general I suppose16:36:12
@aloisw:julia0815.dealoiswThat's indeed something that can be used for breaking purity too, by possibly being dependent on the repository configuration.16:37:09
@emilazy:matrix.orgemilyI was thinking just forging an object and hoping nobody is checking the hash16:43:33
@aloisw:julia0815.dealoiswI would hope Git would check the hash on clone but indeed I don't know for sure.16:46:47
@emilazy:matrix.orgemily I thought libgit2 was involved somewhere. 17:41:15
@emilazy:matrix.orgemily(maybe not in Lix?)17:41:19
@emilazy:matrix.orgemily (but hopefully libgit2 does. but I think some of this stuff may be configuration-tweakable.) 17:41:32
@emilazy:matrix.orgemily * (but hopefully libgit2 does too. but I think some of this stuff may be configuration-tweakable.) 17:41:37
@aloisw:julia0815.dealoiswNot in Lix, it was one of the regression-causing things in 2.20 that was not backported.17:41:38

Show newer messages


Back to Room ListRoom Version: 10