Commit graph

3573 commits

Author SHA1 Message Date
Lluís Batlle i Rossell 305a7a2ddf More testing allows fixing more errors from the recent commits.
svn path=/nixpkgs/trunk/; revision=20279
2010-02-27 21:21:20 +00:00
Lluís Batlle i Rossell 4677180b0d Barf. I have to test the expressions before commiting.
svn path=/nixpkgs/trunk/; revision=20278
2010-02-27 20:37:58 +00:00
Lluís Batlle i Rossell 81b325b33f Adding a cross compiler condition for sparc64 due to a gcc bug
svn path=/nixpkgs/trunk/; revision=20277
2010-02-27 20:29:39 +00:00
Lluís Batlle i Rossell 11aa65c28a Simplified much more the expressions for cross building and multiplatform.
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-27 17:35:47 +00:00
Lluís Batlle i Rossell 8f2427c91a Updating the actual platforms in platforms.nix to fit the new requirement:
kernelHeadersBaseConfig.

svn path=/nixpkgs/trunk/; revision=20270
2010-02-27 00:55:03 +00:00
Lluís Batlle i Rossell b1b7266aa3 After some testing with an ultrasparc cross-compiler:
Updating the cross-build expressions, adding some flexibility.
Updated the linux headers used cross building, as 2.6.28 had bugs on endianness in
sparc64.
There were, as usual some bugs in gcc. Maybe not many make a cross compiler to
ultrasparc.

For the record, I could build an ultrasparc kernel with this base nix:
import /etc/nixos/nixpkgs/default.nix   # The root nixpkgs default.nix
{
    crossSystem = {
        config = "sparc64-unknown-linux";
        bigEndian = true;
        arch = "sparc64";
        float = "soft";
        withTLS = true;
        cpu = "ultrasparc";
    };

    config = pkgs: {
      packageOverrides = pkgs : {
        platform = {
            name = "sparc64";
            kernelHeadersBaseConfig = "sparc64_defconfig";
            kernelBaseConfig = "sparc64_defconfig";
            kernelArch = "sparc";
            kernelAutoModules = false;
            kernelTarget = "zImage";
            uboot = null;
        };
      };
    };
}

Although it did not boot directly in qemu-system-sparc64:
[sparc64] Kernel already loaded
Unhandled Exception 0x0000000000000020
PC = 0x0000000000404000 NPC = 0x0000000000404004

svn path=/nixpkgs/trunk/; revision=20269
2010-02-27 00:52:48 +00:00
Eelco Dolstra 61c9c2434f * Updated fbcondecor for Linux 2.6.33.
svn path=/nixpkgs/trunk/; revision=20257
2010-02-25 14:15:42 +00:00
Rob Vermaas e9404a5d83 * remove sawmill
svn path=/nixpkgs/trunk/; revision=20252
2010-02-25 13:28:36 +00:00
Eelco Dolstra e04c9a452a * Linux 2.6.33.
svn path=/nixpkgs/trunk/; revision=20246
2010-02-25 12:40:03 +00:00
Rob Vermaas c4332bb7a1 nix 0.15pre20231 as nixUnstable
svn path=/nixpkgs/trunk/; revision=20243
2010-02-25 10:01:33 +00:00
Lluís Batlle i Rossell 7d898c52df Adding some important modules to the qemu versatile board and the sheevaplug,
mainly for nfsroot and nixos.


svn path=/nixpkgs/trunk/; revision=20238
2010-02-24 22:13:48 +00:00
Lluís Batlle i Rossell eaf2e0f1fa Trying to get nfsroot boot in versatile (simply adding kernel options for that)
svn path=/nixpkgs/trunk/; revision=20237
2010-02-24 20:35:14 +00:00
Lluís Batlle i Rossell e668d2689e Adding 'gt5', a diff-capable 'du' browser
svn path=/nixpkgs/trunk/; revision=20236
2010-02-24 19:06:25 +00:00
Michael Raskin 7ec7268649 Added Clozure CL
svn path=/nixpkgs/trunk/; revision=20211
2010-02-24 09:04:29 +00:00
Lluís Batlle i Rossell 93ee9539e2 Made the RTC and the SCSI disks work on versatile.
svn path=/nixpkgs/trunk/; revision=20207
2010-02-23 22:41:16 +00:00
Michael Raskin f90ab6394b Make Vim expression overridable
svn path=/nixpkgs/trunk/; revision=20201
2010-02-23 18:29:11 +00:00
Eelco Dolstra a4d524eb8b * Use ATerm 2.5 for Nix.
svn path=/nixpkgs/trunk/; revision=20197
2010-02-23 16:14:21 +00:00
Lluís Batlle i Rossell a13774ecfe Making opencascade build its visualization, DRAW, and WOK libraries/tools.
svn path=/nixpkgs/trunk/; revision=20193
2010-02-23 14:20:10 +00:00
Eelco Dolstra 70742ef6b1 svn path=/nixpkgs/trunk/; revision=20190 2010-02-23 12:49:14 +00:00
Lluís Batlle i Rossell 26c4567797 Making the integratorCP board boot. It still has no mmc support.
svn path=/nixpkgs/trunk/; revision=20184
2010-02-22 23:44:02 +00:00
Lluís Batlle i Rossell 5ec8e9cc7e Removing mentions in all-packages to already removed expressions (old cross build)
svn path=/nixpkgs/trunk/; revision=20183
2010-02-22 23:43:29 +00:00
Michael Raskin 4b22e9d61d Adding cfdg - context-free design grammar
svn path=/nixpkgs/trunk/; revision=20166
2010-02-22 10:46:49 +00:00
Lluís Batlle i Rossell 454fb58a39 Updating psi, so it builds with gcc 4.4
svn path=/nixpkgs/trunk/; revision=20165
2010-02-22 09:53:17 +00:00
Ludovic Courtès 913503155a GNU Sharutils: Pass `gettext'; run the test suite.
svn path=/nixpkgs/trunk/; revision=20164
2010-02-22 09:52:39 +00:00
Ludovic Courtès 7abc6a6b7d GNU Sharutils 4.8.
svn path=/nixpkgs/trunk/; revision=20163
2010-02-22 09:07:15 +00:00
Michael Raskin 5c8272b0bc Adding asymptote graphic generation tool
svn path=/nixpkgs/trunk/; revision=20158
2010-02-21 17:36:41 +00:00
Alexander Tsamutali 2b78535ef9 applications/misc/xmobar: Added UTF8 and XFT support.
svn path=/nixpkgs/trunk/; revision=20156
2010-02-21 15:49:44 +00:00
Alexander Tsamutali 618c0f040a development/libraries/haskell/X11-xft: New nixpkg.
svn path=/nixpkgs/trunk/; revision=20155
2010-02-21 15:45:13 +00:00
Lluís Batlle i Rossell bc939a87b4 More platform updates - the serial line in integratorcp kernel still does
not work for me, nevertheless.


svn path=/nixpkgs/trunk/; revision=20153
2010-02-21 12:24:50 +00:00
Alexander Tsamutali 8c82537f9a applications/misc/sakura: New nixpkg.
svn path=/nixpkgs/trunk/; revision=20152
2010-02-21 11:36:49 +00:00
Michael Raskin 6c9bc8bf6d Update Perl MakeMaker. Newer version at least can be built...
svn path=/nixpkgs/trunk/; revision=20149
2010-02-21 09:16:04 +00:00
Ludovic Courtès 97c9ff361f GNU Guile 1.9.8.
svn path=/nixpkgs/trunk/; revision=20140
2010-02-20 16:19:36 +00:00
Michael Raskin 7db8225aed Update Data Matrix library and ifx its build
svn path=/nixpkgs/trunk/; revision=20139
2010-02-20 11:56:23 +00:00
Lluís Batlle i Rossell 7dc6cf1f03 Removing crossArm.uboot from the hydra builds - it now depends on a platform being set.
svn path=/nixpkgs/trunk/; revision=20131
2010-02-19 15:48:07 +00:00
Eelco Dolstra 06f07381c4 * Fix some evaluation errors.
* Removed glibc 2.10.

svn path=/nixpkgs/trunk/; revision=20130
2010-02-19 15:40:37 +00:00
Lluís Batlle i Rossell e1760d529b I still did not fix the nixpkgs tarball in the previous commit...
Next attempt, now simpler.

svn path=/nixpkgs/trunk/; revision=20129
2010-02-19 14:42:50 +00:00
Lluís Batlle i Rossell 912bbd7aa1 Removing the qt as an opencascade dependency. It is not used at all there.
svn path=/nixpkgs/trunk/; revision=20128
2010-02-19 14:25:23 +00:00
Lluís Batlle i Rossell 840a78977b Adding a kernelArch to the 'pc' platform to keep uboot happy.
This should fix the nixpkgs tarball evaluation.

svn path=/nixpkgs/trunk/; revision=20127
2010-02-19 14:25:15 +00:00
Lluís Batlle i Rossell 85a35352bb Trying to get serial in qemu integratorcp. Still without succeed.
svn path=/nixpkgs/trunk/; revision=20118
2010-02-18 21:10:49 +00:00
Lluís Batlle i Rossell 7506ae348d Updating qemu
svn path=/nixpkgs/trunk/; revision=20115
2010-02-18 18:42:11 +00:00
Lluís Batlle i Rossell cdf6235ac9 Making opencascade link properly its shared objects with their dependencies. Its libtool script
used 'file' to find the shared object needed on linking.

svn path=/nixpkgs/trunk/; revision=20112
2010-02-18 16:24:45 +00:00
Lluís Batlle i Rossell 9bcb6277f3 Changing linux kernel references from vmlinuz to bzImage.
This way we get a simpler kernel build script.

svn path=/nixpkgs/trunk/; revision=20094
2010-02-18 11:34:48 +00:00
Michael Raskin 89d1b7881f Update SGT puzzles and improve builderDefs processing of propagated(Native)BuildInputs after stdenv merge
svn path=/nixpkgs/trunk/; revision=20093
2010-02-18 10:29:40 +00:00
Lluís Batlle i Rossell 513443dc9f Setting the pc kernel image to 'vmlinuz', and not 'bzImage'.
I thought it had to be bzImage. I should have checked better.

svn path=/nixpkgs/trunk/; revision=20091
2010-02-18 09:42:59 +00:00
Marc Weber f57a5d2273 libXi: build man pages
svn path=/nixpkgs/trunk/; revision=20089
2010-02-18 01:49:53 +00:00
Lluís Batlle i Rossell 70cb7050f5 Trying to make the linux kernels also cross-build.
svn path=/nixpkgs/trunk/; revision=20080
2010-02-17 22:20:56 +00:00
Lluís Batlle i Rossell 7b4529cfc7 Allowing multiplatform uboot (sheevaplug/integratorcp).
svn path=/nixpkgs/trunk/; revision=20079
2010-02-17 21:09:27 +00:00
Lluís Batlle i Rossell aca3e65338 Adding the mainline uboot.
svn path=/nixpkgs/trunk/; revision=20078
2010-02-17 20:53:01 +00:00
Michael Raskin 2fb7879a19 Upstart 0.6 is just upstart now
svn path=/nixpkgs/trunk/; revision=20067
2010-02-17 06:53:08 +00:00
Michael Raskin 6a51d0465d Try updating SBCL
svn path=/nixpkgs/trunk/; revision=20066
2010-02-17 06:50:45 +00:00