!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
3 Aug 2025
@ma27:nicht-so.sexyma27

so, the quickfix to make the test green again:

diff --git a/tests/functional2/testlib/fixtures/nix.py b/tests/functional2/testlib/fixtures/nix.py
index fa459c41a..9edb9a60b 100644
--- a/tests/functional2/testlib/fixtures/nix.py
+++ b/tests/functional2/testlib/fixtures/nix.py
@@ -132,5 +132,7 @@ def nix(tmp_path: Path, env: ManagedEnv) -> Generator[Nix, Any, None]:
     # when things are done using the nix store, the permissions for the store are read only
     # after the test was executed, we set the permissions to rwx (write being the important part)
     # for pytest to be able to delete the files during cleanup
+    import os
+    env.path.prepend(os.getenv("PATH"))
     cmd = Command(argv=["chmod", "-R", "+w", str(tmp_path.absolute())], _env=env)
     cmd.run().ok()

this is obviously not what we want, but this confirms that the Command/Env machinery is misbehaving here. No idea why I saw no complaints in the sandbox build though 🤷

20:22:49
@raitobezarius:matrix.orgraitobezarius
In reply to @weethet:catgirl.cloud
raitobezarius: how do i read this?
https://buildkite.com/lix-project/lix/builds/3673/steps/canvas?sid=01986f84-2c33-4e02-9c8e-6ad9e83250c9
you look at jobs rather
20:23:25
@raitobezarius:matrix.orgraitobezariusfunctional-sandbox-certificate-authorities has broken20:23:35
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping.... thanks, that could also be the way to stupidly fix the darwin crash...20:24:42
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingstill curious though why the urls mismatch in the narstore test...20:25:35
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingat least locally for me20:25:46
@weethet:catgirl.cloudWeetHet
In reply to @raitobezarius:matrix.org
functional-sandbox-certificate-authorities has broken
I'm trying to understand which of the tests has
22:03:20
@raitobezarius:matrix.orgraitobezariusthis is the test22:03:28
@raitobezarius:matrix.orgraitobezariusah22:03:30
@raitobezarius:matrix.orgraitobezariuswell the last one very probably which returns 0?22:03:39
@raitobezarius:matrix.orgraitobezarius* well the last one very probably which returns nonzero 0?22:03:43
@raitobezarius:matrix.orgraitobezarius* well the last one very probably which returns nonzero?22:03:45
@weethet:catgirl.cloudWeetHet The last statement in the log is return 0 22:05:14
@raitobezarius:matrix.orgraitobezariussounds like the grepQuiet failed then22:08:19
@raitobezarius:matrix.orgraitobezariusand that the expectation that the cert present is in the sandbox is wrong for the fixed-output case22:08:31
@raitobezarius:matrix.orgraitobezariusyep it's CERT_missing_IN_SANDBOX22:09:07
@raitobezarius:matrix.orgraitobezarius(cannot be seen, you need to run the test suite manually and remove the grepQuiet)22:09:17
4 Aug 2025
@quantenzitrone:matrix.org@quantenzitrone:matrix.org left the room.02:31:24
@lunaphied:lunaphied.meLunaphiedHas anyone tried much to get distcc working with Lix?23:18:00
@raitobezarius:matrix.orgraitobezariusafaik no23:29:09
@raitobezarius:matrix.orgraitobezariusccache maybe23:29:12
@raitobezarius:matrix.orgraitobezariusbut not sure23:29:14
5 Aug 2025
@isabel:isabelroses.comisabel changed their profile picture.09:49:44
@raitobezarius:matrix.orgraitobezarius emily i think you missed a fix in the chown-to-user integration test in https://gerrit.lix.systems/c/lix/+/3869/2 18:05:41
@emilazy:matrix.orgemilylikely18:06:34
@emilazy:matrix.orgemilybut it seems we're going with the other branch anyway?18:06:41
@emilazy:matrix.orgemilydoes anyone have a pointer to the test that overflows the Darwin sandbox even with the splitting stuff?23:24:58
@emilazy:matrix.orgemilyI think I have levelled up enough on the sandbox API that I may know how to fix it23:25:05
6 Aug 2025
@raitobezarius:matrix.orgraitobezarius.oO(Final Fantasy XX : Nix Rebirth)03:06:23
@lunaphied:lunaphied.meLunaphied~~For the last time his name is Noctus~~07:17:13

Show newer messages


Back to Room ListRoom Version: 10