Nixpkgs/Reviewing changes: Difference between revisions

imported>Artturin
mNo edit summary
imported>Artturin
No edit summary
Line 7: Line 7:


== Modules ==
== Modules ==
You may use the rev instead of the branchname, the rev will get redownloaded when changed but the branch wont be redownloaded


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
Line 12: Line 14:


imports = let
imports = let
   pkgsReview = builtins.fetchTarball {
   pkgsReview = builtins.fetchzip {
     url = "https://github.com/USERNAME/nixpkgs/archive/BRANCHNAME.tar.gz";
     url = "https://github.com/USERNAME/nixpkgs/archive/BRANCHNAME.tar.gz";
   };
   };