all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#67874] [PATCH] gnu: distrobox: Update to 1.6.0.1.
@ 2023-12-18  1:46 Csepp
  2024-07-24 19:43 ` bug#67874: " Sharlatan Hellseher
  0 siblings, 1 reply; 2+ messages in thread
From: Csepp @ 2023-12-18  1:46 UTC (permalink / raw)
  To: 67874; +Cc: raingloom

* gnu/packages/containers.scm (distrobox): Update to 1.6.0.1.

Change-Id: I9f0e5f6bc3ba29918b10e8790a5a9da098c73285
---
Also the package actually works now.

gnu/packages/containers.scm | 35 ++++++++++++++++++++++-------------
 1 file changed, 22 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index a3aa9ac1db..ac9de070de 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -42,6 +42,7 @@ (define-module (gnu packages containers)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages guile)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages python)
   #:use-module (gnu packages networking)
@@ -160,7 +161,7 @@ (define-public conmon
 (define-public distrobox
   (package
     (name "distrobox")
-    (version "1.5.0.2")
+    (version "1.6.0.1")
     (source
      (origin
        (method git-fetch)
@@ -168,23 +169,31 @@ (define-public distrobox
              (url "https://github.com/89luca89/distrobox")
              (commit version)))
        (sha256
-        (base32 "0h6rpgbcmg33vriyzh9nkdxj8yhfn0y35i1wh1zmb7zss3ik9kxj"))
+        (base32 "0kj02phzikz9rddcx2apq3a8zwwfaawc3sfkd4q7f85lpnjxfsji"))
        (file-name (git-file-name name version))))
     (build-system copy-build-system)
     (inputs
      (list podman wget))
     (arguments
-     (list #:phases
-           #~(modify-phases %standard-phases
-               (add-before 'install 'refer-to-inputs
-                 (lambda* (#:key inputs #:allow-other-keys)
-                   (substitute* (find-files "." "^distrobox[^.]*[^1]$")
-                     (("podman") (search-input-file inputs "/bin/podman"))
-                     (("wget") (search-input-file inputs "/bin/wget"))
-                     (("command -v") "test -x"))))
-               (replace 'install
-                 (lambda _
-                   (invoke "./install" "--prefix" #$output))))))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'wrap-scripts
+              (lambda _
+                (let ((path (search-path-as-list
+                             '("bin")
+                             (map cadr
+                                  '#$(package-inputs this-package))))
+                      (guile #$(file-append guile-3.0 "/bin/guile")))
+                  (for-each
+                   (lambda (file)
+                     (wrap-script file
+                       #:guile guile
+                       `("PATH" ":" prefix
+                         ,path)))
+                   (find-files (string-append #$output "/bin")))))))
+       #:install-plan ''(("./" "bin/" #:include-regexp ("\\./distrobox[^/]*$"))
+                         ("completions/" "share/bash-completion/completions/"))))
     (home-page "https://distrobox.privatedns.org/")
     (synopsis "Create and start containers highly integrated with the hosts")
     (description

base-commit: fe86819d8bde674766659c22b215d3a689a8026e
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#67874: [PATCH] gnu: distrobox: Update to 1.6.0.1.
  2023-12-18  1:46 [bug#67874] [PATCH] gnu: distrobox: Update to 1.6.0.1 Csepp
@ 2024-07-24 19:43 ` Sharlatan Hellseher
  0 siblings, 0 replies; 2+ messages in thread
From: Sharlatan Hellseher @ 2024-07-24 19:43 UTC (permalink / raw)
  To: 67874-done

[-- Attachment #1: Type: application/pgp-encrypted, Size: 11 bytes --]

[-- Attachment #2: Type: application/octet-stream, Size: 1210 bytes --]

-----BEGIN PGP MESSAGE-----

hQIMA7MNkAS4N2gGAQ/5AcF6hIJFAFMlqbebghNyvAz2lzPwCRJi6gyZ8s+4u/Pp
8q8GqFqRcGZX/hc6lHeD8sZO/jbgDYjU3fnfC8w70pm0bPls+wESGvXyKhBVAeZp
b/eRyBz9kE0syHuGqvNDpcKoAHspIoisHm4CyPan9OLeyJqcyAmbwB6FYcA/Zski
KsOx5ib57I9TRuaUbkCqgQyhput0srobP1vNyFNtpqL0pEc7J9bO0Vo5JL1eSVsT
AOqhe4s8Wui8Nd27nKezKL1PYZGbx/45BJVozrThjNc+Ecg5o305ebXJMfcAHSWR
nJ7S28ZgmBKj7iJlUjjFZHJJjprCIly1IXxXbh4snuWITPj9O1kVEZS8EQGDNGBl
rOo8XwBjf7kpJqTqjWrn/bsCVX+ywNpdPAPk0Xu+mXuOJFxkmc2yQzdXEeDXXn7s
QYNAUQ6M3cXNhCAx9FyMKZPw5sYtzR1x+TekmFdxTWMRI8LzxlRij/IUjHxvsfEQ
mTOALEkjLAA+W3Edth8AkcFkU9oo14gBzl5xbIYZBdVK9/q1HAzxg0HQpuhb/gbD
ETwCV7fmJqbptUAjZMWHjOTv46HlNFDwaqLTHcMvESRtPU2nDPGXJWNjufKlRjQa
YsyOsRBHOO8tBUlTsfUQyIE+fjRaPiq/JfdPXpS0hDxBaeAmhsXN3DH0Ok3Fia3S
wH0BBO0hJYJXp53BvuhuCRZc2n23w1+D1d7Gnr6TeP/oqdxB9ekAbCYq1G9uOopv
4G5QoePR2o4cXhw+WLT/V11XdP05N0yoAMF6qfvOZcqReSPTHkP/IFWSvAWacJjU
jreJ0Qi3ybjcgloIccgnd8x5qZLUO8YZD/XmZbuzFhnhyuBD9x2Gqe/Ena6W1zZ9
UOIBIQpcdnpAbMFkX5YOBfaofuN96gyMc0VoBTvrOf0zTpJvJ06dtQCQA3SM1HTx
zDQEGBD5aj4uNQp2Kzq33DJ5YY00fXm7LbM1X36xXJCdBta/zzm+hRBkhOY9wC9u
BA/hTPn86U6sSiEKGTbc45+u2e+b08782PMwa+V44yKAtCh9V882Fql4mMgzI7g9
p4YUhAINPOrAm7WaVjJdCyPl9OX7b4GNOvgTp3AoIA==
=lWHv
-----END PGP MESSAGE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-24 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-18  1:46 [bug#67874] [PATCH] gnu: distrobox: Update to 1.6.0.1 Csepp
2024-07-24 19:43 ` bug#67874: " Sharlatan Hellseher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.