about summary refs log tree commit diff
path: root/pkgs/games/terraria-server
diff options
context:
space:
mode:
authorTim Häring <tim.haering@gmail.com>2023-05-18 12:37:50 +0200
committerTim Häring <tim.haering@gmail.com>2023-05-18 13:32:32 +0200
commit52038c0d019c66e515460f48599843053209bc96 (patch)
tree19c93ad90bfeec380fb7644a598f9792de1ea3b8 /pkgs/games/terraria-server
parent44d53cdeb550601b3e92f74c36f992996cb331d6 (diff)
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
Diffstat (limited to 'pkgs/games/terraria-server')
-rw-r--r--pkgs/games/terraria-server/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/terraria-server/default.nix b/pkgs/games/terraria-server/default.nix
index 104633198995a..c766874224eb5 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 = ''