!PbtOpdWBSRFbEZRLIf:numtide.com

Nix Community Projects

668 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/issues169 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
3 Aug 2024
@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

Show newer messages


Back to Room ListRoom Version: 6