From 52038c0d019c66e515460f48599843053209bc96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20H=C3=A4ring?= Date: Thu, 18 May 2023 12:37:50 +0200 Subject: [PATCH] terraria-server: add dependency would not build without libgcc, complaining with > error: auto-patchelf could not satisfy dependency libgcc_s.so.1 wanted by /nix/store/khj3cwb417ldhfn28zx28665x1ljh5x1-terraria-server-1.4.4.9/Linux/TerrariaServer.bin.x86_64 --- pkgs/games/terraria-server/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/games/terraria-server/default.nix b/pkgs/games/terraria-server/default.nix index 104633198995..c766874224eb 100644 --- a/pkgs/games/terraria-server/default.nix +++ b/pkgs/games/terraria-server/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-Mk+5s9OlkyTLXZYVT0+8Qcjy2Sb5uy2hcC8CML0biNY="; }; - buildInputs = [ file ]; + buildInputs = [ file stdenv.cc.cc.libgcc ]; nativeBuildInputs = [ autoPatchelfHook unzip ]; installPhase = ''