diff options
author | Raghav Gururajan <raghavgururajan@disroot.org> | 2020-05-07 11:31:02 -0400 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-05-08 16:08:05 +0200 |
commit | a632eeb86cea83957cae69e58e2120cbce598723 (patch) | |
tree | 956c107d287b6a0f5da0a2be8da4f12d602d1d11 | |
parent | 4c88ae7b0331a7d671321a345eacc2bdb7595ee5 (diff) | |
download | guix-a632eeb86cea83957cae69e58e2120cbce598723.tar.gz |
gnu: ktsuss: Revert to default su.
* gnu/packages/admin.scm (ktsuss): Use su instead of sudo; for compatiblity with SpaceFM. [arguments]<#:configure-flags>: Remove "--enable-sudo=yes". [arguments]<#:phases>[patch-file-names]: Remove sudopath from phases. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
-rw-r--r-- | gnu/packages/admin.scm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index cb3de79713..3222be2749 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -130,6 +130,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) +;; This package uses su instead of sudo (because of SpaceFM). (define-public ktsuss (package (name "ktsuss") @@ -146,17 +147,13 @@ (file-name (git-file-name name version)))) (build-system glib-or-gtk-build-system) (arguments - `(#:configure-flags - (list "--enable-sudo=yes") - #:phases + `(#:phases (modify-phases %standard-phases (add-after 'unpack 'patch-file-names (lambda _ (substitute* "configure.ac" (("supath=`which su 2>/dev/null`") - "supath=/run/setuid-programs/su") - (("sudopath=`which sudo 2>/dev/null`") - "sudopath=/run/setuid-programs/sudo")) + "supath=/run/setuid-programs/su")) #t))))) (native-inputs `(("autoconf" ,autoconf) |