Re: How do you write a package's deps to a file?

2020-11-30 Thread Efraim Flashner
On Mon, Nov 30, 2020 at 07:25:11PM +0300, Bonface M. K. wrote: > > Hi guix! I want to output the deps of a package to > a writable file. Like say the "hello" world > package, I'd like to insert a file after, say the > install phase, so that later I could parse it and > serve it from a website. Her

python2-rpython failed to build; since long time: fix or remove?

2020-11-30 Thread zimoun
Hi, Thank you for the report. Sadly, it appears that this package python2-rpython does not build since a couple of months; if it had built once. On my machine, I get: --8<---cut here-

Re: How do you write a package's deps to a file?

2020-11-30 Thread zimoun
Hi, >>#+begin_src scheme >>(add-after 'install 'create-dependency-file >> (lambda* (#:key inputs outputs #:allow-other-keys) [...] >> (map (lambda (input) >>(let ((name (car input))) (pk i

python2-rpython failed to build

2020-11-30 Thread hong li
Hello, I want to install python2-rpython 0.2.1 in guix, but the building process failed with messages below. I also checked the building history of the package, but found no successful build in the output history. https://data.guix.gnu.org/repository/1/branch/master/package/python2-rpython/output-

Re: Reproducing a Python project environment (using guix inferiors)

2020-11-30 Thread Brandon Ellington
Thanks for replying simon! zimoun writes: > I am not sure to understand what you are naming “inferior” here. Sorry for the ambiguity, was not being self-deprecating. I meant attempts to use certain guix inferiors as described in the guix manual failed (from Package Management > Inferiors): > S

Re: Workflow with mu4e + magit for sending patchsets to guix?

2020-11-30 Thread Kyle Meyer
Pierre Neidhardt writes: > --8<---cut here---start->8--- > (defvar ambrevar/known-mailing-list-archives > '(("help-guix@gnu.org" . "guix-user") > ("guix-de...@gnu.org" . "guix-devel") > ("debbugs.gnu.org" . "guix-bugs")) > "Alist of mail adresses and

Re: How do you write a package's deps to a file?

2020-11-30 Thread Julien Lepiller
The reason you always get the same data is because you're assigning "name" inside the sexp (build-side), but you're using it inside tge unquote (host-side), so it refers to the name of the package you're building. I think you're doing it wrong, because some input names have no corresponding pac

How do you write a package's deps to a file?

2020-11-30 Thread Bonface M. K.
Hi guix! I want to output the deps of a package to a writable file. Like say the "hello" world package, I'd like to insert a file after, say the install phase, so that later I could parse it and serve it from a website. Here's a snip of what I have: #+begin_src scheme (add-after 'install 'create-

Re: Avoiding PYTHONPATH - latest?

2020-11-30 Thread Phil
Hi zimoun writes: > Just to understand, is your point to be able to mix both “pip install“ > and “guix install”? If yes, it appears to me a bad idea, choose one or > the other. I suppose my point is - system-level use of PYTHONPATH is ill-advised, because it's prescribed use in Python is for us

Re: Avoiding PYTHONPATH - latest?

2020-11-30 Thread zimoun
Hi, I have not re-read all the discussion about PYTHONPATH and co. On Mon, 30 Nov 2020 at 00:22, Phil wrote: > But the current PYTHONPATH implementation immediately runs into problems > when you use venvs for development, via the cannonical "pip install -e > .". The use of PYTHONPATH means tha

Re: Reproducing a Python project environment (using guix inferiors)

2020-11-30 Thread zimoun
Hi, On Sat, 28 Nov 2020 at 18:09, branj...@gmail.com wrote: > Some time before I started using guix I worked through Python examples > within this book[1] for school. There were some differences in the > packages I installed and the listed requirements for the book (pseudo > manifest at [2]) whic

Re: Avoiding PYTHONPATH - latest?

2020-11-30 Thread Phil
I should have added the pyvenv.cfg file should look like this: $ cat pyvenv.cfg home = /replace/with/out/variable/in/guix include-system-site-packages = true version = replace.with.guix.version.variable We include system packages to ensure we take site-packages from both the Python 3.8 store's a