Go to file
Solene Rapenne c6258630dd nixpkgs should be the one provided in the command line 2022-08-31 17:37:26 +02:00
LICENSE Initial commit 2022-08-15 14:54:02 +00:00
README.md enhance README 2022-08-28 15:04:56 +02:00
mirror.pl use nix-build to really download the files 2022-08-31 11:20:13 +02:00
run.sh nixpkgs should be the one provided in the command line 2022-08-31 17:37:26 +02:00

README.md

Introduction

The point of this script is to allow users to locally download all sources required to build a given Nix package.

The script relies on internal Nixpkgs tools that will download the sources in the nix store and verify the checksum.

If you run it multiple times, nothing more will be downloaded but it takes a bit of time to ensure each file is in the store.

how to use

To download sources required to build git and kakoune:

./run.sh git kakoune

If you want to use a different nixpkgs version than the one in your system:

./run.sh -f ~/path/to/nixpkgs/ git kakoune

BUGS

This requires https://github.com/NixOS/nixpkgs/pull/188626 to be merged