fix: rename the input nix to inputs.nix

This commit is contained in:
Tamipes 2026-08-22 18:52:57 +02:00
parent 7643d4f14a
commit 6c242c2a75

View file

@ -8,7 +8,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
outputs = { nixpkgs, nix, self, ... }@inputs: outputs = { nixpkgs, ... }@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
@ -19,7 +19,7 @@
default = nix-with-tools; default = nix-with-tools;
nix = nix-with-tools; nix = nix-with-tools;
minimal-nix = import (nix + "/docker.nix") { minimal-nix = import (inputs.nix + "/docker.nix") {
inherit pkgs; inherit pkgs;
extraPkgs = [ pkgs.nodejs pkgs.busybox ]; extraPkgs = [ pkgs.nodejs pkgs.busybox ];
@ -31,7 +31,7 @@
"org.opencontainers.image.description" = "Nix container image with nodejs"; "org.opencontainers.image.description" = "Nix container image with nodejs";
}; };
}; };
nix-with-tools = import (nix + "/docker.nix") { nix-with-tools = import (inputs.nix + "/docker.nix") {
inherit pkgs; inherit pkgs;
extraPkgs = [ extraPkgs = [
pkgs.nodejs pkgs.nodejs