inputs: move self binding into the body of the function
This commit is contained in:
parent
9afdfdeeab
commit
884a06bfe1
1 changed files with 5 additions and 2 deletions
|
@ -1,10 +1,12 @@
|
|||
let self = {
|
||||
{
|
||||
lock ? import lockFile,
|
||||
lockFile ? ./lock.nix,
|
||||
pkgs ? throw "inputs called without pkgs",
|
||||
}:
|
||||
|
||||
{
|
||||
let
|
||||
|
||||
self = {
|
||||
inherit lock;
|
||||
nixos-vscode-server = rec {
|
||||
url = "https://github.com/nix-community/nixos-vscode-server/archive/${lock.nixos-vscode-server.revision}.tar.gz";
|
||||
|
@ -110,4 +112,5 @@ let self = {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
in self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue