Commit graph

  • 1ec11edce5 I should learn to concatenate lists. Lluís Batlle i Rossell 2009-11-23 23:40:24 +00:00
  • 807655e1f9 Switch to glibc 2.11 and hope for the best. Ludovic Courtès 2009-11-23 23:35:59 +00:00
  • eadcd4462d Making, in cross-builds, every buildInput a propagatedBuildInput. We need this because 'ld' wants to know the path of every library involved in a dynamic linking. I imagine that ld does not need that in native builds because it can call the loader for it to resolve the library rpaths, but this is not the case for cross-building. Lluís Batlle i Rossell 2009-11-23 23:16:40 +00:00
  • 7ac3ee0800 Updating supertuxkart. Lluís Batlle i Rossell 2009-11-23 23:12:27 +00:00
  • be75df0b0d update webkit Michael Raskin 2009-11-23 22:31:12 +00:00
  • 3881f13ad6 Updating the nvidia legacy drivers. Without this update, the drivers did not work with xorg-server-1.7 Lluís Batlle i Rossell 2009-11-23 21:40:51 +00:00
  • b4e31ce1bf fixing the name in the openchrome expression. Lluís Batlle i Rossell 2009-11-23 21:40:26 +00:00
  • 931f6655f0 Fixing the filelight 1.0 expression (kde3), so it builds again. Lluís Batlle i Rossell 2009-11-23 21:15:15 +00:00
  • c922164751 Adding filelight for kde4. Lluís Batlle i Rossell 2009-11-23 21:15:11 +00:00
  • d8aa5b5db1 Fixing stdenv's chain of propagated-build-inputs (2nd level propagated build inputs did not get in) Updating the xorg builder script to support cross building (in fact, support for propagating the required build inputs). Lluís Batlle i Rossell 2009-11-23 19:45:18 +00:00
  • fce5b7fe78 Adding a hack for gettext to cross-build with gcc+glibc in linux. Lluís Batlle i Rossell 2009-11-23 19:38:34 +00:00
  • e8c3467487 Fix linkFarm for its new location Michael Raskin 2009-11-23 19:28:03 +00:00
  • e99acbff72 Restore linkFarm trivial builder Michael Raskin 2009-11-23 19:18:53 +00:00
  • c6b526495b Improving the crossStripping. A cross-glibc gets broken if stripped by the native strip. So we now distinguish dontStrip and dontCrossStrip. I updated the expressions for glibc-2.9 and glibc-2.11 accordingly. I could get rid of the cross-glibc depending on the cross-gcc-stage-static. Lluís Batlle i Rossell 2009-11-23 17:06:57 +00:00
  • 75b60caea0 Updating guile so it uses gawk as a buildNativeInput and not as buildInput. Lluís Batlle i Rossell 2009-11-23 17:01:28 +00:00
  • ff177a01a7 Fixed ejabberd service so that it will be started on startup Sander van der Burg 2009-11-23 13:29:47 +00:00
  • 7fc40ca2f1 Enabled startOn event of the MySQL and Tomcat server so that they are initialised on startup Sander van der Burg 2009-11-23 13:26:33 +00:00
  • bbd6e56d69 Fix the cleanup-induced problems Michael Raskin 2009-11-23 12:21:34 +00:00
  • 45886e474d On native builds: - Disabling guile test, because one fails. I commented on that in the source. On cross builds: - Adding stripping - Updating the glibc-2.11 expression to match the parameters of glibc-2.9, which I was updating more. - Renaming from selfNativeBuildInput to selfBuildNativeInput, so this matches better the pattern buildNativeInputs. Lluís Batlle i Rossell 2009-11-22 22:48:43 +00:00
  • 0df5c155c6 * Firefox 3.5.5. Eelco Dolstra 2009-11-22 22:40:39 +00:00
  • 98af7b9cb9 GNU Guile 1.8: Clean up. Ludovic Courtès 2009-11-22 22:16:58 +00:00
  • 10e806bcef testAllTrue helper function Marc Weber 2009-11-22 21:28:46 +00:00
  • 976def943b nix lib: add nixType returning type of value as string which is used in eqStrict now to return false when a b have different types. Passing string and {} to eqStrict caused coercion failures when running tests previously Marc Weber 2009-11-22 21:28:43 +00:00
  • 88e654b1ed follow runTests change prefixing all tests by "test" Marc Weber 2009-11-22 21:28:41 +00:00
  • 02972b92d5 nix lang runTests: ignore tests which are not prefixed by "test" Marc Weber 2009-11-22 21:28:38 +00:00
  • 715d09d836 add some debugging functions traceCallXml is used to trace arguments and result Marc Weber 2009-11-22 21:28:36 +00:00
  • d0cc584711 myhasktags: new hash Marc Weber 2009-11-22 21:28:28 +00:00
  • 585ba8c27f Big fixes in the cross build: - Before this changes, cflags and ldflags for the native and the cross compiler got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are independant now, but enough, I think. - Fixed the generic stdenv expression, which did a big mess on buildInputs and buildNativeInputs. Now it distinguishes when there is a stdenvCross or not. Maybe we should have a single stdenv and forget about the stdenvCross adapter - this could end in a stdenv a bit complex, but simpler than the generic stdenv + adapter. - Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH now works for both the cross and the native compilers, but I think this should work well for most cases I can think of. - I tried to fix the guile expression to cross-biuld; guile is built, but not its manual, so the derivation still fails. Guile requires patching to cross-build, as far as I understnad. - Made the glibcCross build to be done through the usage of a gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it directly. - Trying to make physfs (a neverball dependency) cross build. - Updated the gcc expression to support building a cross compiler without getting derivation variables mixed with those of the stdenvCross. Lluís Batlle i Rossell 2009-11-22 19:51:45 +00:00
  • 2b606fe313 Allow libusb in gnokii Michael Raskin 2009-11-22 19:28:56 +00:00
  • 87a62e5409 gutenprint: Fix name, improve style. Ludovic Courtès 2009-11-22 19:11:27 +00:00
  • 9dcff09187 Fixing the coreutils reference in the gcc-wrapper - they did not get properly in the path still. Lluís Batlle i Rossell 2009-11-22 18:39:27 +00:00
  • b29073af25 * Add an adapter which abort an install if the installed package depends on a derivation with a meta.license attribute which does not satisfy the license predicate. Nicolas Pierron 2009-11-22 17:04:33 +00:00
  • 11c3e92738 * Bring back Emacs 22 by request from Ludovic. Eelco Dolstra 2009-11-22 16:29:15 +00:00
  • af198a162d Switch to glibc 2.11 for the Info manual and for locales. Ludovic Courtès 2009-11-22 16:04:01 +00:00
  • 04a15b29b0 glibc 2.11: Factorize the libc/info/locales expressions. Ludovic Courtès 2009-11-22 16:03:56 +00:00
  • 1b5b1b62e1 glibc 2.11: Fix i686-linux builds. Ludovic Courtès 2009-11-22 16:03:43 +00:00
  • 132a1db1ee newer version of chrome (32599) Rob Vermaas 2009-11-22 14:41:38 +00:00
  • 69a2842d01 Switch off one of the two conflicting on-by-default options Michael Raskin 2009-11-22 14:34:53 +00:00
  • 544032ea33 glibc 2.11: Try again to fix link errors for `nscd'. Ludovic Courtès 2009-11-22 00:57:20 +00:00
  • 1966f9d297 Hopefully really fix the OpenSSH/GnuPG agent assertion (yes!). Ludovic Courtès 2009-11-22 00:54:01 +00:00
  • d912b510f5 Hopefully really fix the OpenSSH/GnuPG agent assertion. Ludovic Courtès 2009-11-22 00:46:37 +00:00
  • ab3332a2eb Rename startSSHAgent' to startOpenSSHAgent'. Ludovic Courtès 2009-11-22 00:40:53 +00:00
  • 8c349a9e71 Fix the OpenSSH/GnuPG agent assertion. Ludovic Courtès 2009-11-22 00:40:48 +00:00
  • 60a661259b glibc 2.11: Try to fix link errors for `nscd'. Ludovic Courtès 2009-11-22 00:22:47 +00:00
  • 3548887c27 GNU Coreutils: Comment on test failures. Ludovic Courtès 2009-11-22 00:22:42 +00:00
  • 0d041d909b GNU Autoconf 2.65. Ludovic Courtès 2009-11-21 23:18:23 +00:00
  • 96d3032ea0 Fix Ufraw. Ludovic Courtès 2009-11-21 22:30:00 +00:00
  • 66d8af6d09 X: Add support for starting the GnuPG agent. Ludovic Courtès 2009-11-21 22:14:01 +00:00
  • 00efa9c2dd * Add a script to retrieve licenses of the current derivation and of all its dependencies. To make it works, you need to change the default stdenv as documented in the error message. Nicolas Pierron 2009-11-21 17:50:00 +00:00
  • e5e6e853de glibc 2.11: Link against `libssp'. Ludovic Courtès 2009-11-21 15:40:52 +00:00
  • c9ecbf7894 Adding a note about a change to do in the big-renaming to allow clear buildInputs and buildNativeInputs, on pkgconfig, which now works always as buildDrv even asking for its hostDrv. Key string: cross_renaming Lluís Batlle i Rossell 2009-11-21 15:39:20 +00:00
  • b1e17f71a6 glibc 2.11: Remove unneeded patches. Ludovic Courtès 2009-11-21 14:55:51 +00:00
  • d0d2c6e3fe Overriding some xorg expressions for them to cross-build. Now SDL cross-builds clean. Lluís Batlle i Rossell 2009-11-21 14:49:25 +00:00
  • ca5d91aa60 Made more libraries cross compile. fontconfig, libxcb, bzip2, libdrm, zlib... I was trying to cross compile SDL. Many dependencies work, but I ended seeing libX11 not ready for cross compilation. Other xorg libraries cross-compile well. libX11 may need a small patch. The problem is the usual "configure test cannot be run in cross compilation", so the configure script halts. Lluís Batlle i Rossell 2009-11-21 10:44:22 +00:00
  • 3136303d63 Fixing the libxcb native build: missing dependency. Lluís Batlle i Rossell 2009-11-21 10:11:44 +00:00
  • a263cb814e Fixed some details on cross compilation. Among others: - Stating better the guile dependencies (native/host) for guile to build - Fixing cross-linking, through --rpath-link (ld(1) explains well about it - Made gcc call the linker and the assembler through the gcc wrapper instead of directly. I thought this was the source of missing -rpath's, but the source of the problem ended up being the lack of --rpath-link. But I think the native gcc calls the wrapped ld and as, so let's do the same cross compiling. - Removed the binutilsCross from the glibc expressions. Now they are built using the gcc-cross-wrapper, and they were built with the direct gcc and binutils before this change. - I think patchelf and strip don't break the cross-compiled binaries, so I reallow them on cross compilation. - I disable the checkPhase on cross compilation. This made gmp and libtool fail when cross compiled, iirc. Lluís Batlle i Rossell 2009-11-21 02:42:52 +00:00
  • a5fee3325a Fixing some things on the gcc-cross-wrapper (libc was not properly added to the linking path), and with this achieved bash being cross-compilable. I fixed the few expressions involved in bash building, so they have well stated native and non-native inputs. Lluís Batlle i Rossell 2009-11-20 22:56:58 +00:00
  • b27cf66ee2 argh. Bad commenting style and a commit too blind. Lluís Batlle i Rossell 2009-11-20 20:29:32 +00:00
  • 7748e9e964 Disabling the coreutils tests Lluís Batlle i Rossell 2009-11-20 20:28:43 +00:00
  • 9effdda93b Updating the dependencies of the new coreutils: they need perl. Lluís Batlle i Rossell 2009-11-20 20:26:36 +00:00
  • ab61e5b40d stdenv: Let GNU tar select the decompression method. Ludovic Courtès 2009-11-20 17:10:00 +00:00
  • be4dfd41be GNU Libtool: Disable tests for now. Ludovic Courtès 2009-11-20 17:09:54 +00:00
  • e10632e7d5 Trying to fix the stdenv used on i686-darwin, which stopped working after my statement of the gcc-wrapper coreutils dependency on r17867. I don't have i686-darwin to try this. Lluís Batlle i Rossell 2009-11-20 16:56:11 +00:00
  • 28d9e73d34 Adding a new mkDerivation flag for the cross stdenv, selfNativeBuildInput = true/false, which tells whether the derivation needs itself as buildNativeInput. For example, in order to build cross ncurses, we need the a native build ncurses. (As libtool does not work in stdenv, I have not tested this change, to check whether finally ncurses cross-build) Lluís Batlle i Rossell 2009-11-20 16:38:01 +00:00
  • 2c8d2c2268 Small bugfix which automatically creates tomcat configuration dirs. Otherwise the startup would fail Sander van der Burg 2009-11-20 16:20:57 +00:00
  • ebbde6f8d3 Added directory option for ejabberd dumps so that we can use derivations on a convenient way, e.g. loadDumps = [ myDumpDrvFun ]; Sander van der Burg 2009-11-20 15:35:01 +00:00
  • 86f8f47d87 * eclipse-classic -> eclipse. Eelco Dolstra 2009-11-20 15:33:06 +00:00
  • e0491358eb * Removed a lot of old Eclipse versions. * Cleaned up the Eclipse classic expression a bit (e.g. use makeWrapper). Also fall back to GTK 2.16 to fix some GUI glitches. Eelco Dolstra 2009-11-20 15:19:00 +00:00
  • 853bfbd0b6 Upgraded eigen to 2.0.9 Sander van der Burg 2009-11-20 13:21:58 +00:00
  • 973b9cfde6 * Remove some incorrect uses of makeOverridable. Eelco Dolstra 2009-11-20 12:51:14 +00:00
  • 4497215410 Allowing in the cross stdenv adapter the calls to mkDerivation without name. I don't know why there are such calls, but there are. Lluís Batlle i Rossell 2009-11-20 12:33:43 +00:00
  • f08928cfe6 Increased the heap size of the GWT compiler to 256 MiB Sander van der Burg 2009-11-20 11:37:11 +00:00
  • a270563c80 Updating boost Lluís Batlle i Rossell 2009-11-20 08:35:28 +00:00
  • 7983251ce0 Fixing a trivial error in the glibc-2.11 longDescription, and fixing the arguments for the ncurses expression. Lluís Batlle i Rossell 2009-11-20 08:27:59 +00:00
  • e1af625517 Add tentative glibc 2.11 expression, based on that of glibc 2.9. Ludovic Courtès 2009-11-19 23:28:45 +00:00
  • 6f3630e128 Attention, people who care on the builders for native builds. In the stdenv derivation, the "buildInputs" in every stdenv mkDerivation don't map now directly to the environment variable "buildInputs" in the builder, but "buildNativeInputs". So, the inputs build by the native compiler. When cross compiling, they will map to the environment variable "buildInputs" (yes, now the same name), which means does to be built with the cross compiler. Lluís Batlle i Rossell 2009-11-19 23:05:11 +00:00
  • 40e564c87c GNU Coreutils 8.1. Ludovic Courtès 2009-11-19 22:46:45 +00:00
  • 640db0323d GNU Libtool 2.2.6b. Ludovic Courtès 2009-11-19 22:46:40 +00:00
  • 5c14f92b30 Reverting a wrong name change I once did, when I thought that we would update all the naming in nixpkgs to match the new build/host cross compilation stdenv. Nevertheless, we decided not to do the renaming, but I forgot this change in readline until ludo told me about it. Lluís Batlle i Rossell 2009-11-19 22:15:13 +00:00
  • 4dfc635cbb Fixing the uboot cross-build. Lluís Batlle i Rossell 2009-11-19 21:43:03 +00:00
  • e85500987b Merging from trunk. I had to do two manual merges, quite trivial I think. Lluís Batlle i Rossell 2009-11-19 19:09:10 +00:00
  • 7ade207f6b - Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining the cross compilation functionality. - I renamed some expected stdenv.mkDerivation parameter attributes so we can keep this branch properly updated from trunk. We agreed with Nicolas Pierron doing a massive renaming, so all current buildInputs become hostInputs (input as build for the host machine, in autotools terminology) , and then buildInputs would mean "input as for the build machine". By now, the specific "input as for the build machine" is specified through buildNativeInputs. We should fix this in the merge to trunk. - I made the generic stdenv understand the buildNativeInputs, otherwise if we start changing nixpkgs expressions so they distinguish the current buildInputs into buildInputs and buildNativeInputs, we could break even more nixpkgs for other platforms. - I changed the default result of mkDerivation so it becomes the derivation for to be run in the build machine. This allows, without any special rewriting, "fetchurl" derivations to be always results for the build machine to use them. - The change above implies that, for anyone wanting to cross-compile, has to build the hostDrv of the wanted derivation. For example, after this commit, the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described the contents of this arm.nix in r18398. Lluís Batlle i Rossell 2009-11-19 19:03:34 +00:00
  • 58f543f19f * Remove some old Emacs versions. Eelco Dolstra 2009-11-19 17:36:43 +00:00
  • 81c5c44ddb * Move makeOverridable out of all-packages.nix. Eelco Dolstra 2009-11-19 17:30:21 +00:00
  • 56ed820f84 Add systems.nix give more control over the increasing list of supported systems. This is not yet used because it has to be integrated with the current system. Nicolas Pierron 2009-11-19 17:19:39 +00:00
  • 6ba27ab552 * Add file support in the runHook function. Nicolas Pierron 2009-11-19 17:19:32 +00:00
  • 519e7870b6 * Move modifyDerivation' from build-support/vm to lib and rename it to overrideDerivation'. Eelco Dolstra 2009-11-19 16:43:58 +00:00
  • aa392c3aa7 * Move functions like `runCommand' out of all-packages.nix and into build-support/. Eelco Dolstra 2009-11-19 16:07:47 +00:00
  • dd0f8b36d5 Moved ejabberd initialization check loop inside the if statement, since we only have to check for it in the first startup Sander van der Burg 2009-11-19 15:17:04 +00:00
  • 9b000b3dcf Added loadDumps option, which makes it possible to load a specific ejabberd configuration on the first startup Sander van der Burg 2009-11-19 15:12:05 +00:00
  • 5fca80982a move autoconfPhase so it can be overriden Rob Vermaas 2009-11-19 13:57:57 +00:00
  • a5cdfcbdb2 Removed the dirty sleep hack from the ejabberd service Sander van der Burg 2009-11-19 13:15:15 +00:00
  • d9aae7cb65 Adding JAMP game.. Michael Raskin 2009-11-19 12:10:23 +00:00
  • e171b6d86e Added option to specify directories as a path for MySQL database schemas. Sander van der Burg 2009-11-18 21:56:47 +00:00
  • 8c638e5e68 Fixing what I broke in the last commit in setup.sh. I made the stdenvCross adapter simpler, according to Nicolas Pierron comments, and I commented it a bit. Lluís Batlle i Rossell 2009-11-18 19:25:57 +00:00
  • 4dca2c8b12 echo to stderr in stead of stdout. else hydra cannot read hash/path Rob Vermaas 2009-11-18 19:10:24 +00:00
  • 4c09cfc8a3 Adding generic builder management of cross compilation: envHooksHost, pkgsHost, ... Lluís Batlle i Rossell 2009-11-18 18:16:35 +00:00
  • 4f20056bca nix-prefetch-git: Default to SHA256. Ludovic Courtès 2009-11-18 16:39:09 +00:00
  • 39476057a2 nix-prefetch-git: Support $NIX_PREFETCH_GIT_LEAVE_DOT_GIT. Ludovic Courtès 2009-11-18 16:39:06 +00:00
  • 3124661215 nix-prefetch-git: Remove `--depth' argument since it's risky. Ludovic Courtès 2009-11-18 16:24:31 +00:00