Repository navigation
gitbutler: 0.12.16 -> 0.14.4 - #355366
gitbutler: 0.12.16 -> 0.14.4#355366
Conversation
|
Thanks for figuring this one out <3 Will run this through |
|
|
bd462ac to
81521db
Compare
|
Thanks for catching that. My old MBA takes ages to build this 😆 |
|
Result of 1 package failed to build:
|
|
Build error (aarch64-darwin): > Finished cargoCheckHook
> checkPhase completed in 1 minutes 45 seconds
> Running phase: glibPreInstallPhase
> Running phase: glibPreInstallPhase
> Running phase: installPhase
> Executing tauriInstallHook
> mv: cannot stat '/nix/store/4wxc38ls8z07gfrmiqq9zw81zplk740g-gitbutler-0.13.13/Applications/GitButler.app/Contents/MacOS/GitButler': No such file or directory |
81521db to
297e80f
Compare
|
Ah, binary name must have changed there too. Thanks so much :) |
|
Result of 1 package built:
|
No worries, a bit of warmth in these colder months 😆 Sorry for just pasting the build error above without any context; I had to rush off and couldn't provide more details, but I figured what I had would be enough, and if not, then at least it'd be a starting point until I could get back and give more. Thanks again for figuring out what was going on with the rust stuff. And thank you, @sarahec, for providing additional Darwin build information. |
|
Result of 1 package built:
|
297e80f to
0ca309b
Compare
0ca309b to
a42b32c
Compare
|
|
The app now launches and doesn't try to update, but instead shows an error about the list of endpoints being empty. Properly patching this out will probably take me a bit, as they have actually rolled their own updater based on Tauri's APIs Let me know if there is interest in merging this in its current form, though. Might be worth unbreaking the package and bringing it to a supported version with a warning rather than waiting |
|
Hey, is it possible to use the package derivation before it is merged? Sorry, I am really new in NixOS. |
|
You can checkout this branch of Nixpkgs only for this package with something like the following { pkgs, ... }:
let
nixpkgs-gitbutler = fetchTarball "https://github.com/NixOS/nixpkgs/archive/6b2bd7588dfb58281f66c8837e5e5ed92d04862f.tar.gz";
gitbutlerPkgs = import nixpkgs-gitbutler {
inherit (pkgs.stdenv.hostPlatform) system;
inherit (pkgs) config overlays;
};
in
{
environment.systemPackages = [ gitbutlerPkgs.gitbutler ];
}If you're using Flakes, |
|
|
I'm fine with merging it as-is with the updater warning. |
👋 Thank you for helping me with the Gitbutler setup! That was super helpful. I have a follow-up question - how did you get/generate the Flake URL (github:nixos/nixpkgs/6b2bd7588dfb58281f66c8837e5e5ed92d04862f) from the PR? I'd love to learn how to do this myself for future PRs 🙏 |
|
|
IMO the updater can stay for now. Maybe we can ask upstream to add a simple way to disable it.
@phsb5321 It boils down to |
|
If everyone else is good with the warning, then so am I :D Feel free to merge |
6b2bd75 to
f7dbf97
Compare
|
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-24.11
git worktree add -d .worktree/backport-355366-to-release-24.11 origin/release-24.11
cd .worktree/backport-355366-to-release-24.11
git switch --create backport-355366-to-release-24.11
git cherry-pick -x 645b40cef526c13be7cb80545a11a97245206db9 f7dbf97ea5f63a2eec07e762246d79efa00fe1ec |
Closes #335875
Fixes #355157
Supersedes #347819
Part of #354146
Changelog: https://github.com/gitbutlerapp/gitbutler/releases/tag/release%2F0.14.1
Diff: gitbutlerapp/gitbutler@release/0.12.16...release/0.14.1
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.