Commit Graph

712200 Commits

Author SHA1 Message Date
Armijn Hemel
036e97eea9 add binutils for powerpc-linux. Happy New Year!!!
svn path=/nixpkgs/trunk/; revision=4474
2006-01-01 01:36:08 +00:00
Armijn Hemel
714b4fce1c add some sparc specific stuff
svn path=/nixpkgs/trunk/; revision=4473
2005-12-31 16:30:47 +00:00
Armijn Hemel
d23e28873e add support for sparc-linux. For some reason the build still fails though...
svn path=/nixpkgs/trunk/; revision=4472
2005-12-31 16:29:22 +00:00
Armijn Hemel
cca5dc0b57 add sparc-linux
svn path=/nixpkgs/trunk/; revision=4471
2005-12-31 16:28:49 +00:00
Armijn Hemel
05ab87c7e1 move some of the configuration into the builder from default.nix. Also add support for sparc
svn path=/nixpkgs/trunk/; revision=4470
2005-12-31 16:27:23 +00:00
Armijn Hemel
a4a9e5aea6 small howto of adding new targets for uClibc cross compiling. For some
reasons sparc-linux fails, need to look into that...but hey, this is fun.
Requests anyone? :)

svn path=/nixpkgs/trunk/; revision=4469
2005-12-31 16:12:04 +00:00
Armijn Hemel
560a2d3c10 make a symlink to an existing "ar"
svn path=/nixpkgs/trunk/; revision=4468
2005-12-31 15:56:07 +00:00
Armijn Hemel
3eb9903b16 Add kernel headers for MIPS, uClibc for MIPS, binutils for MIPS, gcc for MIPS,
all in a generic way. Adding new platforms to cross compile applications for
with uClibc becomes pretty trivial this way (unless you want C++ support,
see 'maintainers/docs/cross.txt' for an explanation why this is so tough
to build with Nix.)

So, Nix starts with Linux/MIPS support in the New Year :)

svn path=/nixpkgs/trunk/; revision=4467
2005-12-31 14:35:49 +00:00
Armijn Hemel
bcfef16b46 make the headers more generic, so we can also do things like MIPS.
svn path=/nixpkgs/trunk/; revision=4466
2005-12-31 14:31:16 +00:00
Armijn Hemel
bfcb644bb4 better layout, make sure we can differentiate between different configurations
svn path=/nixpkgs/trunk/; revision=4465
2005-12-31 14:10:20 +00:00
Armijn Hemel
2f3dfaa5b9 make our cross compiler a lot more generic.
svn path=/nixpkgs/trunk/; revision=4464
2005-12-31 14:09:44 +00:00
Armijn Hemel
51e246c532 add a configuration for MIPS. Will make a document on how to add new
configurations...

svn path=/nixpkgs/trunk/; revision=4461
2005-12-31 13:15:23 +00:00
Armijn Hemel
4d84a2e569 move the configuration to a platform specific file, so we can be more generic
svn path=/nixpkgs/trunk/; revision=4460
2005-12-31 13:11:01 +00:00
Armijn Hemel
8b10549f2e move binutils-arm to binutils-cross. Also, add binutils for mips-linux in a
more generic way. Still, there is a lot of room for improvement.

svn path=/nixpkgs/trunk/; revision=4458
2005-12-31 03:46:20 +00:00
Armijn Hemel
fec867b5f2 add what should be done after completing the toolchain and a note of warning
that many packages cannot be succesfully cross compiled.

svn path=/nixpkgs/trunk/; revision=4457
2005-12-30 14:45:27 +00:00
Armijn Hemel
2f6385ba23 tell a bit more about the names of the binutils that the buildprocess expects
to find during cross compilation. We need to fix the gcc-wrapper to support
cross-compiling. Really, it's not that hard to do, but it needs to be done
correctly :)

svn path=/nixpkgs/trunk/; revision=4456
2005-12-30 14:20:44 +00:00
Armijn Hemel
b768475a3a don't strip the binaries in $out/bin and $out/sbin. strip doesn't recognize
the format of one of the files (a shellscript) and thus returns an error
code, which can safely be ignored, but from which Nix will conclude the build
has failed.

svn path=/nixpkgs/trunk/; revision=4454
2005-12-28 13:00:09 +00:00
Armijn Hemel
de220c973a add expressions for some static packages. Had forgotten this. That's the
punishment you get for working at 4am ;)

svn path=/nixpkgs/trunk/; revision=4453
2005-12-28 12:11:19 +00:00
Armijn Hemel
0ee2f324cc update to 1.38. Weird: this version doesn't want to build with dietlibc,
should find out why...

svn path=/nixpkgs/trunk/; revision=4452
2005-12-28 02:53:56 +00:00
Armijn Hemel
7bd6a3599b use newer curl. This fixes a few security bugs and this static version of curl
has been built using Nix itself. I've tested this, it works.

svn path=/nixpkgs/trunk/; revision=4451
2005-12-28 02:02:56 +00:00
Armijn Hemel
0c5b904257 we don't have nix-static. Bwah.
svn path=/nixpkgs/trunk/; revision=4448
2005-12-27 15:14:58 +00:00
Armijn Hemel
3ab0457893 add some documentation about where to find the Nix expressions for the static
tools in nixpkgs, why we chose dietlibc for some packages and glibc for others.

svn path=/nixpkgs/trunk/; revision=4447
2005-12-27 15:05:35 +00:00
Armijn Hemel
62dc2035fd we don't have bashDiet, we have bashStatic!
svn path=/nixpkgs/trunk/; revision=4446
2005-12-27 14:52:29 +00:00
Armijn Hemel
796636040a static diffutils for initial stdenv
svn path=/nixpkgs/trunk/; revision=4445
2005-12-27 10:39:20 +00:00
Armijn Hemel
abcfd1bce5 add static version for initial stdenv
svn path=/nixpkgs/trunk/; revision=4444
2005-12-27 02:50:48 +00:00
Armijn Hemel
cecd284522 add static version for initial stdenv...and maybe NixOS...
svn path=/nixpkgs/trunk/; revision=4443
2005-12-27 02:47:59 +00:00
Armijn Hemel
6aa7ab644a static version of gnused for initial stdenv...
svn path=/nixpkgs/trunk/; revision=4442
2005-12-27 02:44:56 +00:00
Armijn Hemel
40c9f1a764 add a statically compiled version of findutils for the inital stdenv and NixOS
svn path=/nixpkgs/trunk/; revision=4441
2005-12-26 17:13:37 +00:00
Armijn Hemel
e8488e3b71 add the links browser. This package built immediately, so I believe something is not pure...
svn path=/nixpkgs/trunk/; revision=4440
2005-12-26 16:13:04 +00:00
Armijn Hemel
4213f2ac08 enable slang here...
svn path=/nixpkgs/trunk/; revision=4439
2005-12-26 15:56:00 +00:00
Eelco Dolstra
b43c421658 * JDK: put the machine-dependent header files in the right place.
* Added SWT for GTK (built from source).
* Added Azureus (a Bittorrent client written in Java).

svn path=/nixpkgs/trunk/; revision=4438
2005-12-26 00:51:24 +00:00
Armijn Hemel
322d2f95e8 add the S-lang language...
svn path=/nixpkgs/trunk/; revision=4437
2005-12-25 14:02:09 +00:00
Armijn Hemel
62c3e9e7a1 add the statically linked curl-7.15.1 here.
Now, switching the curl to this version did not trigger a massive rebuild on
my system, which puzzles me. Maybe it is because no checksum is recorded?
Am I doing something wrong?

svn path=/nixpkgs/trunk/; revision=4434
2005-12-25 01:36:49 +00:00
Armijn Hemel
c067f85ab1 upgrade the statically linked curl to 7.15.1 from 7.14.1.
It would be good to use the output from this Nix expression for the initial
static stdenv.  Right now it is present, but we have not on record how it
exactly was compiled. If we use this package, we do know that in the future.

However, if we update this package it will cause a *MASSIVE* rebuild, namely
everything.

I won't be doing that...for now...even though some downtime for some people
would be a very good idea ;)

svn path=/nixpkgs/trunk/; revision=4433
2005-12-25 00:49:21 +00:00
Armijn Hemel
d2b1dc4a52 update curl to 7.15.1, fixes a security flaw. Merry X-mas :)
svn path=/nixpkgs/trunk/; revision=4432
2005-12-25 00:25:17 +00:00
Armijn Hemel
d124bd9434 some more tweaks. Enable extra logins on tty2 and tty3. Default root password
is empty.

svn path=/nixu/trunk/; revision=4429
2005-12-24 21:15:24 +00:00
Armijn Hemel
fe355bba78 replace a lot of tools we initially use with statically linked versions.
This reduces the ramdisk installer size with a few megabytes when gzipped,
but with about 40 MB when unpacked in memory.

There are a few improvements possible:

- strip the binaries. This saves another few MBs.
- only copy the binaries we really need to /bin or /sbin. This could reduce
the size of the installer a lot, especially with util-linux, of which we
don't use that many tools at all.
- try to move some packages we link with glibc right now (like util-linux) to
dietlibc. This will not work for bash, already tried that.
- try to use busybox as a replacement for everything.

svn path=/nixu/trunk/; revision=4428
2005-12-24 11:50:42 +00:00
Armijn Hemel
53c0ae3af3 add a static version of module-init-tools for NixOS
svn path=/nixpkgs/trunk/; revision=4427
2005-12-24 00:25:18 +00:00
Armijn Hemel
4f0314a553 update to 3.2.2
svn path=/nixpkgs/trunk/; revision=4426
2005-12-23 23:25:11 +00:00
Armijn Hemel
ef883ffda8 add a static version of util-linux for NixOS
svn path=/nixpkgs/trunk/; revision=4425
2005-12-23 23:20:49 +00:00
Armijn Hemel
6e80370dfe update util-linux to 2.12r
svn path=/nixpkgs/trunk/; revision=4424
2005-12-23 22:59:33 +00:00
Armijn Hemel
136c43448d add a static version of bash. This comes in handy for NixOS (installer disk) and the static tools we use to bootstrap Nix on for example NixOS. Can I say NixOS one more time? NixOS.
svn path=/nixpkgs/trunk/; revision=4423
2005-12-23 21:43:04 +00:00
Armijn Hemel
ae11cdc41e add the builder. Due to brain failure a "make install" does not install the
kudzu tools, we need make install-program for that. We do this in preInstall. Maybe not the right place, but what the heck...

svn path=/nixpkgs/trunk/; revision=4420
2005-12-23 19:25:58 +00:00
Armijn Hemel
7e6f127abb fix python includes
svn path=/nixpkgs/trunk/; revision=4419
2005-12-23 18:56:33 +00:00
Armijn Hemel
0ea291d760 add kudzu, needed for hardware detection in NixOS...
svn path=/nixpkgs/trunk/; revision=4418
2005-12-23 15:58:41 +00:00
Armijn Hemel
9a3162f1ff rip a patch from the Fedora RPM. This is needed to let kudzu compile...
svn path=/nixpkgs/trunk/; revision=4417
2005-12-23 15:26:05 +00:00
Armijn Hemel
b8e0c0bd99 put headerfiles in $out/include/pci, not in $out/include
svn path=/nixpkgs/trunk/; revision=4416
2005-12-23 15:14:56 +00:00
Armijn Hemel
4cbc035e47 add the pciutils
svn path=/nixpkgs/trunk/; revision=4415
2005-12-23 15:03:01 +00:00
Armijn Hemel
f130123af5 also make /var/lock and /var/lock/subsys: needed for ssh and others
svn path=/nixu/trunk/; revision=4414
2005-12-22 19:34:36 +00:00
Armijn Hemel
b9939fc37a add all keys for all different protocols...
svn path=/nixpkgs/trunk/; revision=4413
2005-12-22 19:28:12 +00:00