Skip to content

Commit

Permalink
only pass needed inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jashan-lco committed Dec 20, 2023
1 parent de909fa commit 91ee235
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion flake-module.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
localFlake:
{ ... }:
let
devenvModule = { ... }@args: localFlake.inputs.devenv.flakeModule (args // {inputs = localFlake.inputs // args.inputs;});
devenvModule = { ... }@args: localFlake.inputs.devenv.flakeModule (
args // {
inputs = {
inherit (localFlake.inputs) nix2container mk-shell-bin;
} // args.inputs;
}
);
in
{
imports = [
Expand Down

0 comments on commit 91ee235

Please sign in to comment.