From 5898d854da459526ef032db1ad081a6eebbd772d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 27 Jan 2014 13:51:22 +0100 Subject: [PATCH] junixsocket: Ensure that the native library can be found --- pkgs/development/libraries/java/junixsocket/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/java/junixsocket/default.nix b/pkgs/development/libraries/java/junixsocket/default.nix index a23de5d98c6..911cc6dd40d 100644 --- a/pkgs/development/libraries/java/junixsocket/default.nix +++ b/pkgs/development/libraries/java/junixsocket/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { preConfigure = '' sed -i 's|/usr/bin/||' build.xml + substituteInPlace src/main/org/newsclub/net/unix/NativeUnixSocketConfig.java \ + --replace /opt/newsclub/lib-native $out/lib ''; buildPhase = "ant";