about summary refs log tree commit diff
path: root/pkgs/build-support
AgeCommit message (Collapse)AuthorFilesLines
2010-04-16Fix the upstream-update snippets.sh for sourceforge URLs (sourceforge ↵Lluís Batlle i Rossell1-1/+1
changed the url pattern) svn path=/nixpkgs/trunk/; revision=21133
2010-04-14Build MIME database from all available packagesYury G. Kudryashov1-0/+6
svn path=/nixpkgs/trunk/; revision=21076
2010-04-14Ignore fake collisionsYury G. Kudryashov1-5/+14
svn path=/nixpkgs/trunk/; revision=21075
2010-04-10Remove tabsYury G. Kudryashov1-2/+2
svn path=/nixpkgs/trunk/; revision=21004
2010-03-23generatewrapper fixRob Vermaas1-1/+1
svn path=/nixpkgs/trunk/; revision=20796
2010-03-16Fixing once again the ld-wrapper.sh script. I put it in a gcc-wrapper apart, ↵Lluís Batlle i Rossell2-0/+225
to be removed on the next stdenv-updates. This would fix the build for many cmake packages, although that requires updating the stdenv in those for its gcc to use this 2nd wrapper. I updated paraview and avidemux. I can't recall now more packages with problems, but I was quite sure there were. If anyone sees a cmake-built package with the result binaries lacking some rpaths, then try this wrapper. svn path=/nixpkgs/trunk/; revision=20669
2010-03-11initial version for maven builderRob Vermaas2-0/+101
svn path=/nixpkgs/trunk/; revision=20558
2010-03-10Fixing the gcc-cross-wrapper (wanting to make it work with uclibc, I hadLluís Batlle i Rossell1-1/+4
broken it for glibc). Now I tested that it works for both. svn path=/nixpkgs/trunk/; revision=20519
2010-03-09Updating busybox. I left only a single busybox in its directory. The others, ↵Lluís Batlle i Rossell1-2/+2
coming from the old cross-building nixpkgs implementation, were not referenced anywhere. This new busybox builds natively, and also cross-builds with uclibc. I updated the uclibc config with a busybox defconfig requirement (something about RPC). I made the gcc-cross-wrapper properly set the dynamic loader to programs. After this, 'qemu-arm' can run the dynamically linked busybox cross built for armv5tel--linux-gnueabi. svn path=/nixpkgs/trunk/; revision=20514
2010-03-05use hydrantlogger if in environmentRob Vermaas1-0/+9
svn path=/nixpkgs/trunk/; revision=20399
2010-03-05ant builderRob Vermaas2-0/+89
svn path=/nixpkgs/trunk/; revision=20395
2010-02-27Fixing the correct handling of uboot in the initrd and the kernel derivations.Lluís Batlle i Rossell1-1/+1
(nixos on sheevaplug) svn path=/nixpkgs/trunk/; revision=20275
2010-02-27Simplified much more the expressions for cross building and multiplatform.Lluís Batlle i Rossell1-4/+13
I introduce the new nixpkgs parameter "platform", defaulting to "pc", which was before defined as an attribute of nixpkgs. I made the crossSystem nixpkgs attribute set parameter contain its own 'platform'. This allows cross-building a kernel for a given crossSystem.platform in a non-PC platform. The actual native platform can be taken from stdenv.platform, and this way we also avoid the constant passing of 'platform' to packages for platform-dependant builds (kernel, initrd, ...). I will update nixos accordingly to these changes, for non-PC platforms to work. I think we are gaining on flexibility and clearness. I could cross build succesfully an ultrasparc kernel and a mipsel kernel on PC. But since this change, I should be able to do this also in non-PC. Before this change, there was no possibility of distinguishing the "target platform" or the "native build platform" when cross building, being the single "platform" attribute always interpreted as target platform. The platform is a quite relevant attribute set, as it determines the linuxHeaders used (in the case, by now the only one supported, of linux targets). The platform attributes are quite linux centric still. Let's hope for more generality to come. svn path=/nixpkgs/trunk/; revision=20273
2010-02-18Changing linux kernel references from vmlinuz to bzImage.Lluís Batlle i Rossell1-1/+1
This way we get a simpler kernel build script. svn path=/nixpkgs/trunk/; revision=20094
2010-02-18Update SGT puzzles and improve builderDefs processing of ↵Michael Raskin1-0/+4
propagated(Native)BuildInputs after stdenv merge svn path=/nixpkgs/trunk/; revision=20093
2010-02-05* Sync with the trunk one last time.Eelco Dolstra1-32/+5
svn path=/nixpkgs/branches/stdenv-updates/; revision=19849
2010-02-05* Fix various broken URLs / mirrors. 0.13Eelco Dolstra1-32/+5
* Updated tcpdump, ImageMagick, lsof. svn path=/nixpkgs/trunk/; revision=19847
2010-02-03* Sync with the trunk.Eelco Dolstra4-10/+83
svn path=/nixpkgs/branches/stdenv-updates/; revision=19786
2010-02-01* Debian 5.0.4.Eelco Dolstra1-6/+6
svn path=/nixpkgs/trunk/; revision=19748
2010-01-27Fixing the gcc/gcc-wrapper so 'ghdl' gets the proper wrapper (langVhdl = true,Lluís Batlle i Rossell1-3/+3
from gcc). svn path=/nixpkgs/branches/stdenv-updates/; revision=19714
2010-01-27applying patches provided by griswoldRob Vermaas3-4/+77
svn path=/nixpkgs/trunk/; revision=19707
2010-01-26* Don't call grep from ld-wrapper (especially not O(n^2) times)Eelco Dolstra1-21/+18
because it makes linking very slow. Use bash's =~ operator instead (and only once for each argument). We depend on bash already anyway because of arrays so it's not a problem. svn path=/nixpkgs/branches/stdenv-updates/; revision=19699
2010-01-26* Fix Perl on FreeBSD.Eelco Dolstra1-2/+2
svn path=/nixpkgs/branches/stdenv-updates/; revision=19685
2010-01-25Updating from trunk.Lluís Batlle i Rossell2-9/+115
svn path=/nixpkgs/branches/stdenv-updates/; revision=19654
2010-01-25nix-prefetch-git: Add support for $NIX_PREFETCH_GIT_DEEP_CLONE.Ludovic Courtès1-0/+8
svn path=/nixpkgs/trunk/; revision=19648
2010-01-20* Add the ext3 module to the initrd. The Amazon image generator needsEelco Dolstra1-1/+1
it. svn path=/nixpkgs/trunk/; revision=19585
2010-01-19Removing the gnat and the ghdl wrappers, which I already integrated intoLluís Batlle i Rossell16-1382/+0
gcc-wrapper. svn path=/nixpkgs/branches/stdenv-updates/; revision=19534
2010-01-19* gcc-wrapper2: obsolete.Eelco Dolstra8-581/+0
svn path=/nixpkgs/branches/stdenv-updates/; revision=19533
2010-01-18nix-prefetch-git:Nicolas Pierron1-8/+106
* Optimized download size in case of references. * Add support for submodules. svn path=/nixpkgs/trunk/; revision=19513
2010-01-16Adding two files I forgot to the gcc-wrapper, comming from the oldLluís Batlle i Rossell2-0/+156
gnat-wrapper. svn path=/nixpkgs/branches/stdenv-updates/; revision=19494
2010-01-16Merging the ghdl-wrapper and gcc-wrapper into one.Lluís Batlle i Rossell2-1/+15
I will remove the ghdl-wrapper files later, if all this works. svn path=/nixpkgs/branches/stdenv-updates/; revision=19493
2010-01-16Merging the gnat-wrapper and gcc-wrapper into a single gcc-wrapper.Lluís Batlle i Rossell3-0/+50
(I will remove the gnat-wrapper files if this works, later) svn path=/nixpkgs/branches/stdenv-updates/; revision=19492
2010-01-16Fixing the gcc-wrapper, so it does not link when gcc is called with '-xLluís Batlle i Rossell1-0/+4
something'. It should not link at least for '-x c-header' and '-x c++-header', and maybe link for '-x c' or '-x c++', but we expect noone will be linking using these later strings. Adding opencv, which required '-x c-header' working, and that's why I have updated gcc wrapper. svn path=/nixpkgs/branches/stdenv-updates/; revision=19491
2010-01-14Merging from trunk.Lluís Batlle i Rossell2-1/+27
I fixed conflicts regarding the renaming 'kernel' -> 'linux' in all-packages. Also a small conflict in all-packages about making openssl overridable. And I some linux 2.6.31-zen kernel files also marked in conflict. svn path=/nixpkgs/branches/stdenv-updates/; revision=19438
2010-01-10* Revert r19331 - Linux 2.6.27 doesn't support bzip2.Eelco Dolstra1-1/+1
svn path=/nixpkgs/trunk/; revision=19335
2010-01-10* Compress the initrd with bzip2.Eelco Dolstra1-1/+1
svn path=/nixpkgs/trunk/; revision=19331
2010-01-04obviously just c/p'ing without testing should result in taking away commit ↵Rob Vermaas1-1/+1
rights... svn path=/nixpkgs/trunk/; revision=19208
2010-01-04 * nix-build.nix: omit phases and define postPhases, suggested by eelcoRob Vermaas1-1/+2
svn path=/nixpkgs/trunk/; revision=19203
2010-01-04 * removed wrong order of phases from nixbuild, for now make check after ↵Rob Vermaas1-1/+1
install for strategoxt packages svn path=/nixpkgs/trunk/; revision=19202
2010-01-03* Add a wrapper to find any set-uid version of a program in the environment.Nicolas Pierron1-0/+25
svn path=/nixpkgs/trunk/; revision=19181
2009-12-28Updating from trunk.Lluís Batlle i Rossell1-0/+1
svn path=/nixpkgs/branches/stdenv-updates/; revision=19139
2009-12-25* Fix nix-env evaluation.Eelco Dolstra1-0/+1
svn path=/nixpkgs/trunk/; revision=19122
2009-12-22Fixing an evaluation error: kernelPackages -> linuxPackagesLluís Batlle i Rossell1-1/+1
svn path=/nixpkgs/branches/stdenv-updates/; revision=19077
2009-12-21Getting a new gcc-wrapper on the way. After gnat-wrapper, I introduceLluís Batlle i Rossell7-0/+592
ghdl-wrapper. I made the gcc-4.3.4 expression allow the 'vhdl' language through ghdl. The ghdl developer recommends this gcc version; maybe it would work with gcc-4.4. If not this ghdl version, maybe next versions. svn path=/nixpkgs/branches/stdenv-updates/; revision=19071
2009-12-21In a recent commit I made references to path out of the svn tree, whichLluís Batlle i Rossell2-3/+4
broke the evaluation of nixpkgs. I also tried to make the gnat wrapper friendly to any gnat installation, not only gnatboot. svn path=/nixpkgs/branches/stdenv-updates/; revision=19062
2009-12-21Adding first built version of the gnat compiler for gcc 4.4.Lluís Batlle i Rossell9-0/+789
Some things don't work: - The ghdl expression (it still needs the gcc 4.3.4 src, ...) - The gnat wrappers need to be more generic - now they work only for the given gnatboot (taken from gentoo) and gnats installed to their $out store path. - Using the cloogppl and ppl. We will need our own gnatboot built with c++ libraries for that. svn path=/nixpkgs/branches/stdenv-updates/; revision=19060
2009-12-19Merging from trunk. I had to give away some structure to build the nativeLluís Batlle i Rossell1-3/+8
sheevaplug kernel, so the kernel does not build in the sheevaplug right now. I will try to fix that in next commits. svn path=/nixpkgs/branches/stdenv-updates/; revision=19045
2009-12-18* Include the ext2 and unix modules in the initrd.Eelco Dolstra1-3/+8
* Don't assume that /dev/vda has major 253, since that's not always the case. * Use Linux 2.6.32. svn path=/nixpkgs/trunk/; revision=19031
2009-12-13Updating the ld-wrapper about linking of direct .so files. The previousLluís Batlle i Rossell1-2/+2
regexp looking for such ld arguments did not work well with "--soname=xxx.so". Now I added the condition that the argument should not start with a hyphen, for it to be possibly considered a .so file to link with. svn path=/nixpkgs/branches/stdenv-updates/; revision=18919
2009-12-12Updating the gcc-wrapper with the changes done in trunk's gcc-wrapper2.Lluís Batlle i Rossell1-0/+9
Removing any reference to the gcc-wrapper2, as now the gcc-wrapper already conveys the changes, I created gcc-wrapper2 in trunk for. svn path=/nixpkgs/branches/stdenv-updates/; revision=18913