Skip to content

how can i build gitbutler on nix #4340

Answered by ndom91
ymolists asked this question in Q&A
Jul 12, 2024 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

@ymolists so actually that's more or less worked, except for the appimage bundling part at the end. I can't get this to work on NixOS either, but if you check out the directory /home/ymo/3rdp/github/gitbutler/gitbutler-git/gitbutler.devbr/target/release/bundle/appimage/, you should have the unbundled appImage ocntents there. You can use the nix appimage-run package to execute the unbundled directory with appimage-run -w . (to run the cwd).

Anyway, long story short, that's how you can run that build. But in general I'd just recommend using the premade gitbutler nixpkgs package and/or the AppImage that we ship.

The AppImage should work out of the box, but in case you're using the nixpkgs ve…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@ymolists
Comment options

@ndom91
Comment options

ndom91 Jul 15, 2024
Collaborator

@ymolists
Comment options

@ndom91
Comment options

ndom91 Jul 17, 2024
Collaborator

Answer selected by ymolists
@ymolists
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
distribution Something related to the packaged binaries, app-images and installers help wanted We would love you to get involved.
3 participants