summary refs log tree commit diff
path: root/pkgs/servers/games/ghost-one/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/games/ghost-one/default.nix')
-rw-r--r--pkgs/servers/games/ghost-one/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/games/ghost-one/default.nix b/pkgs/servers/games/ghost-one/default.nix
index f90b5e40997..3c1430157d0 100644
--- a/pkgs/servers/games/ghost-one/default.nix
+++ b/pkgs/servers/games/ghost-one/default.nix
@@ -9,10 +9,10 @@ stdenv.mkDerivation rec {
     sha256 = "1sm2ca3lcdr4vjg7v94d8zhqz8cdp44rg8yinzzwkgsr0hj74fv2";
   };
 
-  buildInputs = [ unzip gmp zlib bzip2 boost mysql ];
+  buildInputs = [ unzip gmp zlib bzip2 boost mysql.lib ];
 
   patchPhase = ''
-    substituteInPlace ghost/Makefile --replace "/usr/local/lib/mysql" "${mysql}/lib/mysql"
+    substituteInPlace ghost/Makefile --replace "/usr/local/lib/mysql" "${mysql.lib}/lib/mysql"
   '';
 
   buildPhase = ''
@@ -50,4 +50,4 @@ stdenv.mkDerivation rec {
     license = licenses.asl20;
     maintainers = [ maintainers.phreedom ];
   };
-}
\ No newline at end of file
+}