mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
angryipscanner: Fix to patch swt error (#338234)
This commit is contained in:
commit
0135605f60
@ -7,6 +7,8 @@
|
||||
, makeWrapper
|
||||
, xorg
|
||||
, dpkg
|
||||
, gtk3
|
||||
, glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -30,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
cp usr/lib/ipscan/ipscan-linux64-${version}.jar $out/share/${pname}-${version}.jar
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/ipscan \
|
||||
--prefix LD_LIBRARY_PATH : "$out/lib/:${lib.makeLibraryPath [ swt xorg.libXtst ]}" \
|
||||
--prefix LD_LIBRARY_PATH : "$out/lib/:${lib.makeLibraryPath [ swt xorg.libXtst gtk3 glib ]}" \
|
||||
--add-flags "-Xmx256m -cp $out/share/${pname}-${version}.jar:${swt}/jars/swt.jar net.azib.ipscan.Main"
|
||||
|
||||
mkdir -p $out/share/applications
|
||||
|
Loading…
Reference in New Issue
Block a user