GNU bug report logs -
#59410
[PATCH] gnu: Add distrobox.
Previous Next
Reported by: Adam Faiz <adam.faiz <at> disroot.org>
Date: Sun, 20 Nov 2022 14:32:01 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello,
Adam Faiz via Guix-patches via <guix-patches <at> gnu.org> writes:
> Subject: [PATCH] gnu: Add distrobox.
Applied with the changes below. Thank you.
> +(define-public distrobox
> + (package
> + (name "distrobox")
> + (version "1.4.1")
I updated it to latest version.
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/89luca89/distrobox")
> + (commit version)))
> + (sha256
> + (base32 "1qc66ghlq6b0nh4gk8ls64njwv96pkhz0p31k40fnicxwkfnb2jq"))
> + (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 _
> + (substitute* (find-files "." "^distrobox.*")
> + (("podman") (string-append #$(this-package-input
> "podman") "/bin/podman"))
> + (("wget") (string-append #$(this-package-input
> "wget") "/bin/wget"))
I used `search-input-file' instead of `this-package-input'.
> + (license license:gpl3+)))
License seems to be GPL3 only, so I changed it.
Regards,
--
Nicolas Goaziou
This bug report was last modified 2 years and 167 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.