8 lines
235 B
Nix
8 lines
235 B
Nix
let
|
|
spec = builtins.fromJSON (builtins.readFile ./nixpkgs.json);
|
|
in
|
|
import (builtins.fetchTarball {
|
|
url = "https://github.com/NixOS/nixpkgs/archive/${spec.rev}.tar.gz";
|
|
sha256 = spec.sha256;
|
|
}) {}
|
|
# TODO: add a nixos-infra module |