mirror of
https://github.com/divnix/digga.git
synced 2024-12-27 01:52:21 +03:00
e7c0700959
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.
6 lines
72 B
Nix
6 lines
72 B
Nix
let
|
|
fetch = import ./fetch.nix;
|
|
nixpkgs = fetch "nixos";
|
|
in
|
|
nixpkgs
|