Nix flake for gitfourchette, the comfortable Git UI by Iliyas Jorio.
Every release is exposed as its own package attribute (gitfourchette_1_6_0), and gitfourchette/default always track the newest.
nix run github:CarlosMendonca/git-fourchette-flakenix shell github:CarlosMendonca/git-fourchette-flake
gitfourchetteEach release is available as gitfourchette_<version>, with dots replaced by underscores:
nix run github:CarlosMendonca/git-fourchette-flake#gitfourchette_1_6_0
nix shell github:CarlosMendonca/git-fourchette-flake#gitfourchette_1_6_0
nix profile install github:CarlosMendonca/git-fourchette-flake#gitfourchette_1_6_0Add the flake as an input:
inputs.gitfourchette.url = "github:CarlosMendonca/git-fourchette-flake";To reuse your existing nixpkgs instead of pulling in a separate one:
inputs.gitfourchette.inputs.nixpkgs.follows = "nixpkgs";Then add a package — either the latest or a pinned version:
environment.systemPackages = [
inputs.gitfourchette.packages.${system}.gitfourchette # newest
# inputs.gitfourchette.packages.${system}.gitfourchette_1_6_0 # a specific release
];
# or in home-manager:
home.packages = [ inputs.gitfourchette.packages.${system}.gitfourchette ];Apply overlays.default to fold every version into your pkgs:
nixpkgs.overlays = [ inputs.gitfourchette.overlays.default ];
# then, anywhere pkgs is in scope:
environment.systemPackages = [
pkgs.gitfourchette # newest
# pkgs.gitfourchette_1_6_0 # a specific release
];Older releases remain reachable through git-tag pinning as well:
inputs.gitfourchette.url = "github:CarlosMendonca/git-fourchette-flake?ref=v1.6.0";git clone https://github.com/CarlosMendonca/git-fourchette-flake
cd git-fourchette-flake
nix build
./result/bin/gitfourchettedata/gitfourchette.json is the single source of truth. To append the latest upstream release (computing its srcHash):
nix run .#updateThis runs automatically every month via GitHub Actions.
gitfourchette v1.9.1