mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-07-13 02:14:22 +03:00
add agru (directly, not from nixpkgs)
This commit is contained in:
@@ -1,30 +1,44 @@
|
|||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
agru-src = {
|
||||||
|
url = "github:etkecc/agru";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
outputs = {
|
outputs =
|
||||||
self,
|
{
|
||||||
nixpkgs,
|
self,
|
||||||
flake-utils,
|
nixpkgs,
|
||||||
}:
|
flake-utils,
|
||||||
flake-utils.lib.eachDefaultSystem
|
agru-src,
|
||||||
(
|
}:
|
||||||
system: let
|
flake-utils.lib.eachDefaultSystem (
|
||||||
|
system:
|
||||||
|
let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
|
agru = pkgs.buildGo125Module {
|
||||||
|
pname = "agru";
|
||||||
|
version = "0.1.19";
|
||||||
|
src = agru-src;
|
||||||
|
vendorHash = null;
|
||||||
|
};
|
||||||
in
|
in
|
||||||
with pkgs; {
|
with pkgs;
|
||||||
devShells.default = mkShell {
|
{
|
||||||
buildInputs = [
|
devShells.default = mkShell {
|
||||||
just
|
buildInputs = [
|
||||||
ansible
|
just
|
||||||
];
|
ansible
|
||||||
shellHook = ''
|
agru
|
||||||
echo "$(ansible --version)"
|
];
|
||||||
'';
|
shellHook = ''
|
||||||
};
|
echo "$(ansible --version)"
|
||||||
}
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user