pantheon: stylize expressions

The same way we want them in GNOME in nixpkgs.
Didn't touch the greeter expression because I have
a branch where it's already rewritten.
This commit is contained in:
worldofpeace
2019-08-06 11:20:01 -04:00
parent bd429bb06c
commit 0b59f4212c
61 changed files with 941 additions and 155 deletions
@@ -1,6 +1,20 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja
, vala, gtk3, libgee, granite, gettext, clutter-gtk, libunity
, elementary-icon-theme, wrapGAppsHook }:
{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, python3
, ninja
, vala
, gtk3
, libgee
, granite
, gettext
, clutter-gtk
, libunity
, elementary-icon-theme
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "switchboard";
@@ -38,7 +52,9 @@ stdenv.mkDerivation rec {
libunity
];
patches = [ ./plugs-path-env.patch ];
patches = [
./plugs-path-env.patch
];
postPatch = ''
chmod +x meson/post_install.py
@@ -1,4 +1,9 @@
{ makeWrapper, symlinkJoin, switchboard, switchboardPlugs, plugs }:
{ makeWrapper
, symlinkJoin
, switchboard
, switchboardPlugs
, plugs
}:
let
selectedPlugs = if plugs == null then switchboardPlugs else plugs;