Instead of grep/sed hackery, evacuate-urls.sh should use nix-instantiate –eval-only –xml –strict in conjunction with some xslt/xpath scripting to figure out the calls to fetchurl in a clean way. This is especially necessary in places where the fetchurl URL is computed (e.g., url = “ftp://ftp.kernel.org/…/linux-${version}.tar.bz2”).

Submitted on 11 September 2007 at 11:55

Log in to post comments