nixosTests.cinnamon: Fix build (#367668)
This commit is contained in:
@@ -241,6 +241,7 @@
|
||||
|
||||
- Cinnamon has been updated to 6.4, please check the [upstream announcement](https://www.linuxmint.com/rel_xia_whatsnew.php) for more details.
|
||||
- Following [changes in Mint 22](https://github.com/linuxmint/mintupgrade/commit/f239cde908288b8c250f938e7311c7ffbc16bd59) we are no longer overriding Qt application styles. You can still restore the previous default with `qt.style = "gtk2"` and `qt.platformTheme = "gtk2"`.
|
||||
- Following [changes in Mint 20](https://github.com/linuxmint/mintupgrade-legacy/commit/ce15d946ed9a8cb8444abd25088edd824bfb18f6) we are replacing xplayer with celluloid since xplayer is no longer maintained.
|
||||
|
||||
- Xfce has been updated to 4.20, please check the [upstream feature tour](https://www.xfce.org/about/tour420) for more details.
|
||||
- Wayland session is still [experimental](https://wiki.xfce.org/releng/wayland_roadmap) and requires opt-in using `enableWaylandSession` option.
|
||||
|
||||
@@ -241,10 +241,10 @@ in
|
||||
xviewer
|
||||
xreader
|
||||
xed-editor
|
||||
xplayer
|
||||
pix
|
||||
|
||||
# external apps shipped with linux-mint
|
||||
celluloid
|
||||
gnome-calculator
|
||||
gnome-calendar
|
||||
gnome-screenshot
|
||||
|
||||
@@ -57,6 +57,10 @@ stdenv.mkDerivation rec {
|
||||
xapp
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isGNU {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "System restore tool for Linux";
|
||||
longDescription = ''
|
||||
|
||||
@@ -91,6 +91,13 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace libcaribou/Makefile.am --replace "--shared-library=libcaribou.so.0" "--shared-library=$out/lib/libcaribou.so.0"
|
||||
'';
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isGNU {
|
||||
# This really should be done by latest Vala, but we are using
|
||||
# release tarball here, which dists generated C code.
|
||||
# https://gitlab.gnome.org/GNOME/vala/-/merge_requests/369
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript { packageName = "caribou"; };
|
||||
};
|
||||
|
||||
@@ -86,6 +86,13 @@ stdenv.mkDerivation rec {
|
||||
patchPythonScript $out/lib/xplayer/plugins/dbus/dbusservice.py
|
||||
'';
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isGNU {
|
||||
NIX_CFLAGS_COMPILE = toString [
|
||||
"-Wno-error=incompatible-pointer-types"
|
||||
"-Wno-error=return-mismatch"
|
||||
];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generic media player from Linux Mint";
|
||||
license = with licenses; [
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
gnome,
|
||||
gdk-pixbuf,
|
||||
gobject-introspection,
|
||||
gst_all_1,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -49,6 +50,8 @@ stdenv.mkDerivation rec {
|
||||
glib
|
||||
cogl
|
||||
gdk-pixbuf
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
];
|
||||
|
||||
postBuild = "rm -rf $out/share/gtk-doc";
|
||||
|
||||
Reference in New Issue
Block a user