The packages build fine without the patch-python phase.

Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org>
---
 scripts/guix.scm | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/scripts/guix.scm b/scripts/guix.scm
index e5b8785..f74ea25 100644
--- a/scripts/guix.scm
+++ b/scripts/guix.scm
@@ -213,13 +213,7 @@ found in many Samsung smartphones and tablets.")
     (inherit libsamsung-ipc)
     (name "libsamsung-ipc-gcc-autotools")
     (arguments
-     (list #:phases #~(modify-phases %standard-phases
-                        (add-before 'build 'patch-python
-                          (lambda _
-                            (substitute* (find-files "." ".*\\.py$")
-                              (("/usr/bin/env python")
-                               (which "python3"))) #t)))
-           #:configure-flags #~(list "--enable-debug")
+     (list #:configure-flags #~(list "--enable-debug")
            #:make-flags #~(list #$%common-strict-cflags)))))
 
 (define-public libsamsung-ipc-clang-autotools
@@ -235,13 +229,7 @@ found in many Samsung smartphones and tablets.")
                          python-sh
                          clang))
     (arguments
-     (list #:phases #~(modify-phases %standard-phases
-                        (add-before 'build 'patch-python
-                          (lambda _
-                            (substitute* (find-files "." ".*\\.py$")
-                              (("/usr/bin/env python")
-                               (which "python3"))) #t)))
-           #:configure-flags #~(list "--enable-debug")
+     (list #:configure-flags #~(list "--enable-debug")
            #:make-flags #~(list #$%common-strict-cflags
                                 #$%clang-strict-cflags)))))
 
-- 
2.39.1

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to