| 2 Aug 2024 |
| @travis-staton:matrix.org joined the room. | 15:45:53 |
Matt Sturgeon | Just tried using nix-direnv for the first time; it seems it doesn't work with git worktrees?
$ cd nixvim/docs_raw_submodule/
direnv: error /home/matt/nixvim/docs_raw_submodule/.envrc is blocked. Run `direnv allow` to approve its content
$ direnv allow
direnv: loading ~/nixvim/docs_raw_submodule/.envrc
direnv: using flake
error:
… while fetching the input 'git+file:///home/matt/nixvim/docs_raw_submodule'
error: '/home/matt/nixvim/docs_raw_submodule' is not a Git repository
direnv: nix-direnv: Evaluating current devShell failed. Falling back to previous environment!
direnv: export +NIX_DIRENV_DID_FALLBACK ~PATH
In this example ~/nixvim is a "bare" git repo and docs_raw_submodule is a worktree created using git worktree add
| 20:38:22 |
| 3 Aug 2024 |
Matt Sturgeon | Seems to be working now after a reboot | 15:09:55 |
toonn | StackOverflow recommends against using bare repos like that, FYI. I checkout an empty commit instead. | 15:31:58 |
Matt Sturgeon | I used to have the default branch checked out at the top-level and then have feature branches checked out in nested worktrees, but I found it annoying how the nested worktrees showed up as untracked files in the top-level worktree, figured a bare repo was cleaner.
Do you recall why someone on stackoverflow recommended against using a bare checkout? Was it just because some tooling might be expecting a .git dir? I find most tools use libgit or something similar, so it usually isn't an issue.
| 15:44:36 |
toonn | MattSturgeon: This answer has the reasoning at the end, https://stackoverflow.com/a/54408181 | 15:56:44 |
toonn | I don't understand the refspec details so I figured I'd better not mess with it. | 15:57:07 |
toonn | So I have a git alias to checkout an empty commit. Gets pretty much the same result without any caveats I don't properly understand. | 15:57:36 |
| 6 Aug 2024 |
| @cole-h:matrix.org left the room. | 22:16:29 |
| 7 Aug 2024 |
| @taffisher:matrix.org left the room. | 19:13:01 |
| 8 Aug 2024 |
Matt Sturgeon | IDK if the sheer quantity of builds we're currently running in nixvim is contributing, but we're running into buildbot issues with cross-comp/available builders rather frequently, leading to us having to rebuild to get a green checkmark (putting even more strain on resources)...
e.g. this is from a recent build (from this eval):
Failed to find a machine for remote build!
derivation: ycm30n2fwjwycmx3hi21gvn1q4kr04yy-plugins-ui-zen-mode.drv
required (system, features): (aarch64-linux, [])
2 available machines:
(systems, maxjobs, supportedFeatures, mandatoryFeatures)
([aarch64-linux], 80, [benchmark, big-parallel, gccarch-armv8-a, kvm, nixos-test], [])
([aarch64-darwin, x86_64-darwin], 8, [big-parallel], [])
error: a 'aarch64-linux' with features {} is required to build '/nix/store/ycm30n2fwjwycmx3hi21gvn1q4kr04yy-plugins-ui-zen-mode.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
| 21:16:48 |
| Austin Horstman joined the room. | 21:18:11 |
| 9 Aug 2024 |
zowoq | I've seen that occur a few times in other projects on buildbot as well. For now the rebuilds aren't too much strain on our resources. There are plans to hopefully make this less of an issue, e.g. smarter scheduling and making no op rebuilds faster. | 01:43:52 |
Matt Sturgeon |
I've seen that occur a few times in other projects on buildbot as well.
I'm wondering if we can group our tests a little more whether that'd help; that way there'd be a smaller number of bigger builds.
We split them up so much originally to reduce RAM usage. But it's ended up causing other issues, such as many small builds waiting for builders to become available.
For now the rebuilds aren't too much strain on our resources.
That's reassuring!
e.g. smarter scheduling and making no op rebuilds faster.
Yeah only rebuilding the failed builds would be good. Cancelling an eval & its builds when a new one is triggered on the same PR could be worthwhile too, at least on repos where the builds are heavy?
| 09:15:05 |
Mic92 | Maybe detecting if something is already building the same derivation would be better | 15:51:22 |
Mic92 | Also if the build still evaluates we could cancel it with: https://docs.buildbot.net/4.0.0/manual/configuration/services/old_build_canceller.html | 15:52:44 |
| 10 Aug 2024 |
| Austin Horstman changed their display name from Khaneliman to Austin Horstman. | 03:50:05 |
emily | build-box rebooting >10 hours into LibreOffice builds 😱 | 11:43:57 |
Mic92 | oh no. New kernel update I assume. | 14:36:45 |
docRekd | so I have an error where the hash of some input of a poetry lock file isn't somehow fixed | 17:42:34 |
docRekd | so how do I understand what input that is | 17:42:52 |
docRekd | and also how to fix it | 17:43:02 |
docRekd | poetry2nix | 17:43:07 |
| 11 Aug 2024 |
| @interru:chat.interru.io left the room. | 15:47:33 |
| 13 Aug 2024 |
Sandro | 👀 could someone?
https://github.com/nix-community/nix-ld-rs/issues/77 | 12:59:07 |
| nat changed their profile picture. | 15:06:42 |
| nat changed their display name from nat ⋆ ˚。⋆୨୧˚ to nat. | 15:06:45 |
Gaétan Lepage | Hello,
Could someone please add Austin Horstman to the nix-community org so that I can add him as a Nixvim maintainer ? | 21:04:36 |
zowoq | I've sent an invite. | 22:05:49 |
Austin Horstman | Thanks zowoq | 22:08:47 |