summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-12-04 14:56:37 +0000
committerLudovic Courtès <ludo@gnu.org>2009-12-04 14:56:37 +0000
commit064aae6461971ed76ff4ed5bc8e043840592c04a (patch)
treebfe087be06eab4b9120724bb30d505577019277b /pkgs
parentec6f4788bbaf377f32e5853962cb8f8fdaa96b4b (diff)
downloadnixlib-064aae6461971ed76ff4ed5bc8e043840592c04a.tar
nixlib-064aae6461971ed76ff4ed5bc8e043840592c04a.tar.gz
nixlib-064aae6461971ed76ff4ed5bc8e043840592c04a.tar.bz2
nixlib-064aae6461971ed76ff4ed5bc8e043840592c04a.tar.lz
nixlib-064aae6461971ed76ff4ed5bc8e043840592c04a.tar.xz
nixlib-064aae6461971ed76ff4ed5bc8e043840592c04a.tar.zst
nixlib-064aae6461971ed76ff4ed5bc8e043840592c04a.zip
releaseTools.sourceTarball: Allow overriding of the bootstrap build inputs.
svn path=/nixpkgs/trunk/; revision=18804
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/release/source-tarball.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/build-support/release/source-tarball.nix b/pkgs/build-support/release/source-tarball.nix
index 7cd3208d105c..35e075893638 100644
--- a/pkgs/build-support/release/source-tarball.nix
+++ b/pkgs/build-support/release/source-tarball.nix
@@ -16,6 +16,12 @@ let
     then ""
     else if src ? rev then "pre${toString src.rev}" else "";
 
+  # By default, provide all the GNU Build System as input.
+  bootstrapBuildInputs =
+    if (args ? bootstrapBuildInputs)
+    then args.bootstrapBuildInputs
+    else [ autoconf automake libtool ];
+
 in
 
 stdenv.mkDerivation (
@@ -71,7 +77,7 @@ stdenv.mkDerivation (
   {
     name = name + "-" + version + versionSuffix;
 
-    buildInputs = buildInputs ++ [autoconf automake libtool];
+    buildInputs = buildInputs ++ bootstrapBuildInputs;
     
     postHook = ''
       ensureDir $out/nix-support