GNU bug report logs -
#49149
[PATCH 0/7] Add deb format for guix pack.
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 4 years and 42 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.