lol

skypeforlinux: add gsettings schemas

cherry-picked and squashed from https://github.com/NixOS/nixpkgs/pull/44652

authored by

Zack Grannan and committed by
Jan Tojnar
3b2f3e59 ff0a1018

+12 -3
+12 -3
pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
··· 1 - { stdenv, fetchurl, dpkg, makeWrapper 1 + { stdenv, fetchurl, dpkg 2 2 , alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, gdk_pixbuf, glib, glibc, gnome2, gnome3 3 - , gtk3, libnotify, libpulseaudio, libsecret, libv4l, nspr, nss, pango, systemd, xorg }: 3 + , gtk3, libnotify, libpulseaudio, libsecret, libv4l, nspr, nss, pango, systemd, wrapGAppsHook, xorg }: 4 4 5 5 let 6 6 ··· 68 68 69 69 inherit src; 70 70 71 - buildInputs = [ dpkg makeWrapper ]; 71 + nativeBuildInputs = [ 72 + wrapGAppsHook 73 + glib # For setup hook populating GSETTINGS_SCHEMA_PATH 74 + ]; 75 + 76 + buildInputs = [ dpkg ]; 72 77 73 78 unpackPhase = "true"; 74 79 installPhase = '' ··· 89 94 done 90 95 91 96 ln -s "$out/share/skypeforlinux/skypeforlinux" "$out/bin/skypeforlinux" 97 + 98 + wrapProgram $out/bin/skypeforlinux \ 99 + --suffix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 100 + 92 101 93 102 # Fix the desktop link 94 103 substituteInPlace $out/share/applications/skypeforlinux.desktop \