anchor.diff:      "--disable-iso-c"
       "--enable-schemas-compile"
       (enFlag "gudev" (libgudev != null) null)
  +    (enFlag "alsa" (alsa-lib != null) null)
       (enFlag "wayland" (wayland != null) null)
       (enFlag "smartcard-support" (nss != null) null)
       (enFlag "cups" (cups != null) null)
  
positive.code: 
  stdenv.mkDerivation rec {
    name = "gnome-settings-daemon-${version}";
    versionMajor = "3.18";
    versionMinor = "3";
    version = "${versionMajor}.${versionMinor}";
  
    src = fetchurl {
      url = "mirror://gnome/sources/gnome-settings-daemon/${versionMajor}/${name}.tar.xz";
      sha256 = "36e6170768ef17f5e089090f943ee93e632fa5abb64502a2f68a54974f08bf1f";
    };
  
    nativeBuildInputs = [
  
negative.code: , makeWrapper
  
  , adwaita-icon-theme
  , alsa-lib
  , cairo
  , colord
  , cups
  