Hi Adam and Pierre,
There are several services which take a keyboard-layout. Also, there is a
keyboard layout field in the operating-system that designates the keyboard
layout done by loadkeys. I’m a keyboard enthusiast and the first-class support
of bindings is one of my favorite things about
to echo the sentiment that Guix is nice software but has
even nicer leadership and community. Thank you so much for your service,
Ricardo.
I hope to see you around.
> Let's also welcome Mathieu Othacehe in his new role! Congratulations,
> Mathieu! :-)
Congratulations Mathieu!
Kindly,
John Soo
Hey there,
I am definitely interested in the Reform. Can we see if we can work out
something in advance? The ship date is tentatively in December 2020.
- John
Hi Guix,
I was in the mood to try some of these new bpf tools. Does the linux libre
kernel support it?
Thanks!
John
Hello Fullbert,
Fulbert writes:
> Trying to change console font with the following in "services" section
> of my system configuration file :
>
>
> …
> (services (append (list
> …
> (service console-font-service-type
> `(("tty3" . ,(file-append font-terminus
>
Hi Mathieu,
Mathieu Othacehe writes:
> Now, it's just a matter of packaging "bcc" and "bpftrace" I guess.
I was working on these yesterday. I keep getting errors that seem to
indicate the linux-libre-headers we have might not be compatible:
Here's my definition:
(define-public bcc
(let* ((v
Hi Fulbert,
Fulbert writes:
> For this to work though, I just had to correct a typo : add a `comma`
> (to _unquote_, if I'm not wrong) before the `(file-append …`.
> So, for reference :
>
> ;; At the top of the file
> (use-modules
> ...
> (ice-9 match))
>
> ;; Replace %desktop-service
'
make: *** [Makefile:133: all] Error 2
Updated patches attached.
Thanks!
- John
>From 1fd0e237ec93c953b49fcafa819dcfc1198b8644 Mon Sep 17 00:00:00 2001
From: John Soo
Date: Sat, 13 Jun 2020 14:53:50 -0700
Subject: [PATCH 1/5] gnu: Add libbpf.
* gnu/packages/linux.scm
Hi Mathieu and Guix,
I think I understand this error a little better now. It seems like zlib is
not being resolved correctly.
/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++ -O2 -g -DNDEBUG
-rdynamic CMakeFiles/bpftrace.dir/attached_probe.cpp.o
CMakeFiles/bpftrace.dir/bpffeatur
Thanks Mathieu,
I’ll take a look in a few weeks if you can’t figure it out. I’m probably going
to take a quick break from bpf for a couple weeks as I have become extremely
busy. Thanks for your help.
Oh also I discussed issues I was having on the bpftrace irc and they pointed me
to this pull r
>From 6560dc2a5eedb3040bdd5fba8d8b6950b7a2b6d1 Mon Sep 17 00:00:00 2001
From: John Soo
Date: Sat, 13 Jun 2020 14:53:50 -0700
Subject: [PATCH 1/5] gnu: Add libbpf.
* gnu/packages/linux.scm (libbpf): New variable.
---
gnu/packages/linux.scm | 46 ++
1 file changed, 46 in
just disables the parts that use libbfd. I have
not used the package yet, does anyone want to test it out? Patches
attached.
Thanks!
- John
>From 6560dc2a5eedb3040bdd5fba8d8b6950b7a2b6d1 Mon Sep 17 00:00:00 2001
From: John Soo
Date: Sat, 13 Jun 2020 14:53:50 -0700
Subject: [PATCH 1/5] gnu:
m from
the pieces in gnu/packages/linux.scm.
That said, I think there are a few more missing pieces to get full
functionality. Running the example bpftrace scripts gives errors like
this:
open(/sys/kernel/debug/tracing/uprobe_events): No such file or directory
I think that means t
Hi,
I would love to see this too! Maybe an example system description or cookbook
entry would be helpful when it gets figured out.
Hi divoplade,
What build system are you using? How do you use your version number?
Maybe there’s a simpler solution.
- John
Hi divoplade and guix,
Since you are using the gnu build system, I suggest making your version number
a variable in the makefile. The good part of using a make variable is that you
can use $(shell git describe ...) normally and override it when building with
guix. You can use the make or config
Hi divoplade,
I’m glad you figured it out.
I do want to say that most guix packages define the version number in the
package definition. It would not be out of the ordinary to bump the version
number in the scheme file.
Good luck!
John
Hi Christopher,
I usually use the log in Magit, highlight the commits I want and then use W c c
to create a patch set. I submit them as attachments on one email usually (I use
dired and gnus for that). I know threading (one patch per email) works better
with tools like patchwork but I don’t wan
Hey Reza and Guix,
I should add that even if it is not supported now, hacking on the grub
configuration is not too difficult and is located in gnu/bootloader/grub.scm.
You should be able to specify parameters there.
Hope that helps,
John
Hi Adam,
I’ve heard xpra works well for this purpose:
https://xpra.org/trac/wiki/Usage/Docker
Hope that helps,
John
Hi Adam,
The guix environment command by default gives an environment *required to
build* the given package.
In this case
guix environment emacs
Should get you close. Then you can combine with the ad-hoc flag to adjust if
the requirements of the tarball are different than the package definit
Hi there,
I’ve run into this too, thanks for the tip!
Instead of propagating the input, can we use wrap-program to wrap gnome
programs with the right packages?
- John
Hi Guix,
I am looking into ghc on ARM and the process seems like it only requires a
separate gcc toolchain specified during configure. I have not packaged a
gcc-toolchain yet, so I am looking for pointers. Would the gcc toolchain for
cross compiling (say, from x86 to aarch64) be as simple as pr
Hi raingloom,
How did you try packaging it? Do you think inheriting from gcc and friends
would be a good start?
Thanks!
John
Thanks raingloom,
What branch and file should I start with?
- John
Thanks again raingloom!
Alright I’ll keep you posted!
Hello Yasu,
I use a manifest file and guix-package -m to do declarative installations.
I find it strikes a nice balance between having to rebuild for every
configuration change and making my environment declarative.
Good luck!
- John
Hello Hamzeh,
Take a look at gnu/packages/crates-io.scm for other examples of rust-openssl.
We try to avoid vendored sources. Recent versions of rust-openssl-sys also
complicate this by requiring particular versions of openssl.While it’s nice
that they are explicit about the depen
Hello Hamzeh,
It would be preferable if you can avoid using the vendored openssl. Did you add
openssl as an input to the package?
Can you share what you have so far please?
- John
P.s. please avoid bottom quoting on the list
Hi Hamzeh,
First, make sure openssl is a standard input instead of a native one. I am not
sure that will fix the problem here though. Most likely we will need an
openssl-src package that uses the system source.
Good luck,
John
Oops s/suffered/differed
Hello and welcome Martin!
The Unix time stamp is set to 0 for one thing to ensure reproducible builds. If
two build artifacts suffered in time stamps, they would be considered different.
Hope you find guix helpful and hackable,
John
Good to have you!
A mention and description of purely functional package management ideas I think
would be very welcome in the documentation.
Good luck,
John
Hello Stephen,
You may also use make-file-writable to change permissions as you need.
HTH,
John
Hey Tomás,
Check your parens:
(for-each (make-file-writable (find-files "\\.yml$")))
Should be
(for-each make-file-writable (find-files "\\.yml$"))
That’s because for-each is a higher order function which takes a procedure and
a list.
Hey Tomás,
Could you share your definition and errors? Maybe we can help better if we had
more information.
Kindly,
John
Hi Pierre!
It’s not really an e-reader but the remarkable series is powered by a lot of
free software and is very hackable.
Maybe one day our images will be small enough to put onto these small systems :)
- John
Ah I see.
My mistake.It appears there are proprietary components inside the
remarkable. My apologies.
- John
Hey Hartmut,
You may want to look into wrap-program which is used in many packages. Similar
things are done I. The glib-or-gtk-build-system (I think it is called).
Hope that helps,
John
Hey guix,
I was perusing the use-package docs and it seems guix is already somewhat
supported. Have you seen :ensure-system-package?
https://github.com/jwiegley/use-package#use-package-ensure-system-package
The system-package dependency lists guix as supported. I suppose one diff
Hello,
The operating system and several services and bootloader configurations already
have keyboard-layouts as parameters. What keyboard configuration do you need?
Hth,
John
Hi yasu,
Compiling with ghc requires a c toolchain (like gcc-toolchain) installed to
work. Can you try again after installing gcc-toolchain?Ghc has not been
perfect for me recently but I use it quite a lot.
Hope that helps,
John
Hi yasu,
This question comes up on the mailing list every so often, but I don’t think it
is a bug. I want to be able to choose the c toolchain ghc uses myself. I would
rather introduce some Haskell specific documentation.
We discussed during the guix day that we w
Hi zimoun,
zimoun writes:
> Choosing the C toolchain and propagating one are not really related.
Good point.
> I mean, one C toolchain could be propagated by default, so then GHC works
> out-of-the-box. And the build transformation ’--with-c-toolchain’
> should provide the flexibility to use
Some should be closed, and bug-guix should be removed from the thread.
Hi Sergiu,
As far as I understand it, that is bug in emacs-guix, apologies.There is
certainly a lot to fix.
Kindly,
John
Hi znavko,
You need to remove gcc and install gcc-toolchain instead.
Hope that helps,
John
Hello zimoun,
I believe it can be closed, thanks!
- John
Hello,
There are a few problems with the ghc ecosystem in guix right now (unless they
have been fixed in the last month or so). The following is relevant to you.
Our version of cabal-install is incompatible with the default ghc version:
http://issues.guix.gnu.org/45055
The fix for this is to u
Hello,
I thought I had opened an issue about this but I must have kept it in my TODOs.
The haskell-build-system does not put outputs in the right place for the ghc
profile hook. xmonad --recompile should Just Work with any installed
haskell-build-system libraries installed via guix. I’ve been m
Hi guix,
I’m curious about terminal alternatives so I was pretty excited to see kmscon
as a service. What do I need to do aside from add the service? All I see with
the following is blinking cursor on tty8:
(modify-services
%desktop-services
('kmscon c => (kmscon-confi
Thanks!
I have a lot to learn about services! Seems nice so far. Do you know if
there will be any more development on kmscon or is it only in maintenance?
Works like a charm.
- John
> On Dec 16, 2018, at 2:33 AM, Mathieu Othacehe wrote:
>
>
> Hi John,
>
> I built the new GuixSD installe
Hello all,
I have an issue running guile from command line, namely "no code for module
(ice-9 readline). I'm pretty sure the load path is correct in my profile
and I haven't touched ~/.guile. Any clues on what to do?
Thanks,
John
ment with it, like guix environment --ad-hoc guile-readline
>
> John Soo ezt írta (időpont: 2019. jan. 10., Cs, 17:30):
>>
>> Hello all,
>>
>> I have an issue running guile from command line, namely "no code for module
>> (ice-9 readline). I'm pret
ed.xyz wrote:
>>
>>> On Thu, 10 Jan 2019, Gábor Boskovits wrote:
>>>
>>> Hello,
>>> could you could try installing the guile-readline package, or create
>>> an evironment with it, like guix environment --ad-hoc guile-readline
>>> John Soo ez
Hello all,
I've been trying to define a service to keep xcape alive:
https://paste.debian.net/1061770/
Which works nicely when spawning the service except /var/log/xcape.log has
the following error:
Unable to connect to X11 display. Is $DISPLAY set?
Any ideas how to fix?
Thanks!
John
Oh wait I’m not sure I’m doing it right. I don’t know how to start a user
instance. I’ll go look that up.
> On Jan 23, 2019, at 5:08 AM, Ricardo Wurmus wrote:
>
>
> Hi John,
>
>> I've been trying to define a service to keep xcape alive:
>>
>> https://paste.debian.net/1061770/
>>
>> Which w
Hi Ricardo,
Ah! Same thing! Hmm. I don’t know what’s going on. Any ideas?
Thanks,
John
> On Jan 23, 2019, at 5:08 AM, Ricardo Wurmus wrote:
>
>
> Hi John,
>
>> I've been trying to define a service to keep xcape alive:
>>
>> https://paste.debian.net/1061770/
>>
>> Which works nicely whe
original
service definition?
Thanks,
John
On Fri, Feb 1, 2019 at 4:11 PM John Soo wrote:
> Hello,
>
> I tracked down the shepherd file for the service and put most of the
> contents in ~/.config/shepherd/init.scm: https://paste.debian.net/1064476/
> When starting shepherd with `shep
(bind # #(1 "/run/user/1000…") #)
ERROR: In procedure bind: In procedure bind: Address already in use
What should I do from here? Seems like I need to specify a separate socket
for the user instance of shepherd.
Thanks!
John
On Wed, Jan 23, 2019 at 4:04 PM John Soo wrote:
> Oh
Hi Reza,
I’m not sure this is possible right now. I recently tried making a service
which would need the x display variable and I got stuck right about when I
needed the logged in user. I would love to see it though.
Does anyone else know?
Thanks,
John
> On Feb 3, 2019, at 7:16 AM, Reza Ali
Hello Pierre,
I’ve been working a lot on some packages in a private channels and my workflow
is usually focused on building properly which is a matter of:
guix build -L /path/to/channel
To test runtime behavior I still have to pull which does mean pulling the
default channel, too. This so fa
AM, Chris Marusich wrote:
>
> John Soo writes:
>
>> Hi Reza,
>>
>> I’m not sure this is possible right now. I recently tried making a
>> service which would need the x display variable and I got stuck right
>> about when I needed the logged in user. I would
g/shepherd/init.scm`. This all
> can be done using guix daemon(declaratively).
>
> Though I am not sure how you can 'autostart' the service at boot time and
> declaratively?
>
> Cheers
> amar
>
>> On February 9, 2019 1:14:28 PM UTC, John Soo wrote:
>
Hi guix,
I was going to do some development recently and wanted to use some packages
from a channel. I have it listed as a channel under ~/.config/guix/channels.scm
so I added some packages from the channel to a scheme file but guix environment
-l my-file.scm told me there was no code for my ch
>
>
> Message d'origine
> On 5 mars 2019 à 08:20, John Soo < js...@asu.edu > a écrit :
>
> Hi guix,
>
> I was going to do some development recently and wanted to use some packages
> from a channel. I have it listed as a channel under
>
Thanks Ludo!
Here's the error, environment file, and guix describe output:
https://paste.debian.net/1072838/
guix package -s ghc-aeson-1.4.2.0 shows it is indeed a package in the
system.
Thanks again,
John
On Mon, Mar 11, 2019 at 4:11 PM Ludovic Courtès wrote:
> Hi John,
>
Wait! I figured it out! I need to use list instead of quote! Oops! Thanks
again!
On Tue, Mar 12, 2019 at 3:23 PM John Soo wrote:
> Thanks Ludo!
>
> Here's the error, environment file, and guix describe output:
> https://paste.debian.net/1072838/
>
> guix package -s ghc-ae
Hi nightowl,
I had this error recently too. I think rebasing to a newer commit fixed it for
me. Since fixing the problem did involve reconfiguring again It could be
something else though. maybe something nondeterministic in the test?
John
> On Mar 24, 2019, at 6:32 PM, nightowl wrote:
>
> I
I’m I’m sorry I assumed too much there. Guix pull will grab the newest changes
if there are any which is exactly what I’m talking about.
> On Mar 25, 2019, at 7:10 PM, nightowl wrote:
>
> How do you rebase to a newer commit?
>
>
>> On 2019-03-24 11:47 pm, John Soo
Hey all,
I love the idea of having one record for keyboard layout and I just
reconfigured my system with the new configuration but my settings won't
take. I've had issues with the old `extra-config` options in the past
(nothing worked then including the cst-trackball from below). Admittedly, I
am
Thanks!
I’m all fixed. the extra config is broken but I think that’s an x
configuration problem.
- John
> On Apr 9, 2019, at 8:04 AM, Ludovic Courtès wrote:
>
> Hi John,
>
> John Soo skribis:
>
>> I love the idea of having one record for keyboard layout and I
Hi Adam,
I’ve heard good things about syncthing. I do have to say I’ve not used it,
myself.
- John
> On Apr 12, 2019, at 12:43 AM, Adam Mazurkiewicz wrote:
>
> What is the way to synchronize files with a remote storage like
> Dropbox? I work in several places and I need to get the same docum
Hi!
Thanks for your work on this. I’m looking forward to using alacrity and
ripgrep, among other niceties the rust community has come up with.
- John
> On Apr 18, 2019, at 8:47 AM, Ivan Petkov wrote:
>
> Hi!
>
>> On Apr 17, 2019, at 7:26 PM, mikadoZero wrote:
>
> The rust integrations wit
Hi RG,
If you do not specify a value for the field, it will take the default. No need
to specify a value if you mean to take the default for a field.
- John
> On May 4, 2019, at 8:49 AM, Raghav Gururajan wrote:
>
> Hello Guix!
>
> To declare a service with default configuration in the syste
Hi Amar,
I recommend reading the manual sections on service definitions. I think that
will clear up any confusion. For this configuration there are two suggestions I
have:
- closely check the way the `service` procedure is used. It takes the service
type and a configuration like below. It is
Hi there,
I do exactly what you said:
$ emacs /path/to/my/config.scm
$ sudo suix system reconfigure /path/to/my/config.scm
No need to keep it in /etc.
Hope that helps,
John
> On May 8, 2019, at 11:54 AM, sirgazil wrote:
>
> Hi,
>
> I'm reading the Guix manual, and I'm confused about the r
Hi Brian,
Others may correct me if I’m wrong here, but during the build phase, network io
is off limits. This is since there is not way to reliably guarantee the
contents of things gotten over the network remain unchanged between builds, and
so would break the immutability guarantees of the pac
Hi Pierre,
I remember a thread some time ago regarding removing qtwebengine. I think it
was because some chromium pieces came bundled together. Looks like someone has
recently started re-adding it, with all guix dependencies: see bug#35866.
Hope that helps,
John
> On May 30, 2019, at 12:39 A
Hi Jeff,
Sorry this is so confusing. Let me know if I’m missed something since I’ve been
half-following this thread. I think what you may want to do is use the
sudoers-file field when specifying your operating system rather than using
visudo to edit the file. This way you will have persistent a
Thanks Jeff,
Sounds good. Do you think this thread is effectively solved, then? You might
consider opening a bug report for visudo.
- John
> On Jun 17, 2019, at 11:02 AM, Jeff Bauer wrote:
>
>> On Mon, Jun 17, 2019 at 10:03:20AM -0700, John Soo wrote:
>> Sorry this is so
Hi Gary,
I’m not so sure about icecat configuration but emacs does require configuration
for Unicode fonts. The emacs wiki knows more than I do:
https://www.emacswiki.org/emacs/UnicodeFonts
Hope that helps,
John
Hey Raghav!
Thanks for your time and patience with Guix. I love to see you continue to
use it! Do you think you could try packaging CV Assistant yourself?
I suggest packaging it yourself for several reasons:
- Guix is an incredibly hackable system. If nothing else, I enjoy working
on and owning
Hi Raghav!
> I would like to learn programming starting with LISP
Great! Lisp is probably the best language to start with!
Lisp books also rank among the best introductory materials to programming. I
highly recommend these two:
- Structure and Interpretation of Computer Programs (often calle
Hi TGR,
> Heh… I freely admit to not having a clue what ‘Swiss-army knife’ really
> means in this context.
>
> SICP is great!
Haha, I think I meant from a computer science perspective. I suppose that
probably does not cover what most people think of as a swiss-army-knife,
though. Nonetheles
Hi Jesse,
> Can somebody help me out please?
I can try!
Can get the contents of $GHC_PACKAGE_PATH please? Guix uses this environment
variable that is recognized by the ghc toolchain to tell ghc where packages are
installed.
What happens if you try to load your file in ghci instead of using ru
Hi Jesse,
> GHC_PACKAGE_PATH did
> not change, even when I uninstalled > everything, so I suspected it was
> linked to a login script.
Ok yes. That is the state of affairs right now. The environment variables are
sourced in the login profile. You can find the variables using guix package
--se
Hi Jesse,
> Why did ghc-random and ghc-regex-compat only work with ghc 8.4.3?
RIght now, most - if not all - ghc packages are built with ghc@8.4.3. GHC
will check the version it was compiled with and refuse to compile if there
is a mismatch between the object file and your project.
Now that I say
Hi Tim,
> Maybe we should rename GHC 8.6 to “ghc-next” until the build system uses it.
Makes sense to me. I tried updating quickcheck for 8.6 and I think we have our
work cutout for ourselves... hopefully we can get there soon though!
- John
Hi Brett,
You can specify channels in ~/.config/guix/channels.scm. You specify a list of
channels there as documented here:
https://guix.gnu.org/manual/en/html_node/Channels.html
Good luck,
John
Hi again,
> Hey all, I am looking to try and modify where `guix pull` looks for the
> channels.scm file.
Sorry I misunderstood. I am not sure how to configure that. It may be looking
for $XDG_HOME?
- John
Hi Christopher,
> Does someone have a recipe, or channel, for the latest release of
> Firefox?
I’ve been working on it but I think it’s far from working. Check a few commits
back at github.com/jsoo1/guix-channel
Good luck,
John
Hi Todor,
> I am trying to define a package that builds a source which has
>
> a non-standard build procedure. It's a mix of autotools packages and
> something else. My first attempt was to use the trivial builder...
What is the something else? If it the shape of the build follows the gnu ste
Hi there,
> (services
>(append
> (list (service gnome-desktop-service-type)
> (service etc-service-type
>(list `("os-release" ,(plain-file "os-release"
> "PRETTY_NAME=Guix-System"
> (set-xorg-configuration
>(xorg-configuration
> (keyboard-layout keyboard-layout
I agree fully. Thank you to Ludo, Ricardo, and the newest maintainers. I
appreciate the guix community a lot.
- John
Hi Brett,
A touch off-topic.
> That is what I do, like in my mlton package.
Do you have urweb packaged by any chance, too?
It would really save me the trouble!
- John
Hi guix!
I have a problem with my channel.
I have a few patches in my channel which work alright when building from
the channel and when running guix package -u from the directory in which
the channel lives.
However i get the following when running guix package -u outside of the
channel:
guix p
Hi g_bor,
Thanks! That helps a lot.
- John
Hi Guix,
I have troubles using pre-inst-env so I have never really used it but I
really want it.
Following the directions in the manual i:
sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild Password:
guix-daemon: error while loading shared libraries: libz.so.1: cannot open
shared ob
1 - 100 of 113 matches
Mail list logo