From 51085c0681b275baae561868407ef3fe080d8263 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Thu, 11 Aug 2016 22:20:19 -0500 Subject: [PATCH] hardlink: fix darwin build --- pkgs/tools/system/hardlink/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/system/hardlink/default.nix b/pkgs/tools/system/hardlink/default.nix index c34d81f6353..f464b7e9320 100644 --- a/pkgs/tools/system/hardlink/default.nix +++ b/pkgs/tools/system/hardlink/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation { installPhase = '' mkdir -p $out/bin $out/share/man/man1 - gcc -O2 hardlink.c -o $out/bin/hardlink + cc -O2 hardlink.c -o $out/bin/hardlink mv hardlink.1 $out/share/man/man1/hardlink.1 '';