~ruther/guix-local

38b6aa2936f2a2b122669776f2bcf1667ddb2a40 — Sharlatan Hellseher 1 year, 2 months ago 675a4d3
gnu: mate-control-center: Apply G-Expressions.

* gnu/packages/mate.scm (mate-control-center): Apply
G-Expressions. Remove trailing #t from lambdas.

Change-Id: Idc20ac96e5dedcb2bd57b28f5e68cb9804e8e19f
1 files changed, 16 insertions(+), 16 deletions(-)

M gnu/packages/mate.scm
M gnu/packages/mate.scm => gnu/packages/mate.scm +16 -16
@@ 927,22 927,22 @@ icons on the MATE desktop.  It works on local and remote file systems.")
        (base32 "1g0lg4x3idilaxhwq1s90pajkvv9i012kzrnk0pxqj2jzl2cgwpb"))))
    (build-system glib-or-gtk-build-system)
    (arguments
     '(#:phases (modify-phases %standard-phases
                  (add-before 'configure 'use-elogind-as-systemd
                    (lambda _
                      (substitute* "configure"
                        (("systemd") "libelogind"))))
                  (add-before 'build 'fix-polkit-action
                    (lambda* (#:key outputs #:allow-other-keys)
                      ;; Make sure the polkit file refers to the right
                      ;; executable.
                      (let ((out (assoc-ref outputs "out")))
                        (substitute*
                            '("capplets/display/org.mate.randr.policy.in"
                              "capplets/display/org.mate.randr.policy")
                          (("/usr/sbin")
                           (string-append out "/sbin")))
                        #t))))))
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'configure 'use-elogind-as-systemd
            (lambda _
              (substitute* "configure"
                (("systemd") "libelogind"))))
          (add-before 'build 'fix-polkit-action
            (lambda _
              ;; Make sure the polkit file refers to the right
              ;; executable.
              (substitute*
                  '("capplets/display/org.mate.randr.policy.in"
                    "capplets/display/org.mate.randr.policy")
                (("/usr/sbin")
                 (string-append #$output "/sbin"))))))))
    (native-inputs
     (list pkg-config
           intltool