anchor.diff:        -e "s|systemd.get_pkgconfig_variable.*|'$out/lib/systemd/user',|g"
       sed -i data/meson.build \
         -e "s|systemd.get_pkgconfig_variable('tmpfilesdir')|'$out/lib/tmpfiles.d'|" \
  -      -e "s|systemd.get_pkgconfig_variable('systemdsystemunitdir')|'$out/lib/systemd/system'|"
  +      -e "s|systemd.get_pkgconfig_variable('systemdsystemunitdir')|'$out/lib/systemd/system'|" \
  +      -e "s|bash_completion.get_pkgconfig_variable('completionsdir')|'$out/share/bash-completion/completions'|"
     '';
   
     mesonFlags = [
  -    "-Denable-bash-completion=false"
  -    "-Denable-libcolordcompat=true"
  -    "-Denable-vala=true"
  -    "-Denable-print-profiles=true"
  -    "-Denable-man=false"
  -    "-Denable-docs=false"
  +    "-Dsession_example=false"
  +    "-Dlibcolordcompat=true"
  +    "-Dvapi=true"
  +    "-Dtests=false"
  +    "-Ddaemon_user=colord"
  +    "-Dman=false"
  +    "-Ddocs=false"
     ];
   
     setVapidirInstallFlag = false;
  
positive.code:   buildInputs = [
      argyllcms
      bash-completion
      dbus
      glib
      gobject-introspection
      lcms2
      libgudev
      libgusb
      libusb
      polkit
      sqlite
      systemd_lib
      systemd-dummy
    ];
  
    # preConfigure = ''
    #   configureFlagsArray+=(
    #     "--with-systemdsystemunitdir=$out/etc/systemd/system"
    #     "--with-udevrulesdir=$out/lib/udev/rules.d"
    #   )
    # '';
  
    postPatch = ''
      # Install systemd files to the current prefix
  
negative.code: 
  , argyllcms
  , bash-completion
  , glib
  , gobject-introspection
  , libgusb
  , lcms2
  , libgudev
  , polkit
  , sqlite
  , systemd-dummy
  