packages/patched-inputs: cleanup

This commit is contained in:
Max Headroom 2022-05-24 18:18:40 +02:00
parent 13e3552d83
commit b1ff5c5764

View file

@ -1,9 +1,12 @@
let tools = import ./lib/tools.nix;
{ inputs, pkgs, system, ... }:
let
tools = import ./lib/tools.nix;
packages = builtins.mapAttrs (_: v: v.packages.${system}) inputs;
in with tools;
{ inputs, pkgs, system, ... }: rec {
inherit (inputs.deploy-rs.packages.${system}) deploy-rs;
rec {
inherit (packages.deploy-rs) deploy-rs;
nix-super = inputs.nix-super.defaultPackage.${system};
nix-super = packages.nix-super.nix;
agenix = inputs.agenix.packages.${system}.agenix.override { nix = nix-super; };
agenix = packages.agenix.agenix.override { nix = nix-super; };
}