summary refs log tree commit diff
path: root/pkgs/tools/networking/atftp
diff options
context:
space:
mode:
authorEric Seidel <gridaphobe@gmail.com>2015-01-14 20:25:26 -0800
committerEric Seidel <gridaphobe@gmail.com>2015-01-14 20:27:55 -0800
commitf3c6827373be102caae5dcbadd31e73ed60fa17f (patch)
tree9f9d57c16edc218bd590ca9956eb5227d084c33f /pkgs/tools/networking/atftp
parent16fe4be790f541d68c01897640fda11f9673b8e9 (diff)
rename all occurrences of stdenv.cc.gcc to stdenv.cc.cc
Diffstat (limited to 'pkgs/tools/networking/atftp')
-rw-r--r--pkgs/tools/networking/atftp/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/networking/atftp/default.nix b/pkgs/tools/networking/atftp/default.nix
index 28568183db79e..930d9f4968b6c 100644
--- a/pkgs/tools/networking/atftp/default.nix
+++ b/pkgs/tools/networking/atftp/default.nix
@@ -1,6 +1,6 @@
 { lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper }:
 assert stdenv.isLinux;
-assert stdenv.cc.gcc != null;
+assert stdenv.cc.cc.isGNU or false;
 let
 version = "0.7";
 debianPatch = fetchurl {
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
   buildInputs = [ readline tcp_wrappers pcre makeWrapper ];
   patches = [ debianPatch ];
   postInstall = ''
-    wrapProgram $out/sbin/atftpd --prefix LD_LIBRARY_PATH : ${stdenv.cc.gcc}/lib${if stdenv.system == "x86_64-linux" then "64" else ""}
+    wrapProgram $out/sbin/atftpd --prefix LD_LIBRARY_PATH : ${stdenv.cc.cc}/lib${if stdenv.system == "x86_64-linux" then "64" else ""}
   '';
   meta = {
     description = "Advanced tftp tools";