gnu: accountsservice: 'Add patch-/bin/cat' phase.
* gnu/packages/freedesktop.scm (accountsservice)[arguments]: Add 'patch-/bin/cat' phase. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
		
							parent
							
								
									b3e992e984
								
							
						
					
					
						commit
						c9aadd0749
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -17,6 +17,7 @@
 | 
				
			||||||
;;; Copyright © 2019 Reza Alizadeh Majd <r.majd@pantherx.org>
 | 
					;;; Copyright © 2019 Reza Alizadeh Majd <r.majd@pantherx.org>
 | 
				
			||||||
;;; Copyright © 2019, 2020 Guillaume Le Vaillant <glv@posteo.net>
 | 
					;;; Copyright © 2019, 2020 Guillaume Le Vaillant <glv@posteo.net>
 | 
				
			||||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 | 
					;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 | 
				
			||||||
 | 
					;;; Copyright © 2020 Rene Saavedra <pacoon@protonmail.com>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -934,6 +935,11 @@ message bus.")
 | 
				
			||||||
         "--enable-elogind")
 | 
					         "--enable-elogind")
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'patch-/bin/cat
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (substitute* "src/user.c"
 | 
				
			||||||
 | 
					               (("/bin/cat") (which "cat")))
 | 
				
			||||||
 | 
					             #t))
 | 
				
			||||||
         (add-before
 | 
					         (add-before
 | 
				
			||||||
          'configure 'pre-configure
 | 
					          'configure 'pre-configure
 | 
				
			||||||
          (lambda* (#:key inputs #:allow-other-keys)
 | 
					          (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue