From 722abf833771660a15eb99a11d2326c84378b6ff Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Tue, 2 Mar 2021 22:21:17 +0700 Subject: [PATCH] tie: fix cross-compilation --- pkgs/development/tools/misc/tie/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/tie/default.nix b/pkgs/development/tools/misc/tie/default.nix index e75248aa867..52a740ed1c8 100644 --- a/pkgs/development/tools/misc/tie/default.nix +++ b/pkgs/development/tools/misc/tie/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { }; buildPhase = '' - cc tie.c -o tie + ${stdenv.cc.targetPrefix}cc tie.c -o tie ''; installPhase = '' @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.ctan.org/tex-archive/web/tie"; description = "Allow multiple web change files"; - platforms = with platforms; unix; + platforms = platforms.all; maintainers = with maintainers; [ vrthra ]; license = licenses.abstyles; };