3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

219 commits

Author SHA1 Message Date
Eelco Dolstra 31f2316454 * "ppc" -> "powerpc", but do copy the "ppc" directory as well.
svn path=/nixpkgs/trunk/; revision=6844
2006-10-25 10:55:36 +00:00
Eelco Dolstra 26a11fbf54 * Fix a typo, and put the platform-specific header directory in the
Nix expression rather than the builder.

svn path=/nixpkgs/trunk/; revision=6843
2006-10-25 10:14:27 +00:00
Eelco Dolstra 1080560215 * Remove old kernel headers, use 2.6.18.1.
svn path=/nixpkgs/trunk/; revision=6832
2006-10-24 22:26:09 +00:00
Eelco Dolstra 461783c3a5 * useDietLibC: work properly on impure stdenvs.
* dietlibc: pass glibc explicitly.

svn path=/nixpkgs/trunk/; revision=6807
2006-10-23 17:43:55 +00:00
Eelco Dolstra ed5f6e55e8 * Support x86_64.
svn path=/nixpkgs/trunk/; revision=6805
2006-10-23 17:42:17 +00:00
Eelco Dolstra 84dd812f33 Finally, the new stdenv-linux.
* The statically linked bootstrap tools are now automatically
  reproducable, just do:

  $ nix-build ./make-bootstrap-tools.nix

  The resulting binaries in result/in-nixpkgs go to
  stdenv/linux/bootstrap/<platform>/, and the tarballs in
  result/on-server go to
  https://svn.cs.uu.nl:12443/repos/trace/tarballs/trunk/stdenv-linux/<platform>/<revision>/.
  These are checked out on nix.cs.uu.nl under http://.../dist/tarballs.

* The statically linked libraries all use dietlibc now (except
  patchelf and glibc), so they are much smaller.  This is especially
  nice for the tools in the Nixpkgs tree, since it makes Nixpkgs
  tarballs smaller.

* Use Binutils 2.17 and GCC 4.1.1 for the bootstrap.

* The stdenv is now based on Glibc 2.5.  I hope it works ;-)

svn path=/nixpkgs/trunk/; revision=6803
2006-10-23 14:27:34 +00:00
Eelco Dolstra bc22a981e5 * Remove <dlfcn.h>, it makes some packages think we can load dynamic
libraries.

svn path=/nixpkgs/trunk/; revision=6796
2006-10-21 11:36:28 +00:00
Eelco Dolstra 4a00169ff6 * Okay, we do need part of <wchar.h>
svn path=/nixpkgs/trunk/; revision=6790
2006-10-20 16:01:11 +00:00
Eelco Dolstra 8ae026392b * Remove <wchar.h> since it's bogus.
svn path=/nixpkgs/trunk/; revision=6781
2006-10-19 22:30:20 +00:00
Eelco Dolstra c696045af0 * dietlibc: copy sys/user.h from Glibc, binutils needs it.
* dietlibc: rename the PC macro to __DIETLIBC_PC to prevent name
  clashes.

svn path=/nixpkgs/trunk/; revision=6769
2006-10-19 10:54:40 +00:00
Eelco Dolstra 501ceef268 * A function `useDietLibC' that returns a modified stdenv that uses
dietlibc to produce small, statically linked binaries.  This stdenv
  also passes `-Os' to GCC automatically to optimise for size.  It
  also tries to prevent builders from linking against dynamic
  libraries (which dietlibc doesn't support).

* A function `addAttrsToDerivation' that returns a modified stdenv
  that always adds the specified attributes to the derivations that it
  produces.  Example (from curl):

    curlDiet =  import ../tools/networking/curl {
      inherit fetchurl zlib;
      stdenv = addAttrsToDerivation {
        CFLAGS = "-DHAVE_INET_NTOA_R_2_ARGS=1";
      } (useDietLibC stdenv);
    };

  (This is needed to get curl to build with dietlibc.  Also note the
  stacking of stdenv-modifying functions.)

* curl-diet: no longer necessary.

svn path=/nixpkgs/trunk/; revision=6761
2006-10-18 12:50:04 +00:00
Eelco Dolstra 20d42ae673 * Fake Glibc's crti.o and crtn.o to make the linker happy.
svn path=/nixpkgs/trunk/; revision=6760
2006-10-18 12:45:46 +00:00
Eelco Dolstra b131d474c7 * dietlibc: symlink "lib" to "lib-*", and symlink "crt1.o" to
"start.o" to make it easier to use dietlibc as a drop-in replacement
  for glibc.

svn path=/nixpkgs/trunk/; revision=6759
2006-10-18 11:25:10 +00:00
Eelco Dolstra 5782390a5d * Fix some URLs.
svn path=/nixpkgs/trunk/; revision=6714
2006-10-12 15:09:27 +00:00
Eelco Dolstra ad897a7c96 * Update more URLs.
svn path=/nixpkgs/trunk/; revision=6713
2006-10-12 14:53:45 +00:00
Eelco Dolstra 1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Eelco Dolstra f772de22a1 * Updated the kernel to 2.6.17.13.
* Run `make oldconfig' before building.
* Split buildPhase into configure/build/installPhase.
* Strip the kernel modules for a huge space savings.

svn path=/nixpkgs/trunk/; revision=6555
2006-09-18 22:09:47 +00:00
Eelco Dolstra 083699314d * Latest ALSA, SDL.
svn path=/nixpkgs/trunk/; revision=6500
2006-09-11 23:06:26 +00:00
Armijn Hemel 6412133453 add squashfs tools for making/unpacking squashfs images
svn path=/nixpkgs/trunk/; revision=6476
2006-09-08 15:19:43 +00:00
Eelco Dolstra b76219e55b * Doh :-(
svn path=/nixpkgs/trunk/; revision=6316
2006-08-29 18:08:26 +00:00
Eelco Dolstra 82249837c6 * Use the very latest kernel headers, while we're at it.
svn path=/nixpkgs/trunk/; revision=6313
2006-08-29 18:07:03 +00:00
Armijn Hemel a6409626a4 fix download location
svn path=/nixpkgs/trunk/; revision=6312
2006-08-29 18:01:48 +00:00
Armijn Hemel f2b3ae3213 switch to 2.6.17.6 before the buildfarm starts to build ;)
svn path=/nixpkgs/trunk/; revision=6311
2006-08-29 17:59:48 +00:00
Armijn Hemel 58f89a8877 change kernel-headers. Now we can build this on powerpc-linux too...
svn path=/nixpkgs/trunk/; revision=6310
2006-08-29 17:48:04 +00:00
Armijn Hemel b5f16b3541 whoops, don't forget a default.nix...
svn path=/nixpkgs/trunk/; revision=6299
2006-08-28 21:55:35 +00:00
Armijn Hemel e142de356a 3.20 needs different patch
svn path=/nixpkgs/trunk/; revision=6298
2006-08-28 21:53:39 +00:00
Armijn Hemel 0af8111262 download location has changed
svn path=/nixpkgs/trunk/; revision=6293
2006-08-28 13:22:40 +00:00
Armijn Hemel 541a148e91 change download location (ftp.nluug.nl gives a 550, because of disks that are
full, and so on...sigh)

svn path=/nixpkgs/trunk/; revision=6290
2006-08-28 09:58:07 +00:00
Armijn Hemel a9aa78e444 add Red Hat's mkinitrd package. This is mainly so we can use the "grubby" program in NixOS.
svn path=/nixpkgs/trunk/; revision=6280
2006-08-27 20:00:08 +00:00
Armijn Hemel 1730acf983 add libraries for SELinux. Not that we're gonna use it...
svn path=/nixpkgs/trunk/; revision=6276
2006-08-27 18:05:18 +00:00
Armijn Hemel dfc8248073 fix some compilation/installation issues with e2fsprogs.
svn path=/nixpkgs/trunk/; revision=6275
2006-08-27 17:40:04 +00:00
Armijn Hemel 7bd7fef590 add a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEV
svn path=/nixpkgs/trunk/; revision=6058
2006-08-06 20:30:41 +00:00
Armijn Hemel 5d58712fe0 add the MAKEDEV utility. This needs a wrapper with the right location of the configuration directory (default /etc/makdev.d) to work correctly on NixOS.
svn path=/nixpkgs/trunk/; revision=6057
2006-08-06 19:57:12 +00:00
Armijn Hemel 6f1e09951c refactor
svn path=/nixpkgs/trunk/; revision=6006
2006-07-31 15:12:08 +00:00
Armijn Hemel 7930f906dc allow for variability, don't change the default
svn path=/nixpkgs/trunk/; revision=5999
2006-07-30 22:47:39 +00:00
Armijn Hemel 0d685d9ebe move NIX_GLIBC_FLAGS_SET=1 to the dietlibc-wrapper
svn path=/nixpkgs/trunk/; revision=5992
2006-07-30 17:07:15 +00:00
Armijn Hemel 6aca0d8f9d more fixes
svn path=/nixpkgs/trunk/; revision=5985
2006-07-28 13:29:33 +00:00
Armijn Hemel 559ea955a1 fixes
svn path=/nixpkgs/trunk/; revision=5984
2006-07-28 13:17:09 +00:00
Armijn Hemel 5ee173e814 new builders, new scripts, new yay!
svn path=/nixpkgs/trunk/; revision=5982
2006-07-28 12:49:12 +00:00
Armijn Hemel a9d8252365 remove scripts
svn path=/nixpkgs/trunk/; revision=5981
2006-07-28 12:48:19 +00:00
Armijn Hemel 05fad51550 change patch again, this time to keep Eelco happy
svn path=/nixpkgs/trunk/; revision=5969
2006-07-27 16:57:58 +00:00
Armijn Hemel 020ecb474f fix patch once again, modprobe should work fine now
svn path=/nixpkgs/trunk/; revision=5968
2006-07-27 16:52:56 +00:00
Armijn Hemel 9ec98e5d19 change patch so we get the right path
svn path=/nixpkgs/trunk/; revision=5967
2006-07-27 16:23:29 +00:00
Armijn Hemel 4961c5e3e1 add an option to dynamically set the MODULE_DIR path using an environment variable. This way we can keep more information in the store (as suggested by Eelco) and get rid of my ugly hack in NixOS...and a large part of one chapter of my thesis :|
svn path=/nixpkgs/trunk/; revision=5966
2006-07-27 15:06:58 +00:00
Armijn Hemel 5ae0cc2c5e new procps
svn path=/nixpkgs/trunk/; revision=5877
2006-07-22 19:49:29 +00:00
Armijn Hemel 80b7adab70 cleanups
svn path=/nixpkgs/trunk/; revision=5866
2006-07-21 16:13:56 +00:00
Armijn Hemel 66c10e00e8 run depmod as well after having rebuilt everything
svn path=/nixpkgs/trunk/; revision=5865
2006-07-21 15:37:07 +00:00
Armijn Hemel 7460d6f3a2 more fixes
svn path=/nixpkgs/trunk/; revision=5864
2006-07-21 15:07:04 +00:00
Armijn Hemel a0d71d4a50 fixes, fixes, fixes
svn path=/nixpkgs/trunk/; revision=5863
2006-07-21 14:24:43 +00:00
Armijn Hemel de51340b0c use new thingies (system/i686-linux.nix -> top-level/all-packages.nix)
svn path=/nixpkgs/trunk/; revision=5862
2006-07-21 13:48:19 +00:00