From c9aadd074961b149870cbe6128d77b6cacb1d2b6 Mon Sep 17 00:00:00 2001 From: Rene Saavedra Date: Sat, 15 Feb 2020 18:46:14 -0600 Subject: gnu: accountsservice: 'Add patch-/bin/cat' phase. * gnu/packages/freedesktop.scm (accountsservice)[arguments]: Add 'patch-/bin/cat' phase. Signed-off-by: Marius Bakke --- gnu/packages/freedesktop.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 0c0fcff02c..24f33efe35 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2019 Reza Alizadeh Majd ;;; Copyright © 2019, 2020 Guillaume Le Vaillant ;;; Copyright © 2020 Jakub Kądziołka +;;; Copyright © 2020 Rene Saavedra ;;; ;;; This file is part of GNU Guix. ;;; @@ -934,6 +935,11 @@ message bus.") "--enable-elogind") #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-/bin/cat + (lambda _ + (substitute* "src/user.c" + (("/bin/cat") (which "cat"))) + #t)) (add-before 'configure 'pre-configure (lambda* (#:key inputs #:allow-other-keys) -- cgit 1.4.1