jakstys.lt/nixpkgs.nix
2024-10-09 22:00:02 -04:00

7 lines
220 B
Nix

let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
spec = lock.nodes.nixpkgs.locked;
nixpkgs = fetchTarball "https://github.com/${spec.owner}/${spec.repo}/archive/${spec.rev}.tar.gz";
in
import nixpkgs