nix/lib/nixpkgs.nix

5 lines
240 B
Nix
Raw Normal View History

2023-09-19 13:44:09 +02:00
let nixpkgs-lock = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes.nixpkgs.locked;
2023-09-19 11:19:59 +02:00
in import (fetchTarball {
2023-12-11 06:55:38 +01:00
url = "https://github.com/nixos/nixpkgs/archive/${nixpkgs-lock.rev}.tar.gz";
sha256 = nixpkgs-lock.narHash;
2023-09-19 11:05:35 +02:00
})