fix: rename the input nix to inputs.nix
This commit is contained in:
parent
c576585009
commit
c84bf9b883
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue