mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
pencil : fix udev dependency (#42147)
This commit is contained in:
parent
ad5cc515bb
commit
29d8149fe9
|
@ -2,7 +2,7 @@
|
|||
# build dependencies
|
||||
alsaLib, atk, cairo, cups, dbus, expat, fontconfig,
|
||||
freetype, gdk_pixbuf, glib, gnome2, nspr, nss, xorg,
|
||||
glibc, udev
|
||||
glibc, systemd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||
ar p "$src" data.tar.xz | tar xJ
|
||||
'';
|
||||
|
||||
buildPhase = ":";
|
||||
dontBuild = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
|
@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
|
|||
chmod a+x $out/opt/Pencil/libffmpeg.so
|
||||
|
||||
# fix missing libudev
|
||||
ln -s ${udev}/lib/systemd/libsystemd-shared.so $out/opt/Pencil/libudev.so.1
|
||||
ln -s ${systemd.lib}/lib/libudev.so.1 $out/opt/Pencil/libudev.so.1
|
||||
wrapProgram $out/opt/Pencil/pencil \
|
||||
--prefix LD_LIBRARY_PATH : $out/opt/Pencil
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue