summary refs log tree commit diff
path: root/pkgs/applications/editors/ed
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-04-04 18:10:42 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-04-04 18:10:42 +0000
commit19b98110126fde7cbb1127af7e3fe1568eacad3d (patch)
treea32e49d08765b5d8ff0b5b7eaae87ae3907e1542 /pkgs/applications/editors/ed
parent2d261d1c1ed28e396ec0305075ccffb25b416abc (diff)
downloadnixpkgs-19b98110126fde7cbb1127af7e3fe1568eacad3d.tar
nixpkgs-19b98110126fde7cbb1127af7e3fe1568eacad3d.tar.gz
nixpkgs-19b98110126fde7cbb1127af7e3fe1568eacad3d.tar.bz2
nixpkgs-19b98110126fde7cbb1127af7e3fe1568eacad3d.tar.lz
nixpkgs-19b98110126fde7cbb1127af7e3fe1568eacad3d.tar.xz
nixpkgs-19b98110126fde7cbb1127af7e3fe1568eacad3d.tar.zst
nixpkgs-19b98110126fde7cbb1127af7e3fe1568eacad3d.zip
Making a bunch of basic programs cross-buildable.
After this, the 'bootstrap-tools' can be cross-built.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20945
Diffstat (limited to 'pkgs/applications/editors/ed')
-rw-r--r--pkgs/applications/editors/ed/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/editors/ed/default.nix b/pkgs/applications/editors/ed/default.nix
index 9f26c0a2886..905cde880ed 100644
--- a/pkgs/applications/editors/ed/default.nix
+++ b/pkgs/applications/editors/ed/default.nix
@@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
 
   doCheck = true;
 
+  crossAttrs = {
+    compileFlags = [ "CC=${stdenv.cross.config}-gcc" ];
+  };
+
   meta = {
     description = "GNU ed, an implementation of the standard Unix editor";