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
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 zimoun,
I believe it can be closed, thanks!
- John
Hi znavko,
You need to remove gcc and install gcc-toolchain instead.
Hope that helps,
John
Hi Sergiu,
As far as I understand it, that is bug in emacs-guix, apologies.There is
certainly a lot to fix.
Kindly,
John
Some should be closed, and bug-guix should be removed from the thread.
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
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 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
Hello,
The operating system and several services and bootloader configurations already
have keyboard-layouts as parameters. What keyboard configuration do you need?
Hth,
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
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
Ah I see.
My mistake.It appears there are proprietary components inside the
remarkable. My apologies.
- 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
Hey Tomás,
Could you share your definition and errors? Maybe we can help better if we had
more information.
Kindly,
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.
Hello Stephen,
You may also use make-file-writable to change permissions as you need.
HTH,
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 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
Oops s/suffered/differed
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
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
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 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
Alright I’ll keep you posted!
Thanks again raingloom!
Thanks raingloom,
What branch and file should I start with?
- John
Hi raingloom,
How did you try packaging it? Do you think inheriting from gcc and friends
would be a good start?
Thanks!
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 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 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 Adam,
I’ve heard xpra works well for this purpose:
https://xpra.org/trac/wiki/Usage/Docker
Hope that helps,
John
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 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
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 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,
What build system are you using? How do you use your version number?
Maybe there’s a simpler solution.
- John
Hi,
I would love to see this too! Maybe an example system description or cookbook
entry would be helpful when it gets figured out.
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
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:
>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
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
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
'
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 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
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
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 Guix,
I was in the mood to try some of these new bpf tools. Does the linux libre
kernel support it?
Thanks!
John
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
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
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
Hi Adam,
You will also need the dockerd service in you system configuration, plus there
is a known bug where a known module is not loaded by default. Should dockerd
not start properly you will need to do the following:
sudo modprobe overlay
sudo herd restart dockerd
Good luck,
John
Hi again,
Seems my message was cut off.
To the point: yes it is quite possible. For the short version and to get
started check out the docs for the `guix environment` command. You will
probably get what you want there.
Also it does help to understand the idea of a functional package manager.
Hi Ben,
Welcome.
> But can guix also be helpful in a case where you have multiple different
> environments (I hope the term is correct) running in parallel? What is the
> best way to achieve that? Creating multiple users? Using containers?
Certainly! This is one of the main benefits of a fun
Hi T G-R,
> I *still* think we should either do nothing, or call $PAGER
> automatically when stdout is a TTY.
I like the idea of using $PAGER. Makes sense to me.
- John
Hi Zelphir,
> `guix package -i font-fira-code font-fire-mono font-fire-sans`
>
> Gives:
>
> `guix package: error: font-fire-mono: unknown package`
is font-fire-mono a typo? Should it be font-fira-mono?
Hope that helps,
John
Hi Guix,
I’m curious about the commit that made a package fail to build. So I:
- Searched the package
- Followed the build id of the first broken build
Now I’d like to see the evaluation and commit associated to the particular
build. How do I do that, if at all?
It would also help if I could f
Hi everyone,
Has anyone used the portable dumper yet? Could it be used to make a custom
emacs package with the specified emacs packages dumped to a separate dump file?
Just some thoughts I’ve had and tried recently but I don’t really know where
the dumper is at these days.
John
Hi,
>> On Jan 9, 2020, at 10:22 AM, sirgazil wrote:
> I logged out, and then logged back in and sound was lost.
I recently had to add this to modprobe.d/default.conf
options snd_hda_intel index=1
Hi Erik,
> Can network access be provided to the build container? Or, is there perhaps
> another low-effort workaround in guix?
This is by design. Network access would make our builds nondeterministic.
> As far as I understand, the only reasonable alternative to add the
> dependencies as submodu
Hi Pierre!
> On Jan 3, 2020, at 12:24 AM, Pierre Neidhardt wrote:
>
> I'm facing a similar issue at the moment. Does anyone have a good
> answer to develop Haskell or Clojure with Emacs on Guix?
I write a fair bit of Haskell. I find that I like to use cabal-install to
develop, then make a .sc
I agree with Leo. My only addition is to make sure you use --localstatedir=/var
(or wherever your local state directory is) when running ./configure
Hi Ludo and guix,
Let me explain my problem. Maybe there is some other explanation here and these
patches aren’t necessary.
When I have stylish-haskell installed I have troubles compiling anything using
plain ghc. I want to use the ghc packages in the profile but for some reason
ghc reports
Ah! Sounds reasonable! Thanks 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
Hi g_bor,
Thanks! That helps a lot.
- 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 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
I agree fully. Thank you to Ludo, Ricardo, and the newest maintainers. I
appreciate the guix community a lot.
- John
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
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 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 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 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 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 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 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,
> 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 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 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
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 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
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 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
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 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 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 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 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!
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 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
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
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
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
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
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
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,
>
>
>
> 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
>
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
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:
>
1 - 100 of 113 matches
Mail list logo