From 5359313246b69316624c15a8cf1002af6bf12746 Mon Sep 17 00:00:00 2001 From: Jack Wines Date: Thu, 26 Feb 2026 10:06:19 -0800 Subject: [PATCH 1/2] run nix flake update --- flake.lock | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index b4d9ebdb9..c3c4ecb37 100644 --- a/flake.lock +++ b/flake.lock @@ -1,15 +1,31 @@ { "nodes": { + "agru-src": { + "flake": false, + "locked": { + "lastModified": 1772059918, + "narHash": "sha256-o3ZNyJjDEY2RCwIiBWSjWTo6/DqAVMK+ElTuwAVdZrg=", + "owner": "etkecc", + "repo": "agru", + "rev": "31a799242c4546ad1f9dbac79abcfafc79daba64", + "type": "github" + }, + "original": { + "owner": "etkecc", + "repo": "agru", + "type": "github" + } + }, "flake-utils": { "inputs": { "systems": "systems" }, "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -20,21 +36,23 @@ }, "nixpkgs": { "locked": { - "lastModified": 1712578459, - "narHash": "sha256-r+rjtYIdwV7mEqFwbvaS7dZSH+3xNW9loR3Rh9C0ifI=", + "lastModified": 1771923393, + "narHash": "sha256-Fy0+UXELv9hOE8WjYhJt8fMDLYTU2Dqn3cX4BwoGBos=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b1a486be09c354e25a18689eb21425e43892e38c", + "rev": "ea7f1f06811ce7fcc81d6c6fd4213150c23edcf2", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } }, "root": { "inputs": { + "agru-src": "agru-src", "flake-utils": "flake-utils", "nixpkgs": "nixpkgs" } From b4006bc7eab91fd9c08b3468c7c5e3cd483a72eb Mon Sep 17 00:00:00 2001 From: Jack Wines Date: Thu, 26 Feb 2026 10:40:10 -0800 Subject: [PATCH 2/2] add agru (directly, not from nixpkgs) --- flake.nix | 54 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 20 deletions(-) diff --git a/flake.nix b/flake.nix index 3738e97db..b3627f458 100644 --- a/flake.nix +++ b/flake.nix @@ -1,30 +1,44 @@ { inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; flake-utils.url = "github:numtide/flake-utils"; + agru-src = { + url = "github:etkecc/agru"; + flake = false; + }; }; - outputs = { - self, - nixpkgs, - flake-utils, - }: - flake-utils.lib.eachDefaultSystem - ( - system: let + outputs = + { + self, + nixpkgs, + flake-utils, + agru-src, + }: + flake-utils.lib.eachDefaultSystem ( + system: + let pkgs = import nixpkgs { inherit system; }; + agru = pkgs.buildGo125Module { + pname = "agru"; + version = "0.1.19"; + src = agru-src; + vendorHash = null; + }; in - with pkgs; { - devShells.default = mkShell { - buildInputs = [ - just - ansible - ]; - shellHook = '' - echo "$(ansible --version)" - ''; - }; - } + with pkgs; + { + devShells.default = mkShell { + buildInputs = [ + just + ansible + agru + ]; + shellHook = '' + echo "$(ansible --version)" + ''; + }; + } ); }