Review jjui PR

This commit is contained in:
Geoffrey Frogeye 2024-12-20 23:34:04 +01:00
parent b61685f677
commit 128bdc5004
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
3 changed files with 4 additions and 23 deletions

View file

@ -4,7 +4,7 @@
inputs = {
# Packages
nixpkgs.url = "nixpkgs/nixos-24.11";
unixpkgs.url = "nixpkgs/master";
jjuinixpkgs.url = "github:Adda0/nixpkgs/jjui"; # Testing PR
labellenixpkgs.url = "github:FabianRig/nixpkgs/update-labelle-1.3.2"; # Current 24.11 version doesn't match dependencies
# OS
disko = {

View file

@ -2,15 +2,17 @@
pkgs,
lib,
config,
jjuinixpkgs,
...
}:
let
cfg = config.programs.git;
jjuipkgs = import jjuinixpkgs { inherit (pkgs) system; };
in
{
config = lib.mkIf cfg.enable {
home.packages = [
(pkgs.callPackage ./jjui.nix { })
jjuipkgs.jjui
(pkgs.writeShellApplication {
name = "git-sync";
text = (

View file

@ -1,21 +0,0 @@
{ buildGoModule, fetchFromGitHub }:
buildGoModule {
pname = "jjui";
version = "2024-11-28";
src = fetchFromGitHub {
owner = "GeoffreyFrogeye";
repo = "jjui";
rev = "push-sszqvsmvqxmy"; # base16 colors
sha256 = "sha256-jNi5Ek3Qy/MojlQXBNlqREy7UxnyMaJuUtKPysWBoNU=";
};
vendorHash = "sha256-kg5b3tzwyAhn00GwdUDf4OdYZvCJZHgkgpzHFWy5SxI=";
postInstall = ''
mv $out/bin/cmd $out/bin/jjui
'';
doCheck = false; # Some tests are not working
}