<sebboh>At home, I don't have 32GB of ram at home, I meant to say. :) Yes, I switched to hyperV from virtualbox. I like that I can, if needed, run inside a hyperV guest something like a device emulator which requires virtualization stuff. Can't do that under virtualbox. Meanwhile I guess I sort of miss vbox's guest<-->host file sharing, though it was utterly broken with regard to permissions and handling of certain
<reepca>emyles: one important thing to note is that the hash-part (and thus ultimately store path) of sources is based solely on things like the name and contents. Importantly, it's not based on where the source comes from. And origin objects have hashes specified with them. So if you specify a different source for the source, but leave the hash unchanged, it will happily use the old source still in the store since according to the hash they
<str1ngs>daviid: thank you I will look check it out. I have talked to janneke a bit. my concern here is I'm going the wrong direction with nomad. or there is duplication of effort.
<daviid>str1ngs: shim-in that thread :), and let them know you are interested to get a working webkit2 and get some advice from them ...
<str1ngs>the segfault is probably thread related, that's a real issue with gtk
<str1ngs>daviid : and g-golf is going to be the higher level library in the future?
<daviid>str1ngs: I don't think gtk has 'thread issues', it is by def single threaded ... I think it is a bug in guile-gi, but read the other msg there, the idea is to coordinate you effort .. and not re-invent the wheel ...
<str1ngs>well it's a thread issue if you don't call something on the ui thread I meant.
<daviid>guile-gi and g-golf are diff in the way they approach the GI binding 'problem', but they should both work, at some point ... guile-gi is usable right now, g-golf eeds nother few months of work ...
<str1ngs>seems g-golf would be a logically evaluation of guile-gnome? and would help with a move to gtk3 I guess?
<bluekeys>Hi guix. Does anyone know why stumpwm is telling me that ql-quickload is undefined. Scheme and lisp newbie here.
<emsenn>Hi y'all, I'm attempting to create a package for a piece of software implemented in Golang, and I'm running into an error I can't move past, regarding permissions during the build phase of the package build. I've tried to outline things here: https://wordsmith.social/fgaqsat275 - Any help y'all could offer would be greatly appreciated.
<str1ngs>emsenn: you are on the right track. there is a go-build-system
<str1ngs>emsenn: how many go imports does this package have do you have an idea/
<emsenn>I'm not sure how I would learn that. I know there's a go-build-system but the software uses make & make install as its build commands, so I thought using the gnu one would be correct. I'm quite ignorant about most things to do with Linux systems, so was probably wrong.
<emsenn>(I also don't know Golang, or... much about any of things I should know about before attempting to do this sort of thing, but I've got to start somewhere, I suppose.
<emsenn>That link is helpful; thank you! I don't understand what you mean about reseting timestamps? I'd like to know how to make Guix packages for other things, too, so I'd rather do this Proper than just however works.
<emsenn>I'm not in any rush; I'm happy to be getting such prompt help!
<str1ngs>the issue with go and guix is, that if the package has alot of go imports. you need to make a package declaration for them.
<str1ngs>so you might have a large dependency tree
<str1ngs>emsenn: I'm just checking this package in terms of the make issue
<str1ngs>that is generally not normal for a go program
<emsenn>Haha, I didn't think so but I've never built a Go program before today; I think the only two I've used are Hugo and this one.
<str1ngs>so go-build-system might not work. you might have been right to use gnu-build-system
<str1ngs>luckly for you I'm a golang contributor :P
<emsenn>That's what I thought, that being why I did it, but I think because it is golang under the Make, it's running into some issue with Guix's, uh... sandboxing? container-ing? Build purity, that concept.
<g_bor[m]>I am trying to create two channels, and one depends on the other. However it seems, that the channel that needs to find the module from the other channel does not find it. How can I make sure that the channel finds the module defined in the other channel?
<civodul>jonsger: it provides lzipped substitutes in addition to gzipped substitutes
<pkill9>rekado: ah yes it does, and it also appends "CXX_FLAGS" to it which you can set, so I just used "CXX_FLAGS" instead of "CMAKE_CXX_FLAGS" and now it's compiling \o/ thanks
<pkill9>well, it appends it to some custom variables, not that particular one
<einarelen>Hi folks, I'm trying to build the guile-emacs package with -verbose=2. It has now been stuck in the step PROCESSING OKURI-NASI entries at 80% for more than 24 hours. Is this to be expected? I've tried to find answers to what's going on but most posts reference compiling guile-emacs on MS Windows. If it is common to take this much time, is it a step that can be skipped? Cheers!
<einarelen>I have guile-for-guile-emacs installed already if that makes a difference :)
<Gamayun_>What's the best way to apply a patch file to a local package?
<jonsger>efraim: could be a good GSoC or Outreachy project
<jonsger>I don't know how complicated or difficult snap is, but the project would have a very clear scope and target :)
<fishinthecalcula>Hello everybody, during the building of an image USB image launched with `guix system disk-image install.scm` I always get this error ( I quickly translated from italian the message could be slightly different)
<fishinthecalcula>guix system: error: canonicalize-path: This file doesn't exists "/gnu/store/cwlghngrh03igf8cfsp2mf49c2l9fnf5-guix-1.0.0-1.326dcbf/share/guile/site/2.2/gnu/installer/aux-files/logo.txt"
<fishinthecalcula>I was trying to create a custom USB image with some packages definition I created for testing purposes
<fishinthecalcula>How is that even possible? Shouldn't the hash in the name of the directory include that file? Why didn't Guix complain during installation?
<fishinthecalcula>and my $GUIX_PACKAGE_PATH is set to the directory of my personal channel
<efraim>jonsger: for a simple one it sounds like 'guix pack -f squashfs foo' with some metadata in a file and a list of files in /bin and /sbin
<efraim>doesn't take into account sandboxing or daemons or things like that though
<jonsger>efraim: even better, so you can start with a pretty simple thing and then add the complex stuff on the way...
<g_bor[m]>civodul: yes, I was having issues with passwords.
<rekado>fishinthecalcula: do you get the same error when GUIX_PACKAGE_PATH is unset?
<g_bor[m]>Also, I had a problem with my hdd, and I am now deploying my new development machine. Most probably the problem in my case was that the shadow file did not exist indeed at the time the activation script was running.
<g_bor[m]>One thing that is really problematic here, is that the root password is reset to empty. The other password resets are inconvinient, and can cause serious problems in certain situations, but the empty root password seems to be a security problem. It would be nice to have a policy configuration that tells guix not to regenrate the shadows file, even if it is missing.
<fishinthecalcula>> fishinthecalculator: do you get the same error when GUIX_PACKAGE_PATH is unset?
<fishinthecalcula>thank you for your answer, if the variable is unset Guix doesn't even load the modules in my channel even if it is consed in .config/guix/channels.scm
<g_bor[m]>What really happened here was that the broken hdd on the hypervisor resulted a problem in the guest, where certain files appeared/disappeard on the file system, and sometime created files appeared with a big delay. One example was the shepherd socket, consistently coming alive only after about a minute from boot. I could even log in before it appeared.
<rekado>fishinthecalcula: did you run “guix pull” after adding your channel to .config/guix/channels.scm?
<ArtifTh>Hello. I have installed Guix on an existing system and I have issues with setting up a locale for Guix installed programs. I have installed glibc-locales and export GUIX_LOCPATH environment variable. Also I have tried setting up LC_ALL variable with the name of the locale. It seems that programs installed with Guix ignore this setting and also, when I run many guix commands, like installing packages I see warnings like warning: setlocale: LC_ALL: cannot
<ArtifTh>change locale (en_US.utf8), even though my locale is not en_US and no environment variable specify that locale. Can anybody give a direction where to look?
<roptat>ArtifTh, I think I've seen a similar issue recently (like maybe today ^^) on the mailing list
<roptat>are you using guix on a foreign distro with systemd?
<roptat>if you want to use another locale, it seems that you can modify the environment in the systemd unit
<dutchie>i had that problem (indeed, the reply to that thread is me)
<roptat>otherwise, you should install glibc-utf8-locales as root so the daemon can find the default locale
<roptat>(which for some reason is not insatlled in glibc-locales...)
<ArtifTh>Installing glibc-utf8-locales as root seems to fix warnings
<ArtifTh>although changing LC_ALL in ssytemd unit to different locale does not seem to work
<ArtifTh>Ah, I had to specify .UTF-8 instead of .utf8
<DamienCassou>is there some support for running Flatpack applications in Guix? Part of the philosophy is close between both approaches, but the implementation is very different. Some closed-source applications I need are provided as Flatpacks
<dutchie>how can I get the path to the build directory in an argument to a build system?
<dutchie>(context: i'm trying to define a go package that uses a non-standard build system, and it's erroring out because it can't write /homeless-shelter/.cache for its build cache. So I'm trying to set GOCACHE to somewhere it can write to)
<bluekeys>Guix, how do i get started with package development? I've got no scheme experience :(
<civodul>dutchie: you can do something like (setenv "HOME" (getcwd))
<str1ngs>Marlin1113: basically if you convert the packages found with guix package -l . you can create a manifest. but I guess what I'm trying to say is if you start with a manifest. there is no need to back then
<str1ngs>you can just add to your manifest when you want to install something. and now your use packages are declarative
<raingloom>it is linked to in the documentation for guix pack
<raingloom>i'd update it but idk where the source for that is hosted
<PotentialUser-22>anybody out there? I installed the Guix os on windows hyper-V (windows 10 pro). I installed with launching the GUI upon login (after the install) but I'm seeing some error messages 7 no GNOME or other gui is sertup.
<bavier>raingloom: it's in the 'docs' directory of the master repo
<lsl88>I have installed guix on top of Fedora. I am facing a strange issue. After running the installation script, I am getting error: failed to connect to `/var/guix/daemon-socket/socket': No such file or directory. Ang guix-daemon does not exist :s
<recj>yeah i found a nonfree kernel external package (not sure if we can talk about/ endorse obtaining nonfree software via guix here) but it didn't work when i tried to reinit, will try again when i get to ethernet though
<rekado>I only have one workstation in the office running Fedora with Guix
<rekado>It’s still on Fedora because of problems with Active Directory integration when using Guix System.
<rekado>if SELinux blocks things after installing the policy it would be most helpful to a) switch to permissive mode, and b) use sealert to report any reported problems
<rekado>otherwise I fear we may never know for sure if the policy I wrote long ago actually works properly.
<lsl88>rekado: ok, I will switch to permissive, I directly disabled it