!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

909 Members
For people hacking on the Nix package manager itself190 Servers

Load older messages


SenderMessageTime
18 Mar 2025
@Ericson2314:matrix.orgJohn Ericsonoh it was never called from a destructure18:43:58
@Ericson2314:matrix.orgJohn Ericson Las: not sure if this is necessary, but if you split the coroutine part at the end of amDone 18:45:29
@Ericson2314:matrix.orgJohn Ericson make two functions on Goal and amDone calls both 18:45:37
@Ericson2314:matrix.orgJohn Ericsonthen this change can be 100% mechanical18:45:47
@Las:matrix.orgLas
In reply to @Ericson2314:matrix.org
Las: not sure if this is necessary, but if you split the coroutine part at the end of amDone
You mean the bug workaround?
18:46:09
@Ericson2314:matrix.orgJohn Ericsonwell the large point is I think we should live review both PRs commit by commit, take commits from each and land them18:46:53
@Ericson2314:matrix.orgJohn Ericsonso interview as necessary18:47:00
@Ericson2314:matrix.orgJohn Ericson I mean split amDone where cleanup used to be called 18:47:24
@Ericson2314:matrix.orgJohn Ericson amDonePart1 (returns void), amDonePart2 (co_return Done {}) 18:48:10
@Las:matrix.orgLasBut why18:48:20
@Ericson2314:matrix.orgJohn Ericson it might not be necessary, but see it could be important to call worker.removeGoal(shared_from_this()) before putting the goal in an invalid state 18:49:08
@Ericson2314:matrix.orgJohn Ericsonit is unclear to me whether it is possible for two threads to be messing with a goal at once18:49:24
@Ericson2314:matrix.orgJohn Ericsonbut if the goal is removed from worker, and from waitees/waiters, then I don't think another thread can find the goal very easily18:49:50
@Ericson2314:matrix.orgJohn EricsonIf Robert is busy today, well we at least have the Nix meeting tomorrow 18:50:11
@Las:matrix.orgLasYou can’t move around the worker interactions freely because you might mutate the data structures that are being iterated over at the same time18:50:38
@Las:matrix.orgLasMaybe not an issue there though18:50:48
@Las:matrix.orgLasGoals are single threaded18:51:12
@Las:matrix.orgLasMaybe in 2035 Mobile Element will support threads so I can respond it a thread18:52:03
@Las:matrix.orgLas * 18:52:12
@emilazy:matrix.orgemily(Element X does)18:54:10
@k900:0upti.meK900Normal Element does too18:54:27
@k900:0upti.meK900Though we generally try to not use threads in public rooms because there's still clients that don't display them properly or at all18:54:45
@Las:matrix.orgLasI can’t make one on iOS I think?19:03:25
@Ericson2314:matrix.orgJohn EricsonI never saw any mutex or something that made it obviously single threaded, but yes I believe that is the intent19:08:15
@Las:matrix.orgLasSealed state was a mistake19:14:37
@Las:matrix.orgLas * 21:56:23
@Las:matrix.orgLas * 21:56:29
19 Mar 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) changed their display name from xokdvium to Sergei Zimmerman (xokdvium).21:12:20
@Ericson2314:matrix.orgJohn Ericson
+(shell.sh:21) nix shell -f shell-hello.nix hello-symlink -c hello
+(shell.sh:21) grep 'Hello World'
+(/home/jcericson/src/nix/master/tests/functional/common/functions.sh:341) checkGrepArgs 'Hello World'
+(/home/jcericson/src/nix/master/tests/functional/common/functions.sh:290) local arg
+(/home/jcericson/src/nix/master/tests/functional/common/functions.sh:291) for arg in "$@"
+(/home/jcericson/src/nix/master/tests/functional/common/functions.sh:292) [[ Hello World != \H\e\l\l\o\ \W\o\r\l\d ]]
+(/home/jcericson/src/nix/master/tests/functional/common/functions.sh:342) command grep 'Hello World'
this derivation will be built:
  /tmp/nix-shell.FPcQP5/nix-test/main/shell/store/bbqd8bbcr4i32nahm7ygqhwpwj3xfidm-hello-symlink.drv
building '/tmp/nix-shell.FPcQP5/nix-test/main/shell/store/bbqd8bbcr4i32nahm7ygqhwpwj3xfidm-hello-symlink.drv'...
error: 'tmp' is too short to be a valid store path
21:41:30
20 Mar 2025
@roberthensing:matrix.orgRobert Hensing (roberth) Martin Schwaighofer: https://github.com/NixOS/nix/issues/12361 13:40:36

Show newer messages


Back to Room ListRoom Version: 6