summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-01 15:35:41 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-01 15:46:53 +0300
commite8ae96ae61d125940d832df5c898bec307109f83 (patch)
tree588c2062f5fbb6e10224d94d14e50d7d6eeaa09d /gnu/packages
parentb27786d130a81a03f676320d67b303363190556c (diff)
downloadguix-e8ae96ae61d125940d832df5c898bec307109f83.tar.gz
gnu: enlightenment: Use system eject.
* gnu/packages/enlightenment.scm (enlightenment)[arguments]: Adjust
'set-system-actions phase to refer to eject in /run/current-system.
[native-inputs]: Remove util-linux.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/enlightenment.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index f447b02a6a..cb72f3bad0 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -314,7 +314,6 @@ Libraries with some extra bells and whistles.")
              (setenv "HOME" "/tmp")
              (let ((xkeyboard (assoc-ref inputs "xkeyboard-config"))
                    (setxkbmap (assoc-ref inputs "setxkbmap"))
-                   (utils     (assoc-ref inputs "util-linux"))
                    (libc      (assoc-ref inputs "libc"))
                    (bc        (assoc-ref inputs "bc"))
                    (efl       (assoc-ref inputs "efl")))
@@ -345,14 +344,13 @@ Libraries with some extra bells and whistles.")
                (substitute* "data/etc/meson.build"
                  (("/bin/mount") "/run/setuid-programs/mount")
                  (("/bin/umount") "/run/setuid-programs/umount")
-                 (("/usr/bin/eject") (string-append utils "/bin/eject")))
+                 (("/usr/bin/eject") "/run/current-system/profile/bin/eject"))
                (substitute* "src/bin/system/e_system_power.c"
                  (("systemctl") "loginctl"))
                #t))))))
     (native-inputs
      `(("gettext" ,gettext-minimal)
-       ("pkg-config" ,pkg-config)
-       ("util-linux" ,util-linux)))
+       ("pkg-config" ,pkg-config)))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("bc" ,bc)