Commit graph

1612 commits

Author SHA1 Message Date
Armijn Hemel 2a4c103834 more impurities
svn path=/nixpkgs/trunk/; revision=4513
2006-01-07 23:13:50 +00:00
Armijn Hemel 1399888c50 remove another impurity (/bin/rm -> $coreutils/bin/rm)
svn path=/nixpkgs/trunk/; revision=4512
2006-01-07 23:00:07 +00:00
Armijn Hemel 9654bf717f rename a patch (we patch a lot more than the location of bash) and fix another
location...

svn path=/nixpkgs/trunk/; revision=4510
2006-01-07 22:16:37 +00:00
Armijn Hemel 55e923de73 actually replace @coreutils@ with the path to coreutils
svn path=/nixpkgs/trunk/; revision=4509
2006-01-07 18:09:18 +00:00
Armijn Hemel 1389a7f9fe enable usbutils and libusb
svn path=/nixpkgs/trunk/; revision=4507
2006-01-07 17:25:39 +00:00
Armijn Hemel 5c8e0170c8 add an alias "vi", for my convenience ;)
svn path=/nixpkgs/trunk/; revision=4506
2006-01-07 16:10:13 +00:00
Armijn Hemel 23656c4a76 supply right parameters for hotplug
svn path=/nixpkgs/trunk/; revision=4504
2006-01-07 15:06:10 +00:00
Armijn Hemel b02e8f3423 last pathfix...for now...
svn path=/nixpkgs/trunk/; revision=4500
2006-01-05 19:45:06 +00:00
Armijn Hemel 7fbc6a9e54 more path fixes...
svn path=/nixpkgs/trunk/; revision=4499
2006-01-05 19:39:31 +00:00
Armijn Hemel 1674963479 PATH screws up quite a bit...fix this...
svn path=/nixpkgs/trunk/; revision=4498
2006-01-05 19:30:22 +00:00
Armijn Hemel f3ee45412f argh, substitute the right way
svn path=/nixpkgs/trunk/; revision=4497
2006-01-05 18:18:41 +00:00
Armijn Hemel 057ef85775 apparently uname is used in a few more scripts. Expect more updates to this
package, since it is rather keen on hardcoded paths, also to configuration
information and where it can find scripts. However, testing has to be done
on NixOS, making the process a bit slow...ish...

svn path=/nixpkgs/trunk/; revision=4496
2006-01-05 17:55:52 +00:00
Armijn Hemel a5a7f117c6 use the right path for env
svn path=/nixpkgs/trunk/; revision=4495
2006-01-05 17:45:15 +00:00
Armijn Hemel f46b1352fd use correct sed commands
svn path=/nixpkgs/trunk/; revision=4494
2006-01-05 17:41:15 +00:00
Armijn Hemel b21d747280 hotplug uses some tools from gnused and coreutils
svn path=/nixpkgs/trunk/; revision=4493
2006-01-05 17:38:12 +00:00
Armijn Hemel d36b6a1898 patch hotplug so we won't need /bin/bash. I'm not sure how free of bashisms
these scripts are, so using /bin/sh instead is no option...

svn path=/nixpkgs/trunk/; revision=4492
2006-01-05 16:31:29 +00:00
Armijn Hemel 050fd281cd add usbutils
svn path=/nixpkgs/trunk/; revision=4491
2006-01-04 23:29:29 +00:00
Armijn Hemel 611a70c502 add libusb
svn path=/nixpkgs/trunk/; revision=4490
2006-01-04 23:29:09 +00:00
Armijn Hemel 55068cef8a we don't have /usr/bin/install on NixOS, so remove this path
svn path=/nixpkgs/trunk/; revision=4489
2006-01-04 23:08:50 +00:00
Armijn Hemel 483562f267 add xawtv. This version uses the new X libs and won't build the way this
one is built with the old libs. Maybe we should switch now ;)

svn path=/nixpkgs/trunk/; revision=4487
2006-01-03 23:18:20 +00:00
Armijn Hemel f6e4235c6b add ov511 kernel driver. This is for testing purposes. What we do is we build
the module and install it under $out/lib/modules/$kernelversion/ ...

Eventually we will make tons of symlinks from /lib/modules/$kernelversion
to this location, so we can safely run tools like depmod and friends.
I believe this is the least ugly hack to make it work.

svn path=/nixpkgs/trunk/; revision=4486
2006-01-03 15:49:54 +00:00
Eelco Dolstra c476c825cb * Subversion 1.3.0.
svn path=/nixpkgs/trunk/; revision=4484
2006-01-02 16:01:03 +00:00
Mart Kolthof 0ab104df8d added cil-aterm to nixpkgs
svn path=/nixpkgs/trunk/; revision=4482
2006-01-02 14:24:36 +00:00
Armijn Hemel 6d5762168d add location of static bzip2
svn path=/nixpkgs/trunk/; revision=4478
2006-01-01 14:25:56 +00:00
Armijn Hemel dde6370c2a add a statically linked bzip2. This is the last of the tools we need for a fullystatic initial stdenv...
svn path=/nixpkgs/trunk/; revision=4477
2006-01-01 13:34:35 +00:00
Armijn Hemel c2115654b9 add for powerpc, switch to 2.6.14.5 (don't panic, this is a seperate branch)
svn path=/nixpkgs/trunk/; revision=4476
2006-01-01 02:15:33 +00:00
Armijn Hemel 4655f9a723 add configuration for powerpc. Due to some bug we use a post-0.9.28 snapshot.
Scary ;)

svn path=/nixpkgs/trunk/; revision=4475
2006-01-01 01:55:26 +00:00
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