inputs: move self binding into the body of the function

This commit is contained in:
Wroclaw 2025-04-26 13:47:48 +02:00
parent 9afdfdeeab
commit 884a06bfe1

View file

@ -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