cinnamon.cinnamon-control-center: Clean up

There is no test since 5.4.6, 23ba143 "wacom: Bring in line with
changes in muffin to fix support" removed the wacom-calibrator test.

All gio-unix-2.0 dep seemed to be properly declared. Still builds.
This commit is contained in:
Bobby Rong 2022-11-17 17:12:52 +08:00
parent a44d01d30f
commit 02a8d3d472
No known key found for this signature in database

View file

@ -80,27 +80,11 @@ stdenv.mkDerivation rec {
patchShebangs meson_install_schemas.py patchShebangs meson_install_schemas.py
''; '';
# it needs to have access to that file, otherwise we can't run tests after build
preBuild = ''
mkdir -p $out/share/cinnamon-control-center/
ln -s $PWD/panels/datetime $out/share/cinnamon-control-center/
'';
mesonFlags = [ mesonFlags = [
# TODO: https://github.com/NixOS/nixpkgs/issues/36468
"-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
# use locales from cinnamon-translations # use locales from cinnamon-translations
"--localedir=${cinnamon-translations}/share/locale" "--localedir=${cinnamon-translations}/share/locale"
]; ];
preInstall = ''
rm -r $out
'';
# the only test is wacom-calibrator and it seems to need an xserver and prob more services aswell
doCheck = false;
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
meson meson