Hi Simon
zimoun writes:
>
> Do you have a Guix recipe for building VS Code?
Not for VS Code itself. People at my workplace tend to use the Windows
install to develop on remote Linux servers that are running Guix as a
package manager.
> Do you recommend some VS Code plugins for editing Guile
Hi Zimoun,
zimoun writes:
> On dim., 14 août 2022 at 10:53, Phil wrote:
>
> Sadly, we missed the opportunity to informally discuss at the
> event. Hope next time. :-)
Yes - I was only there for the day sadly, so was over too fast!
Certainly next time!
> Which IDEs do you u
Yasuaki Kudo writes:
> What you wrote makes so much sense and sounds very familiar because I had
> similar discussions with my partners at our worker coop!
>
> Sometime soon perhaps we can discuss in a video chat or something?
Sure - keep us in the loop.
> We would like to do this alongside
Hi Ludo,
Comments inline. I'm also aiming to be at the Guix 10 Year thing in
Paris - sadly only for the Friday, so happy to discuss this informally
there too!
Ludovic Courtès writes:
> Hi Phil,
>
> Phil skribis:
>
>
> From your experience, would you say that persuading
Benjamin Slade writes:
> Not something I've tried personally, but maybe PantherX (Guix-based) could be
> relevant here? https://www.pantherx.org/
This is very interesting - there is definately a niche to produce
off-the-shelf guix-based enterprise solutions that a mainstream devops
team could
hey might be of interest:
https://www.cloudbees.com/videos/purely-functional-ci-cd-pipeline-using-jenkins-with-guix
https://xana.lepiller.eu/guix-days-2022/guix-days-2022-guix-aws-lambda.mkv
I'm always very interested in any discussions regarding Guix use in
mainstream and commerical projects - I think it has a bright future in
this space.
Phil
to
have a side-effect on the server you're running on. We only use it to
produce results from calculations. This is different to Autosys where
each job could be entirely made-up of side-effects which change the
state of the server itself.
HTH,
Phil.
(no slots available)?
Does any further build request fail, or is it queued? If --max-jobs is
set to 0 on the parent, are builds still restricted by the number of
build users on the parent box?
Thanks!
Phil.
Leo Famulari writes:
>
> It's not daft! The situation is really surprising. The only good
> explanation I can think of is that guix-daemon was used the the
> "--disable-chroot" option. Do you remember if you used that option?
I'm almost certain that option wasn't used - I know it, and it's
Leo Famulari writes:
> So, does /homeless-shelter exist on your filesystem?
>
> For example:
>
> $ ls -l /homeless-shelter
> ls: cannot access '/homeless-shelter': No such file or directory
>
> If it does, that's surprising.
Thanks Leo - indeed it was so suprising that I thought it was
and hash
of a package definition in my local channel just before the problem was
noticed - this may of course be coincidence.
I've tried all the obvious stuff - guix pull, bouncing the daemon, etc.
Any ideas?
Thanks,
Phil
Here's one example - in order to randomly test a few download locations I
simply
Hi,
raingloom writes:
> The --dry-run option is the closest thing that I know of. Not sure what
> its Scheme equivalent is.
Thanks yes - I think this suffers from a similar issue to my own
approach in that when a build fails, the store item is removed, along
with the test results contained
Hi,
On Tue, 26 Oct 2021 at 19:31, Phil wrote:
> Hi,
>
> raingloom writes:
>
>
> > Couldn't this just be another package output? Maybe not the most elegant
> > solution, since those are not usually used this way, but it can sort of
> > work. Just add a phase t
Hi,
raingloom writes:
> Couldn't this just be another package output? Maybe not the most elegant
> solution, since those are not usually used this way, but it can sort of
> work. Just add a phase that copies the logs to the "tests" output if
> it exists. Kinda like how the "debug" is currently
the container?
Or am I missing something obvious?
Thanks,
Phil.
l with the setting of max-jobs on the
offload server? For example if I restrict max-jobs on my offload server
to 1, but set the parallel-build on my main server to 4 - who wins?
Will the offload server build 1 or 4 builds in parallel?
Or do they not overlap at all because they mean slightly different things?
Tobias Geerinckx-Rice writes:
> “Any packages they define will be added to the pool of available
> packages. Standard package specification rules apply: when
> given a package name without an unambiguous version number, Guix
> will always pick the highest version of that package
To answer my own question somewhat see below - although I need to think a
bit more my my original approach wasn't good enough - the problem I think
it my own understanding of Guile!
On Sat, 16 Oct 2021 at 22:24, Phil Beadling wrote:
> Hi,
>
> (define my-channels2 (call-with-input-fil
Tim Lee writes:
>> Environment Variable: GUIX_PACKAGE_PATH
>>
>> This is a colon-separated list of directories to search for additional
>> package modules. Directories listed in this variable take precedence
>> over the own modules of the distribution.
>
> The last sentence makes it sound like
(expecting
struct): list
I'm clearly missing something trivial to get the channel definition loaded
from a file into a form the same as when it's hardcoded directly into my
Scheme script.
Can anyone point me in the right direction?
Cheers,
Phil.
h allows for similar specification.
It can also be specified as a dependency in your own packages like this:
("python-pandas" ,python-pandas-special)
HTH,
Phil.
On Sat, 16 Oct 2021 at 09:46, Tim Lee wrote:
> I have my own channel in a Git repository on my local computer.
> This is what
al file required to define how to run jupyter which breaks the
"everything defined inside the notebook" aim?
Cheers,
Phil.
missing?
Should I always install locales into my default profile, rather than keep
them empty (they are not needed for many of my profile use-cases so it
seems a waste to install them by default)?
Cheers,
Phil.
$ guix environment
The following derivation will be built:
/gnu/store
ere:
https://github.com/guix-mirror/guix/blob/0f2a17de06a52ca56c90368e29644036c14abad2/guix/profiles.scm#L1054
If this file only exists in a profile how can I know it's location at build
time?
Thanks,
Phil.
Approach taken when the directory is required rather than the bundle:
(argume
On Mon, 23 Aug 2021 at 18:18, zimoun wrote:
>
> Could you try with the broken account this:
>
> /usr/bin/guix pull -p /tmp/test
> /usr/bin/guix pull -p ~/.config/guix/current
> hash guix
> which guix
> guix pull
>
>
Thanks for the suggestion - I think I did a similar test which has
On Mon, 23 Aug 2021 at 14:59, zimoun wrote:
>
> This commit is from May 2021. So it is weird that you pull this commit.
>
Yep - I keep all my accounts in lockstep and move them every few months -
it has been a while since I've done this, but the commit id shouldn't
matter - I should be able to
-derivation.drv'
failed
There's also a bit more info I forgot to include in the stdout.
I have tried to do a "guix pull --rollback" - that didn't seem to help.
On Mon, 23 Aug 2021 at 14:01, Phil Beadling wrote:
> Thanks for your help Ricardo - see inline.
>
> On Mon, 23 Aug 2021 at 13
Thanks for your help Ricardo - see inline.
On Mon, 23 Aug 2021 at 13:45, Ricardo Wurmus wrote:
>
>
> I cannot reproduce this.
>
> Could you please provide the output of “guix describe”? What Guix
> are you using after deleting ~/.config/guix?
>
> guix 6755408
repository URL:
a non-zero
return code.
Any ideas?
In procedure scm_lreadr:
/gnu/store/av5gc90fyivafhr54c49519ldxbrrfr0-module-import/guix/build/utils.scm:715:1:
illegal character in escape sequence: #\return
Thanks,
Phil.
Edouard Klein writes:
> As you can see a bit below where I linked before, you can redefine the test
> stage in order to set the correct environment variables before calling
> your test command. It will be a bit redundant with the wrapping phase,
> but it would allow you not to edit your
Thanks for comments Edouard! Responses inline.
Edouard Klein writes:
> See e.g.
> https://gitlab.com/edouardklein/guix/-/blob/beaverlabs/beaver/packages/scheme-xyz.scm#L68
Ahh so wrap-program creates a script that sets the two env vars
LD_LIBRARY_PATH and TZDIR before calling the original
ctory from any GUIX profile or environment?
Note the problem doesn't happen with binaries as the order of precedence in
the PATH variable avoids the issue.
Any ideas?
Thanks,
Phil.
Ricardo Wurmus writes:
> I’m working on upgrading Pandas, and I’ve adapted your changes (not
> using “sed” but a substitute* form) to fix pyarrow. I’ll push the
> changes soon.
Great - thanks very much for including Ricardo!
Apologies one tiny correction - the version of python-pandas probably
doesn't need changing - in the package I update to a more recent custom
build of pandas, I'm using - but it's probably not necessary:
("python-pandas" ,python-pandas-simm)
On Mon, 5 Jul 2021 at 13:13, Phil Beadl
As promised - this works for me but the patching of the make files, in
particular the 2 sed commands is very brittle to any changes in the
underlying project. I'm not sure it should go into Guix proper as-is, but
if people think it's useful I'm happy to submit the patch.
I may try to improve on
, but not sure it's stable enough to be
updated in Guix proper. We can debate that when everyone sees my horrendous
fix.
-Original Message-
From: zimoun
To: Phil Beadling
Cc: help-guix
Sent: Fri, 02 Jul 2021 12:01
Subject: Re: python-pyarrow broken for parquet?
Hi,
On Wed, 30 Jun 2021 at 21:10
....
Any ideas how to resolve?
Thanks,
Phil.
$ guix environment --ad-hoc python python-pyarrow
The following derivation will be built:
/gnu/store/jvc3sbqs2nssr8gdvvyd0hgf5z80ra5b-profile.drv
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
buildi
Thanks for the reply.
Tobias Geerinckx-Rice writes:
> If all shebangs and similar entry points have been properly patched,
> why would you need to bundle ‘Python itself to run the app’ at all?
As I understand it, as python is not propagated there is no
guarantee that the version of python will
and reasoning behind it?
Thanks,
Phil.
Hi all,
I've read through this link:
https://guix.gnu.org/manual/en/html_node/Package-Transformation-Options.html
But I seem to get unexpected outcomes in some examples - see below.
Any advice or confirmation that this is a bug or misuse by me?
Thanks,
Phil.
A simple case of package
>
> Thanks for both answers on this - it's been an interesting rabbit hole.
> Edouard's script gave me the version of icedtea-8 exactly as sourced by:
>
guix environment --ad-hoc icedtea:jdk
I managed to simplify the script down to a one-liner - giving the same
version as Edourard's:
(display
Hi
Bone Baboon writes:
> It also looks like there is no problem with Git. I can clone the
> channel `git clone
> ssh://@:22/absolute/path/to//`. Where
> is the user in the output of `ls -l `.
Interesting - I only have one other suggestion - given "git clone" is
working on its own from the
jmc6k60n-icedtea-3.7.0-jdk/
The aim is to use this to derivive the JDK include directories in a generic
way for some scripts I'm writing, such that I don't need to update them
each time the JDK hash changes after a guix pull.
Cheers,
Phil.
Hi,
Bone Baboon writes:
> I received help from civodul on #guix. They suggested I run
> `ssh-agent`.
Yes this is necessary - Guix will only read a key from an agent not a file.
>
> After running `ssh-agent` and using the environment variables it outputs
> in the command
> Any ideas how to configure xwidgets as exwm, and/or any ideas who to resolve
> bad
> placement/rendering of xwidgets within buffer?
In case it helps others to answer my own question - you need to define a
specific exwm package which builds against emacs-xwidgets:
(define-module
->package
"emacs-desktop-environment")
(specification->package "nss-certs"))
%base-packages))
Any ideas how to configure xwidgets as exwm, and/or any ideas who to resolve bad
placement/rendering of xwidgets within buffer?
Thanks,
Phil.
I found when using GuixSD with Gnome that the network manager would
periodically overwrite my DNS changes made directly to resolv.conf.
If you experience this issue it should leave a comment on the first line.
I was able to make it work by changing it through Gnome's Settings GUI, rather
than
?
Thanks,
Phil.
Ricardo Wurmus writes:
>> this is what I use:
> […]
>>("texlive" ,texlive)
>
> This is the monolithic 3+GB package, not the modular texlive.
It is huge, but it got the job done - thanks Arne.
Having spent more hours than I'd like admit on this, I suspect the issue
may be similar to
Sébastien Lerique writes:
> Now my wish is to find ways to collaborate with others on this kind of
> project, who unfortunately often use macOS. I was exploring the
> possibility of Guix on Darwin, but the best way to do that looks like
> running Guix System inside Docker:
>
I haven't tried
On Fri, 12 Mar 2021 at 15:57, Ricardo Wurmus wrote:
>
>
> >Dependent on the needs of your document, though, you will need to
> >install more packages that are not part of the “required” set (even
> >though other distributions may have them installed for convenience).
> >Exactly what those are is
-recommended
texlive-fonts-extra texlive-latex-extra emacs python3 python3-pygments
Any ideas what the minimum Guix package set is (or even a carpet-bomb
approach with a meta-package would be OK)?
Thanks,
Phil.
$ guix package -p profiles/book -m profiles/book.manifest
guix package: warning: Your
Hi Sébastien,
Sébastien Lerique writes:
> Dear all,
>
> (I am aware that python-pandas is packaged for guix, but some packages
> I will need down the road might not be; this project is also in
> collaboration with non guix users, so I am looking for a workflow
> which will work for them too.)
profiles stacked on top of it are lost, and must be
pruned from the visual representation:
.guix_profile ← my_environment ← some_other_profile
But on exit from the environment the visual representation will be
pruned to this:
.guix_profile
Thanks,
Phil.
My fork:
https://github.com
Thanks v much for the explanations.
Tobias Geerinckx-Rice writes:
> As gremlin's go this one is pretty tame, even cuddly: the Guix daemon
> deduplicates identical files, and creates hard links instead, saving a
> good amount of space. That's all.
>
> By default, rsync does not preserve hard
André Batista writes:
>> Move the old store create the correct directory for the new
>> cd /gnu/store
> ^
> I assume the above command should be 'cd /gnu', right?
Yes - thanks for spotting. It was a typo in the e-mail only.
This seemed to remove about half the size of the new store - suggesting
to me that stale links were now removed.
Is my method sane?
Is there a better way of doing such a move to avoid the doubling of size?
Thanks,
Phil
Vincent Legoll writes:
> you should try adding the "doc" output from the jdk
>
> see https://guix.gnu.org/manual/en/guix.html#Packages-with-Multiple-Outputs
Thanks that was the clue I needed - for future readers the exact
solution was:
(native-inputs `(("openjdk:jdk" ,openjdk14 "jdk")))
the 'environment_variables'
script in /tmp.
Finally installing openjdk or icedtea into a profile has no javadoc
accessible on the profile PATH.
Any ideas?
Thanks,
Phil.
(define-public python-jcc
(package
(name "python-jcc")
(version "3.8")
(source
(origin
t create the directory structure myself and implement
guix-publish.service first? Is there an example implementation?
Any other pointers?
Cheers,
Phil
> That's all ‘guix publish’ does; it doesn't speak HTTPS.
Ahh ot-it, so I just need to stick it behind a reverse proxy - thanks
for clarifying.
Hi all,
I have a substitute server running trivially using http, but there
doesn't seem to be anything in the manual about how/where to configure
my certificate file, etc, to run a server over https.
Can anyone advise on https setup for 'guix publish'?
Thanks,
Phil.
Cameron writes:
> Hi Phil,
>
> I haven't done this myself, but the manual has a page on this:
> https://guix.gnu.org/manual/en/html_node/Formatting-Code.html
That's exactly what I needed thanks, and apologies - I should have spotted that
myself
in the manual!
ile/manual/html_node/Using-Guile-in-Emacs.html#Using-Guile-in-Emacs
Thanks,
Phil.
Thanks for all the responses on this.
In short - yes this does the job. I should really write it in Guile:
guix refresh –list-transitive my-pkg | cut -d':' -f2 | tr ' ' '\n' | grep
python | sort
I have a guix package that had originally been deployed with a python
requirements file to create a
' in its
current form.
Any ideas?
Thanks,
Phil.
18.04 (at least the backtrace is).
This may explain why Simon could not reproduce?
Phil writes:
> Hi,
>
> Thanks - I think the original question is answered now - however I am
> curious over why only I can reproduce issues with the incorrect use of
> 'guix pull'. It's tempting t
Hi,
Thanks - I think the original question is answered now - however I am
curious over why only I can reproduce issues with the incorrect use of
'guix pull'. It's tempting to say it's just undefined behaviour and
move on with my life, but I've done a bit more digging
* This appears to have
Hi,
Thanks again for your help. Below I've split the question into PART 1 -
which what I originally asked, and PART 2 - which is trying to resolve
the backtrace seen using 'guix pull' that so far only I've reproduced.
PART 2 is a bit of a rabbit-hole and I don't come back with any
definitive
Thanks for the reply.
Christopher Baines writes:
> Build systems are a mechanic to deduplicate common steps, but also
> common inputs between packages, and the python-build-system will include
> a default Python as an input.
>
>
ign distro and don't have python3
installed as part of Guix, will my python-scipy end-up installed for my
foreign distro's python install?
Any pointers welcome!
Thanks,
Phil.
Hi Simon,
I'll specifically elaborate on the guix pull error in this e-mail, I
follow-up on other items later (apologies my first e-mail as perhaps too
busy!).
zimoun writes:
> Hi,
>
> On Mon, 28 Dec 2020 at 17:52, Phil wrote:
>
>> guix pull -p my-profile -l
>>
&g
:
blah@phil:~$ guix pull -p my-profile -l
\Generation 1 Dec 22 2020 17:24:53\
my-test-repo 1.49-3.f08de71
\Generation 2 Dec 22 2020 17:50:28\
guix 13d532a
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit
zimoun writes:
> Hi,
>
> Do not take the snippet as bullet-proof. It is a quick example to
> illustrate the Guix power. ;-)
Yep understood - it was a good starting point for me to expand on!
> You mean that:
>
> $ guix pull -C /tmp/one-channel.scm -p /tmp/one
> /tmp/one-channel.scm:2:1:
Thanks Simon - that helped!
zimoun writes:
> About this, you should write a specific channels.scm file and then run:
>
> guix pull -C channels.scm
>
The bit I was missing was how do I create a channels file that keeps
'guix' at a constant commit - the scheme snippet you sent me is perfect,
e
channel" - it feels like a common use-case to me?
Thanks,
Phil.
'... 100.0%
Thanks,
Phil.
zimoun writes:
> You might be interested by the Efraim’s talk «Just build it with Guix»
> from the online Guix Day:
Yes this is extremely useful - thanks!
Thanks again zimoun for your comments.
zimoun writes:
> I am not sure to understand what you mean. Installing always means
> “fixed at package@version”. I should miss something with your
> workflow.
So using pip in 'editable' mode installs your git clone via softlinks as a
package.
It
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
, because it would seem that
python does not respect the outer pyvenv.cfg in nested venvs.
If this can't be solved it pours cold water on the idea somewhat.
Phil writes:
> Hi all,
>
> I've been having an argument with myself over the last 4 days about if
> Guix's use of PYTHONPATH is a ne
,
so hijacking it for system use may cause issues.
I was wondering what the current thoughts were on how Guix could
workaround using PYTHONPATH to set base system paths?
Thanks,
Phil.
I haven't overly laboured my point!
Phil
-packages-security-audited
Thanks,
Phil
Much appreciated Arne - lots of interesting stuff on your website - a few
comments below too.
Dr. Arne Babenhauserheide writes:
> As far as I see it, guix environment is what you get from a virtualenv,
> plus a good deal more. I start more complex programs nowadays by pulling
> in their
Thanks Simon for the helpful comments - everything's hopefully clicked now -
some
comments inline.
zimoun writes:
> Well roughly, an environment is a temporary profile. So, in the Python
> terminology, the “environment” corresponds to the Guix profile. And the
> Guix environment does not
nd only the
software as described in the manifest. This feels like it should be
possible too, but again, just looking for any initial guidance on which features
of Guix to use to do this.
Sorry for the long e-mail, and thanks in advance for any guidance
or advice on the matter!
Cheers,
Phil.
87 matches
Mail list logo