forked from pub-solar/os
14 lines
284 B
Nix
14 lines
284 B
Nix
|
let
|
||
|
inherit (builtins)
|
||
|
fetchTarball
|
||
|
fromJSON
|
||
|
readFile
|
||
|
;
|
||
|
nixos = (fromJSON (readFile ./flake.lock)).nodes.nixos.locked;
|
||
|
nixpkgs = fetchTarball {
|
||
|
url = "https://github.com/NixOS/nixpkgs/archive/${nixos.rev}.tar.gz";
|
||
|
sha256 = nixos.narHash;
|
||
|
};
|
||
|
in
|
||
|
nixpkgs
|