diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-11-26 14:12:10 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-11-26 14:12:10 +0000 |
commit | e571333232a40c50d40104bcaa86efc916860d07 (patch) | |
tree | c7946beeb83ce3ef4deafacd5cea85455a28d41e /pkgs/tools | |
parent | b37f799732c3f09aa43a2a02ec6753c68f158043 (diff) |
Making ts and tm crossbuild
svn path=/nixpkgs/branches/stdenv-updates/; revision=24870
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/system/tm/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/system/ts/default.nix | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/tools/system/tm/default.nix b/pkgs/tools/system/tm/default.nix index a5e413690d0ed..0a4c1e58fc541 100644 --- a/pkgs/tools/system/tm/default.nix +++ b/pkgs/tools/system/tm/default.nix @@ -8,6 +8,10 @@ stdenv.mkDerivation { patchPhase = ''sed -i 's@/usr/bin/install@install@g' Makefile''; + crossAttrs = { + makeFlags = "CC=${stdenv.cross.config}-gcc"; + }; + src = fetchurl { url = http://vicerveza.homeunix.net/~viric/soft/tm/tm-0.4.1.tar.gz; sha256 = "3b389bc03b6964ad5ffa57a344b891fdbcf7c9b2604adda723a863f83657c4a0"; diff --git a/pkgs/tools/system/ts/default.nix b/pkgs/tools/system/ts/default.nix index 80778a3546acd..032b37a3868b7 100644 --- a/pkgs/tools/system/ts/default.nix +++ b/pkgs/tools/system/ts/default.nix @@ -6,6 +6,10 @@ stdenv.mkDerivation { installPhase=''make install "PREFIX=$out"''; + crossAttrs = { + makeFlags = "CC=${stdenv.cross.config}-gcc"; + }; + src = fetchurl { url = http://vicerveza.homeunix.net/~viric/soft/ts/ts-0.6.6.tar.gz; sha256 = "0mdg123ppq8ibf4315l4qi0w3n7wlj4x8dq5gx8f680v4bjvc30g"; |