Most esteemed correspondent,
It is but a time-honored custom, when one hath discovered a solution
through alternate avenues, to bestow upon the same forum wherein one did
request aid a recounting of said resolution. For, lo, future seekers of
knowledge may stumble upon thine inquiry via the grea
Also, here goes my "moat" for guix-hosting.com, but as RMS once sang:
"Hoarders can get piles of money,
That is true, hackers, that is true.
But they cannot help their neighbors;
That's not good, hackers, that's not good."
https://www.gnu.org/music/free-softwar
Hi Maxim,
Good job ! It must not have been easy to come up with a series of steps
that actually work...
The method I use for https://guix-hosting.com/ is somewhat different and
does not require partitionning the disk but has the disadvantage of
ending up with an ext4 drive instead of btrfs, which
Hi Steve, Hi list,
Will there be a recording available ? I won't be able to make it but I'm
very much interested.
Thanks,
Cheers,
Edouard.
Steve George writes:
> Hi all,
>
> This Thursday (29th) Jgart is going to give a talk about Mumi, a command line
> interface that makes
> interacting de
Hi,
An quicker and dirtier solution is to create an activation service that will
create a
symlink:
(extend-service
activation
#~(begin
(unless (stat "/etc/whatever" #f)
(symlink "/etc/hostname"
"/etc/whatever"
This is using beaverlabs's f
Skyler Ferris writes:
> On 2/6/24 05:39, Steve George wrote:
>> I agreed to organise some 'patch review' online sessions in the next couple
>> of
>> weeks.
>>
>> Organising a basic process is a good topic for that online session. For
>> example, elsewhere in the thread someone mentions some ta
I, for one, would be willing to review patches, hoping that in turn my
patches would be reviewed instead of staying in limbo forever, which is
a drag on me submitting more patches.
Is there a procedure to follow, or do I just start replying "LGTM" to
patch email threads ?
Cheers,
Edouard.
Steve
ello, for example.
I hope this solves your problem. It solved mine: I had a quite complex
OS configuration to try out before deploying it on a VPS, and running
VMs is cumbersome a requires a lot of disk space. The OS configuration I
want to try implies running containers inside of containers, now it
Merci d'avoir organisé tout ça :)
Tanguy LE CARROUR writes:
> Bonjour Guix,
>
> Merci à ceux qui ont bravé les intempéries et les transports parisiens
> pour venir hier soir ! Et, surtout merci à ceux qui, présents ou à
> distance, on partagé leur travail, leurs découvertes ou leurs problèmes,
>
Hi !
If you create you containers with guix shell, you can use the --nesting
option, or alternatively, use:
guix shell --container --network --expose=/gnu/ --share=/var/guix/ guix
Maybe similar options with a 'guix system'-generated container would
work.
Alternatively, if your own guix has a no
Je souhaite venir également :) J'avais raté l'annonce pour octobre.
J'aurais deux trucs à présenter:
- Du sucre syntaxique pour instancier, étendre, modifier, ou supprimer
des services,
- Comment monter des systèmes de fichier 9P au sein d'un guix container.
C'est pas super formel, ce sont des re
@"
exit 0
fi
ACTUAL CONTENTS OF THE SCRIPT HERE
#+end_src
Cheers !
Edouard
Kyle Andrews writes:
> Edouard Klein writes:
>
>> Here is a script that restores the ctrl-C behaviour of R, whithin a guix
>> shell.
>>
>> I must admit I don't exactly under
g
Cheers,
Edouard.
Kyle Andrews writes:
> Edouard Klein writes:
>
>> Hi Kyle,
>>
>>
>> Running
>> guix shell r
>>
>> and then
>> R
>>
>> will get you the C-c handling you want.
>
> Hi Edouard,
>
> I wrote another
Hi Kyle,
Running
guix shell r
and then
R
will get you the C-c handling you want.
There is indeed readline support with guix shell r -- R:
up arrow to get history, c-E, c-A for end of line, start if line, etc.
I think maybe the problem lies not with readline but with the way
signals are handle
My usual method is first: guix search, then: grep -ri in a checkout of
the source, and last searching the web for the package name in other
distros, and a bit of guesswork. It usually endup in a *-utils or
*-tools package.
>From a computer science standpoint this is an interesting problem.
The co
Hi !
First, drop sudo, guix can be run by unprivileged users once installed,
and will only affect them. Great for shared environments !
anguriamelone--- via writes:
> Hi to everyone.
>
> I am a novice in GNU Guix, so far I used Trisquel GN-Linux 9.0.2 (i686), but
> at the end of April the supp
Dear Guix,
I am trying to install a program that requires its own user, and to
create a suid binary that will launch as this user, no matter who
launches it.
See lines 119 on of this file:
https://gitlab.com/edouardklein/guix/-/blob/6ae4c66bde1927aaae041311888c35105595a83e/beaver/packages/plan9.s
variant property convention. It is not clear to me how to write
> one for an inferior python for use with
> `package-with-explicit-python'.
>
> I will keep you posted if I make any breakthroughs. I'm really eager to
> be able to replace conda with guix.
>
> Best Regard
As an example in this line of thought, a long time ago I submitted a
patch (since then reverted as it broke a lot of things) to use an
obsolete version of a python module, which was the only one that worked
with a specific module that hadn't updated its dependencies:
https://git.savannah.gnu.org/c
Hi,
It's probably not the right answer, but for lack of time to find the
actual solution when I faced the same problem as you, here is what I
did:
https://gitlab.com/edouardklein/guix/-/blob/beaverlabs/beaver/packages/python-xyz.scm#L191
#+begin_src scheme
#:builder
(begin
(use-mod
My bet would be on "Guix" ?
jgart writes:
> Hi,
>
> What does the "G" in G-expressions stand for?
>
> all best,
>
> jgart
Thank you both for solving this. I used a workaround for a while
(rsyncing the keys to /home/user/.ssh/authorized_keys). Now I can
confirm that the fixes work and I'm back to a declarative configuration
of my server, which is awesome !
Cheers,
Edouard.
Ludovic Courtès writes:
> Hi,
>
> Oleg Pyk
Hi !
I'm trying to make sense of:
https://guix.gnu.org/manual/en/guix.html#index-openssh_002dservice_002dtype
#+begin_quote
This service can be extended with extra authorized keys, as in this example:
(service-extension openssh-service-type
(const `(("charlie"
That's a great idea :)
I can lend a VPS with guix installed on it for testing and initial
deployment, if you need it.
I can't promise to help with development because of time constraints,
but I'll follow this with eagerness.
Unless I'm mistaken (which I very well my be), pulling from a channel
b
e Lemmer-Webber writes:
> Well good news, jgart pushed them elsewhere in the thread:
>
> jgart writes:
>
>> Here are the repos of interest:
>>
>> https://git.sr.ht/~whereiseveryone/pjmkglp
>>
>> https://git.sr.ht/~whereiseveryone/authentification-channels
>
Hi,
Sorry about the noise, but I'm curious about this as well, and I think
if this is indeed an attack that it would be brilliant to see that guix
protected against it. I would like to document it.
@jgart I can open a git repo for you and lend a hand if you need help
pushing the strange branch so
Thank you so much Ricardo, you have no idea how big of a thorn you
removed from my side. I owe you one.
Ricardo Wurmus writes:
> e...@beaver-labs.com writes:
>
>> For example, given that "minimal-container" is an operating system, I
>> can do the following:
>>
>> (set-fields minimal-container ((
It does work ! Thank you very much :)
Luis Felipe writes:
> [[PGP Signed Part:Undecided]]
> Hi Edouard,
>
> On Friday, January 28th, 2022 at 10:11 AM, Edouard Klein
> wrote:
>
>> I won't be specifically helpful, but I never managed to get chromium to
>> ru
I won't be specifically helpful, but I never managed to get chromium to
run in a container. It crashes almost immediately. If you ever manage
it, I'd be happy to know the magic command that allows it.
Cheers,
Edouard.
Luis Felipe writes:
> [[PGP Signed Part:Undecided]]
> Hi,
>
> I'm trying to
Wow. Talk about a rabbit hole. I'd never would have found that alone.
I'll wait for the "tree-1" patch to appear on master.
Thank you all for tracking and sidestepping this bug.
Guix's cleanliness really is a canary for the quality of the whole
ecosystem. That's awesome.
Cheers
Tobias Geerinck
Thank you Ludovic and Marius :)
And good luck to Efraim !
Maxim Cournoyer writes:
> Hello Guix!
>
> I'd like to bring your attention to a change to the current Guix
> maintainers collective; in a nutshell, Ludovic and Marius are stepping
> down from maintainer-ship while Efraim is joining.
>
>
Hi !
It depends on how easy and integrated you want your experience to be ;)
The raspberry pi is classic SoC to use for such a purpose, there are a
lot of software and guides that you can use and take inspiration from
for your project.
In particular, the Retro-pi project will let you play classi
Hi !
I don't know the "correct" way to do it, but the way I do things is:
Create a manifest.scm or guix.scm file in the directory. Here is an
example manifest.scm file:
#+begin_src scheme
(define-module (osef)
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (guix prof
Hi,
Sorry I can't be more precise due to lack of time, but maybe invoking
chmod on the .sh files in a gexp would work ?
https://www.gnu.org/software/guile/manual/html_node/File-System.html
#+begin_quote
Scheme Procedure: chmod object mode
C Function: scm_chmod (object, mode)
Changes the pe
Hi,
I am not sure, but here is my try:
I cloned your channel2 repo, and saw in emacs-hide-comnt.scm:
(define-module (gnu packages emacs-hide-comnt)
Modules names in Guile (in all schemes ?) must match the path, so either
put emacs-hide-comnt.scm in gnu/packages, or change the above line to:
(d
Hi !
>From what I know, with guix pack you can only have the dependencies in
the docker image, but you won't have anything to start or manage your
software automatically. You need to invoke the correct command (with
docker run, I believe).
What you can do is create an operating-system declaration
Hi !
You can pass the --profile option to most guix subcommands.
To install guile-commonmark in a profile, it would be a simple:
guix install --profile=/tmp/toto guile-commonmark
To install only its dependencies, the following bash one liner will do:
guix install --profile=/tmp/toto $(guix sho
Leo Famulari writes:
> On Tue, Aug 17, 2021 at 04:01:15PM +0200, Edouard Klein wrote:
>> See e.g.
>> https://gitlab.com/edouardklein/guix/-/blob/beaverlabs/beaver/packages/scheme-xyz.scm#L68
>>
>> Here, xlsxio and tzdir will be expanded to their full install path in
Phil writes:
> 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 th
Hi !
I side-step this kind of things by adding a stage in package-y that will
find and replace all references to "bar" with the complete path to the
installation path of package-x, or that will set the needed environment
variable to the full path of the dependency.
See e.g.
https://gitlab.com/edo
Hi !
You can use guix graph to see what depends on what, and find out why a
specific dependency is needed:
https://guix.gnu.org/manual/en/html_node/Invoking-guix-graph.html
I just invoked:
guix graph elixir > /tmp/toto.dot
and by manually inspecting the dot file I can see that e.g. webkit is ne
>
> Why Plan 9? May I ask?
Plan 9 is awesome. What the whole industry is barely managing to achieve
with containers and VMs, Guix does somewhat correctly with namespaces,
but Plan 9 had all this in its DNA, in a cleaner implementation 30
years ago !
By default, a process in Plan 9 only has a p
Hi !
The real problem will not be the languages (guile or C++), but the
system calls used by Guix.
Guix makes use of some recent (less than 2 decades) and somewhat
advanced features of the Linux kernel, such as namespaces.
To port Guix to another operating system such as BSD (including OSX),
one
Hi,
I'm running a container using a systemd unit. This unit calls a script
that call guix system container and calls the returned script.
When I launch this script by itself, everything works as expected.
When I launch this script with systemd, I can launch any command except
as root in the cont
Hi !
This is where G-expressions will help you :)
Basically the path you need does not exist in the same "strata" as the
code of the package.
The following code will define a build-gexp function that evaluates a
G-expression and prints the resulting directory in the store. You can
try it in "gui
Dear Christopher,
I can't thank you enough, your idea of "ungexp[ing] the record access
bits" is what got me out of the tarpit.
You can see the resulting code here, which will hopefully clear the
misunderstandings generated by my oversimplification of the minimal
nonworking example:
https://issue
Dear all,
I solved my problem by simply unpriviledging all ports on the system:
# echo 'net.ipv4.ip_unprivileged_port_start=0' >
/etc/sysctl.d/50-unprivileged-ports.conf
# sysctl --system
Now anybody can bind to any port.
I wish we were on Plan 9 where filesystem permissions applies to the
net
Thank you Maxime for your answer :)
Maxime Devos writes:
> e...@beaver-labs.com schreef op zo 11-04-2021 om 21:31 [+0200]:
>> Dear fellow Guixers,
>
>> [...]
>> But, when I try to run it with shepherd, it fails because it can't find
>> flask (a dependency of the software, which I've put as a
>> p
Hi,
I'm working on something similar, but with nginx. Basically you want to
make an operating-system definition, where you can orchestrate all the
layers of your stack, and then you can run it using `guix system
container` with the added benefit of container isolation.
I'll make a quick writeup a
t;/log/syncthing.log"))
> #:stop (make-kill-destructor)
> #:respawn? #t))
> (register-services syncthing)
>
> (start syncthing)
>
> As with any other shepherd service it is defined and registered, and in
> this case it will start automatically. When the file is loaded b
Hi,
So I looked at the source and I understand that there's no way around
having only PATH=/run/current-system/profile/bin as the sole environment
of a service (which makes me wonder how anyone is running any service in
GuixSD, don't you need any env variables ?).
I tried to define a trivial pack
Dear François, Ricardo and divoplade,
This was indeed the issue, and the correct fix. Thank you for your
explanations. I'm not familiar with the notion of ports, coming from
languages that don't have them, but I see now how useful they are !
They're like the standard input/output of the shell, wit
Hi phil,
Not answering your question directly, but last time I wanted to secure
the connection between a client and a substitute I used an ssh tunnel:
# On the server
guix archive --generate-key
ssh root@client guix archive --authorize < /etc/guix/signing-key.pub
guix publish&
ssh -N -R 8081:loc
Pierre Neidhardt writes:
> Hi John,
>
> Thanks for the hint.
> I suppose this is the product you were talking about:
>
> https://remarkable.com/
>
> Can you expand on how "hackable" it is? Can we replace the software?
> If not, what kind of access to the OS do we have? Any link?
You basical
zimoun writes:
> Hi,
>
> On Fri, 20 Nov 2020 at 19:26, Christopher Baines wrote:
>> Zhu Zihao writes:
>>
>>> I found guix container "created by `guix environment --container` or
>>> `guix system container`" is very useful to isolate some service. But
>>> it only supports fully isolated network
I had the same problem, which was solved by installing glibc-utf8-locales
in root's profile and adding the export line to root's ~/.profile, which
fits Ricardo's explanations.
Le jeu. 17 janv. 2019 à 21:56, Quiliro Ordonez a
écrit :
> Thank you for this straightforward answer Ricardo. I post som
Hi guys !
I'm packaging a piece of software that is due in the next few days and I'm
cutting corners everywhere. I'll come back to it later and clean things up,
in the process I've packaged some free software lacking from the
distribution, that I'll send the patches for.
In the meantime, I have s
(authorized-keys
`(("edouard" ,(local-file "edouard.pub"))
("root" ,(local-file "edouard.pub"
(permit-root-login 'without-password)
(port-number 22)))
Hi all,
I do not know whether the "guix system disk-image" command is supposed to
work on a non GuixSD system.
If it is, then I'm running into an error while trying to create a disk from
a system declaration on my Arch Linux OS.
I run:
$ guix system disk-image --fallback config.scm
with config.
59 matches
Mail list logo