about summary refs log tree commit diff
path: root/pkgs/misc/uboot
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-02-19 14:42:50 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-02-19 14:42:50 +0000
commite1760d529b4070715947d44cf389cb3077477f7c (patch)
tree38655edcd8736d02a9dae11cff4ca9301f664ce1 /pkgs/misc/uboot
parent912bbd7aa13be8d724293b5484b9da37f3dc255d (diff)
downloadnixlib-e1760d529b4070715947d44cf389cb3077477f7c.tar
nixlib-e1760d529b4070715947d44cf389cb3077477f7c.tar.gz
nixlib-e1760d529b4070715947d44cf389cb3077477f7c.tar.bz2
nixlib-e1760d529b4070715947d44cf389cb3077477f7c.tar.lz
nixlib-e1760d529b4070715947d44cf389cb3077477f7c.tar.xz
nixlib-e1760d529b4070715947d44cf389cb3077477f7c.tar.zst
nixlib-e1760d529b4070715947d44cf389cb3077477f7c.zip
I still did not fix the nixpkgs tarball in the previous commit...
Next attempt, now simpler.

svn path=/nixpkgs/trunk/; revision=20129
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r--pkgs/misc/uboot/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index 262d976730fd..60bf372b8db9 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -1,5 +1,8 @@
 {stdenv, fetchurl, unzip, platform}:
 
+assert (stdenv.system != "i686-linux" && stdenv.system != "x86_64-linux")
+  || (stdenv ? cross);
+
 stdenv.mkDerivation {
   name = "uboot-2009.11";