mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-11-02 19:54:15 +00:00
The agru input tracked agru's main branch while labeled 0.2.1, and lock file maintenance could pull in unreleased commits. Pin the v0.3.0 tag and label the build accordingly. flake.lock was updated without a working Nix: the NAR hash was computed with nix-hash, which reproduces the previous entry's hash. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
46 lines
886 B
Nix
46 lines
886 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
agru-src = {
|
|
url = "github:etkecc/agru/v0.3.0";
|
|
flake = false;
|
|
};
|
|
};
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
flake-utils,
|
|
agru-src,
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
agru = pkgs.buildGo126Module {
|
|
pname = "agru";
|
|
version = "0.3.0";
|
|
src = agru-src;
|
|
vendorHash = null;
|
|
};
|
|
in
|
|
with pkgs;
|
|
{
|
|
devShells.default = mkShell {
|
|
buildInputs = [
|
|
just
|
|
mise
|
|
ansible
|
|
agru
|
|
];
|
|
shellHook = ''
|
|
echo "$(ansible --version)"
|
|
'';
|
|
};
|
|
}
|
|
);
|
|
}
|