| If you're tracking a branch of some kind of repo and don't really care about purity, trust the supply chain and just want to get the latest stuff you can use "fetchTree" in impure evaluation to fetch the the hottest shit out there. By default it uses a 1 hour cache to not fetch every time.
testFetchTree = builtins.fetchTree {
type = "github";
repo = "nixpkgs";
owner = "NixOS";
ref = "master";
};
My understanding from reading github comments and whatnot is that it's using the same paths as flakes use for it's inputs.
https://asciinema.org/a/QW02t4oWnM8zBI8JSov4VysmF
|