diff options
author | hsloan <ishaqsloan@gmail.com> | 2017-06-28 16:55:50 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-06-28 21:29:07 -0400 |
commit | 60ce1e3b901013f5e5715c51a799940efc6cc2a4 (patch) | |
tree | a539962ae8b22d3cc1e06e646ab69a762bc14a3b /pkgs/tools/system/ts | |
parent | 82a09181a4bac183b98084d7e1f463d8c98afff6 (diff) | |
download | nixpkgs-60ce1e3b901013f5e5715c51a799940efc6cc2a4.tar nixpkgs-60ce1e3b901013f5e5715c51a799940efc6cc2a4.tar.gz nixpkgs-60ce1e3b901013f5e5715c51a799940efc6cc2a4.tar.bz2 nixpkgs-60ce1e3b901013f5e5715c51a799940efc6cc2a4.tar.lz nixpkgs-60ce1e3b901013f5e5715c51a799940efc6cc2a4.tar.xz nixpkgs-60ce1e3b901013f5e5715c51a799940efc6cc2a4.tar.zst nixpkgs-60ce1e3b901013f5e5715c51a799940efc6cc2a4.zip |
ts: Rely on cc-wrapper to export this env var
Diffstat (limited to 'pkgs/tools/system/ts')
-rw-r--r-- | pkgs/tools/system/ts/default.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/tools/system/ts/default.nix b/pkgs/tools/system/ts/default.nix index 97b35378673..cce18b5d54b 100644 --- a/pkgs/tools/system/ts/default.nix +++ b/pkgs/tools/system/ts/default.nix @@ -1,5 +1,6 @@ -{stdenv, fetchurl, -sendmailPath ? "/run/wrappers/bin/sendmail" }: +{ stdenv, fetchurl +, sendmailPath ? "/run/wrappers/bin/sendmail" +}: stdenv.mkDerivation rec { @@ -7,10 +8,6 @@ stdenv.mkDerivation rec { installPhase=''make install "PREFIX=$out"''; - crossAttrs = { - makeFlags = "CC=${stdenv.cross.config}-gcc"; - }; - patchPhase = '' sed -i s,/usr/sbin/sendmail,${sendmailPath}, mail.c ts.1 ''; |