staruml: fix evaluation on closure-size
This commit is contained in:
parent
2cbe6bb3f0
commit
394ffcb3e5
1 changed files with 14 additions and 7 deletions
|
@ -1,5 +1,12 @@
|
|||
{ stdenv, fetchurl, makeWrapper, dpkg, patchelf, gtk2, glib, gdk_pixbuf, alsaLib, nss, nspr, GConf, cups, libgcrypt, dbus, udev }:
|
||||
{ stdenv, fetchurl, makeWrapper
|
||||
, dpkg, patchelf
|
||||
, gtk2, glib, gdk_pixbuf, alsaLib, nss, nspr, GConf, cups, libgcrypt, dbus, libudev }:
|
||||
|
||||
let
|
||||
inherit (stdenv) lib;
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath
|
||||
[ glib gtk2 gdk_pixbuf alsaLib nss nspr GConf cups libgcrypt dbus ];
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.6.0";
|
||||
name = "staruml-${version}";
|
||||
|
@ -34,10 +41,10 @@ stdenv.mkDerivation rec {
|
|||
mkdir -p $out/lib
|
||||
|
||||
ln -s ${stdenv.cc.cc}/lib/libstdc++.so.6 $out/lib/
|
||||
ln -s ${udev}/lib/libudev.so.1 $out/lib/libudev.so.0
|
||||
ln -s ${libudev.out}/lib/libudev.so.1 $out/lib/libudev.so.0
|
||||
|
||||
wrapProgram $out/bin/StarUML \
|
||||
--prefix LD_LIBRARY_PATH : $out/lib:${glib}/lib:${gtk2}/lib:${gdk_pixbuf}/lib/:${alsaLib}/lib/:${nss}/lib/:${nspr}/lib/:${GConf}/lib/:${cups}/lib/:${libgcrypt}/lib/:${dbus}/lib/
|
||||
--prefix LD_LIBRARY_PATH : $out/lib:${LD_LIBRARY_PATH}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue