Hello!
I’m glad the Python code was helpful. :) I’ve commented on some of
your other points below.
"Pierre-Henry F." writes:
> Development:
>
> $ guix environment --manifest=./guix/manifest.scm --pure --container
> $ # Develop things. Add dependencies at will in manifest.scm
>
>
> Bui
> import os, shutil, stat, subprocess, guix.build.utils
>
> # Unpack
> source = _build_inputs["source"]
> tar = _build_inputs["tar"]
> lzip = _build_inputs["lzip"]
> os.putenv("PATH", ":".join([tar + "/bin", lzip + "/bin"]))
> subprocess.run(["tar", "--lzip", "-xvf", source])
>
> # Configure
> bash
Hello,
"Pierre-Henry F." writes:
>
> Hello Tim !
>
> I'm using a couple of hours here an there to try to rebuild the package you
> gave me (Thank you for that :-) ).
> So far, I've built a very stupid but "working" package (see below if you
> really want to ;-) ).
Looks good so far!
> Will an
Hi Pierre,
"Pierre-Henry F." writes:
> So, we have, in ~bash~:
>
> $ lzip --decompress release_3.tar.lz
> $ tar xf release_3.tar
> $ cd blog/ # coming from the preceding line.
> $ tree
> .
> ├── bin
> │ └── program
> └── src
> └── hello_world.py
>
> $ cat src/hello_worl
Hi Pierre,
"Pierre-Henry F." writes:
> Would someone help defining a trivial package?
Sure!
> Here is an attempt at defining the package (incomplete, does not work) in
> blog.scm:
>
> (define-module (blog)
> #:use-module (guix packages)
> #:use-module (guix download)
> #