1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 22:01:15 +02:00

Make <nix/fetchurl.nix> a builtin builder

This ensures that 1) the derivation doesn't change when Nix changes;
2) the derivation closure doesn't contain Nix and its dependencies; 3)
we don't have to rely on ugly chroot hacks.
This commit is contained in:
Eelco Dolstra 2015-07-20 04:30:16 +02:00
parent eda2f36c2a
commit 0a2bee307b
9 changed files with 61 additions and 20 deletions

9
src/libstore/builtins.hh Normal file
View file

@ -0,0 +1,9 @@
#pragma once
#include "derivations.hh"
namespace nix {
void builtinFetchurl(const BasicDerivation & drv);
}