Fix infinite recursion in inputs

This commit is contained in:
Robert Hensing 2022-12-17 18:36:15 +01:00
parent 8d0e2444ab
commit bcb7065174
6 changed files with 75 additions and 15 deletions

View file

@ -5,8 +5,8 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit self; } {
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
# To import a flake module
# 1. Add foo to inputs

View file

@ -5,8 +5,8 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit self; } {
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
./hello/flake-module.nix
];