Skip to content

Commit

Permalink
pkgs.mkAnsibleDevShell: add
Browse files Browse the repository at this point in the history
  • Loading branch information
mkg20001 committed Mar 28, 2024
1 parent a7fd6f5 commit dae79d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@

system = null;
}).config.system.build.toplevel;

ansibleDevShell = pkgs.mkAnsibleDevShell {};
}
);
};
Expand Down
10 changes: 9 additions & 1 deletion overlay.nix
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
final: prev: prev.lib.mapAttrs (pkg: _: prev.callPackage "${./pkgs}/${pkg}" {}) (builtins.readDir ./pkgs)
final: prev:
(prev.lib.mapAttrs (pkg: _: prev.callPackage "${./pkgs}/${pkg}" {}) (builtins.readDir ./pkgs)) // {
mkAnsibleDevShell = { packages ? [], ... }@args: final.mkShell args // {
packages = with final; packages ++ [
ansible-mgit
age
];
};
}

0 comments on commit dae79d0

Please sign in to comment.