mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
gnome3.mutter: export libdir
It is needed for finding clutter & co. typelibs by extenstions.
This commit is contained in:
parent
dc80d7bc4a
commit
a100503b08
@ -1,6 +1,7 @@
|
|||||||
{ fetchurl
|
{ fetchurl
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, substituteAll
|
, substituteAll
|
||||||
|
, runCommand
|
||||||
, stdenv
|
, stdenv
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, gnome3
|
, gnome3
|
||||||
@ -42,7 +43,7 @@
|
|||||||
, wayland-protocols
|
, wayland-protocols
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let self = stdenv.mkDerivation rec {
|
||||||
pname = "mutter";
|
pname = "mutter";
|
||||||
version = "3.36.3";
|
version = "3.36.3";
|
||||||
|
|
||||||
@ -132,6 +133,18 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
libdir = "${self}/lib/mutter-6";
|
||||||
|
|
||||||
|
tests = {
|
||||||
|
libdirExists = runCommand "mutter-libdir-exists" {} ''
|
||||||
|
if [[ ! -d ${self.libdir} ]]; then
|
||||||
|
echo "passthru.libdir should contain a directory, “${self.libdir}” is not one."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
touch $out
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
attrPath = "gnome3.${pname}";
|
attrPath = "gnome3.${pname}";
|
||||||
@ -145,4 +158,5 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
in self
|
||||||
|
Loading…
Reference in New Issue
Block a user