-
Hi folks. Thank you so much for this amazing tool. I am trying to see if i can build this tool on nix. I noticed there is a flake file here but nothing about how to use it to either install the tool or build using it. Can anyone please help ? Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
I am glad you like it :)! Maybe @ndom91 can help here. |
Beta Was this translation helpful? Give feedback.
-
Hey yeah so this nix flake file just contains a development shell config. So you can run To run a production version of GitButler on NixOS, I recommend using the appimage releases |
Beta Was this translation helpful? Give feedback.
@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 withappimage-run -w .
(to run thecwd
).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…