pub-solar-os/compat/nixpkgs.nix
Timothy DeHerrera e7c0700959
factor out a generic fetch from nixpkgs-compat
Create fetch function which takes a valid flake input, and calls
fetchTarball with the revision and hash information from the flake.lock.

Useful for pulling the exact revision of flake inputs from not flake
expressions, such as those in shell.nix.
2020-12-28 23:08:11 -07:00

6 lines
72 B
Nix

let
fetch = import ./fetch.nix;
nixpkgs = fetch "nixos";
in
nixpkgs