!PbtOpdWBSRFbEZRLIf:numtide.com

Nix Community Projects

604 Members
Meta discussions related to https://nix-community.org. (For project specific discussions use github issues or projects own matrix channel). Need help from an admin? Open an issue on https://github.com/nix-community/infra/issues158 Servers

Load older messages


SenderMessageTime
2 Aug 2024
@travis-staton:matrix.org@travis-staton:matrix.org joined the room.15:45:53
@mattsturg:matrix.orgMatt 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
@mattsturg:matrix.orgMatt SturgeonSeems to be working now after a reboot15:09:55
@toonn:matrix.orgtoonn StackOverflow recommends against using bare repos like that, FYI. I checkout an empty commit instead. 15:31:58
@mattsturg:matrix.orgMatt 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:matrix.orgtoonn MattSturgeon: This answer has the reasoning at the end, https://stackoverflow.com/a/54408181 15:56:44
@toonn:matrix.orgtoonn I don't understand the refspec details so I figured I'd better not mess with it. 15:57:07
@toonn:matrix.orgtoonn 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@cole-h:matrix.org left the room.22:16:29
7 Aug 2024
@taffisher:matrix.org@taffisher:matrix.org left the room.19:13:01
8 Aug 2024
@mattsturg:matrix.orgMatt 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
@khaneliman:matrix.orgAustin Horstman joined the room.21:18:11
9 Aug 2024
@zowoq:matrix.orgzowoqI'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
@mattsturg:matrix.orgMatt 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
@joerg:thalheim.ioMic92Maybe detecting if something is already building the same derivation would be better 15:51:22
@joerg:thalheim.ioMic92Also if the build still evaluates we could cancel it with: https://docs.buildbot.net/4.0.0/manual/configuration/services/old_build_canceller.html15:52:44
10 Aug 2024
@khaneliman:matrix.orgAustin Horstman changed their display name from Khaneliman to Austin Horstman.03:50:05
@emilazy:matrix.orgemilybuild-box rebooting >10 hours into LibreOffice builds 😱11:43:57
@joerg:thalheim.ioMic92oh no. New kernel update I assume.14:36:45
@paki23:matrix.orgdocRekdso I have an error where the hash of some input of a poetry lock file isn't somehow fixed17:42:34
@paki23:matrix.orgdocRekdso how do I understand what input that is17:42:52
@paki23:matrix.orgdocRekdand also how to fix it17:43:02
@paki23:matrix.orgdocRekdpoetry2nix17:43:07
11 Aug 2024
@interru:chat.interru.io@interru:chat.interru.io left the room.15:47:33
13 Aug 2024
@sandro:supersandro.deSandro👀 could someone? https://github.com/nix-community/nix-ld-rs/issues/7712:59:07
@nat:nekopon.plnat changed their profile picture.15:06:42
@nat:nekopon.plnat changed their display name from nat ⋆ ˚。⋆୨୧˚ to nat.15:06:45
@glepage:matrix.orgGaé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:matrix.orgzowoqI've sent an invite.22:05:49
@khaneliman:matrix.orgAustin Horstman Thanks zowoq 22:08:47

Show newer messages


Back to Room ListRoom Version: 6