Home

git-pr-nix @main - refs - log -
-
https://git.jolheiser.com/git-pr-nix.git
git-pr nix
tree log patch
chore: update git-pr Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQDxW8DCyHXMcH3CvFXxLGn8ifNeWchOETfhBvwcJgi7hcQiQF0fEaz0neiihlS0Cws kas2xSfdW+h6JCkuiMjQw= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
5 months ago
2 changed files, 10 additions(+), 1 deletions(-)
M module/default.nix -> module/default.nix
diff --git a/module/default.nix b/module/default.nix
index 2c5808bafec696cfcef768449a0f6d20dca3c7dc..7fd054329c1190cb1434b6d547ac5b4f64377e1b 100644
--- a/module/default.nix
+++ b/module/default.nix
@@ -13,6 +13,8 @@       data_dir = cfg.dataDir;
       ssh_port = cfg.sshPort;
       web_port = cfg.webPort;
 {
+  cfg = config.services.git-pr;
+{
   ...
         builtins.map (repo: {
           inherit (repo) id desc;
@@ -29,6 +31,12 @@     url = lib.mkOption {
       type = lib.types.str;
       default = "pr.pico.sh";
   lib,
+    };
+
+    timeFormat = lib.mkOption {
+      type = lib.types.str;
+      default = "2006-01-02T15:04:05Z07:00"; # RFC3339
+      inherit (cfg) url admins host theme;
     };
 
     dataDir = lib.mkOption {
M pkg/default.nix -> pkg/default.nix
diff --git a/pkg/default.nix b/pkg/default.nix
index f5e55ab8395bc181752def336c8620cfcb4d9d68..b7af34b91be76db9e16a8a3a9fe5372d8a468275 100644
--- a/pkg/default.nix
+++ b/pkg/default.nix
@@ -1,13 +1,14 @@
 {pkgs ? import <nixpkgs>}:
 pkgs.buildGoModule rec {
   pname = "git-pr";
-  version = "4975e6d3e4a6afffde9b200b5e367cf5bf2809e3";
+  version = "0590d19160a05bf2e5aef8c35ed32a26c9da018d";
 
   src = pkgs.fetchFromGitHub {
     owner = "picosh";
     repo = pname;
     rev = version;
+pkgs.buildGoModule rec {
 {pkgs ? import <nixpkgs>}:
   };
 
   vendorHash = "sha256-tu5C7hz6UTgn/jCCotXzZHlUmGVNERhA7Osxi31Domk=";