[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49149] [PATCH 0/7] Add deb format for guix pack.
From: |
Maxim Cournoyer |
Subject: |
[bug#49149] [PATCH 0/7] Add deb format for guix pack. |
Date: |
Mon, 21 Jun 2021 02:10:39 -0400 |
Hello Guix!
This patch set adds support to produce Debian archives (.deb packages) via
guix pack. It's rudimentary but functional. You can try a simple example
like so:
$ ./pre-inst-env guix pack -f deb -C xz hello -S /usr/bin/hello=bin/hello
Copy the generated .deb to your dpkg-based distribution of choice, then:
$ sudo apt install ./91ypmi1j5py9qk034kki5wrgy0n52yz9-hello-deb-pack.deb
$ realpath $(which hello)
/gnu/store/lk9cmjjhgxpkxxi7m54y0jlv3rqvpb2n-hello-2.10/bin/hello
$ hello
Hello, world!
Fun, no? We can now distribute software built with Guix transparently to any
Debian-based distribution.
Maxim Cournoyer (7):
pack: Extract builder code from self-contained-tarball.
pack: Factorize base tar options.
pack: Fix typo.
pack: Improve naming of the packs store file names.
pack: Prevent duplicate files in tar archives.
tests: pack: Fix compressor extension.
pack: Add support for the deb format.
.dir-locals.el | 1 +
Makefile.am | 1 +
doc/guix.texi | 5 +
gnu/system/file-systems.scm | 56 +++--
guix/build/pack.scm | 52 ++++
guix/docker.scm | 20 +-
guix/scripts/pack.scm | 471 +++++++++++++++++++++++++-----------
tests/file-systems.scm | 7 +-
tests/pack.scm | 77 +++++-
9 files changed, 506 insertions(+), 184 deletions(-)
create mode 100644 guix/build/pack.scm
--
2.32.0
- [bug#49149] [PATCH 0/7] Add deb format for guix pack.,
Maxim Cournoyer <=
- [bug#49149] [PATCH 1/7] pack: Extract builder code from self-contained-tarball., Maxim Cournoyer, 2021/06/21
- [bug#49149] [PATCH] tentatively reuse rlib for cargo-build-system, Maxim Cournoyer, 2021/06/21
- [bug#49149] [PATCH 2/7] pack: Factorize base tar options., Maxim Cournoyer, 2021/06/21
- [bug#49149] [PATCH 6/7] tests: pack: Fix compressor extension., Maxim Cournoyer, 2021/06/21
- [bug#49149] [PATCH 7/7] pack: Add support for the deb format., Maxim Cournoyer, 2021/06/21
- [bug#49149] [PATCH 3/7] pack: Fix typo., Maxim Cournoyer, 2021/06/21
- [bug#49149] [PATCH 4/7] pack: Improve naming of the packs store file names., Maxim Cournoyer, 2021/06/21