{inputs, lock}: change lock format and provide hash

This commit is contained in:
Wroclaw 2024-06-18 07:44:54 +02:00
parent ba94153c3b
commit 672807280e
3 changed files with 11 additions and 4 deletions

View file

@ -5,6 +5,10 @@ let self = {
{
inherit lock;
nixpkgs = builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/${lock.nixpkgs}.tar.gz";
nixpkgs = builtins.fetchTarball {
name = "nixpkgs";
url = "https://github.com/NixOS/nixpkgs/archive/${lock.nixpkgs.revision}.tar.gz";
sha256 = "${lock.nixpkgs.sha256}";
};
};
in self