Bläddra i källkod

add agru (directly, not from nixpkgs)

pull/4979/head
Jack Wines 5 dagar sedan
förälder
incheckning
b4006bc7ea
Det gick inte att extrahera signatur
1 ändrade filer med 34 tillägg och 20 borttagningar
  1. +34
    -20
      flake.nix

+ 34
- 20
flake.nix Visa fil

@@ -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)"
'';
};
}
);
}

Laddar…
Avbryt
Spara