Review jjui PR
This commit is contained in:
parent
b61685f677
commit
128bdc5004
|
@ -4,7 +4,7 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
# Packages
|
# Packages
|
||||||
nixpkgs.url = "nixpkgs/nixos-24.11";
|
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
|
labellenixpkgs.url = "github:FabianRig/nixpkgs/update-labelle-1.3.2"; # Current 24.11 version doesn't match dependencies
|
||||||
# OS
|
# OS
|
||||||
disko = {
|
disko = {
|
||||||
|
|
|
@ -2,15 +2,17 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
jjuinixpkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.programs.git;
|
cfg = config.programs.git;
|
||||||
|
jjuipkgs = import jjuinixpkgs { inherit (pkgs) system; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
(pkgs.callPackage ./jjui.nix { })
|
jjuipkgs.jjui
|
||||||
(pkgs.writeShellApplication {
|
(pkgs.writeShellApplication {
|
||||||
name = "git-sync";
|
name = "git-sync";
|
||||||
text = (
|
text = (
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue