jakstys.lt/nixpkgs.nix

7 lines
220 B
Nix
Raw Normal View History

2023-03-25 12:43:23 +02:00
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