IRC channel logs


back to list of logs

<rekado>guix size /gnu/store/whax1pf1ggsh76jjq003k17crl5npic8-ghc-pandoc-2.7.3 –> total: 1718.3 MiB
<rekado>almost there!
<rekado>I now know why it retains references that it shouldn’t
<rekado>cabal generates Paths_${package-name}.hs and some packages use it.
<rekado>this module contains references to the store directories of the current package
<rekado>seems harmless, but even when linking statically, these references are propagated through the interface files
<rekado>luckily most packages don’t even use the directory names defined therein
<rekado>they only use the “version” value — which we can generate trivially
<rekado>there are three references to Haskell packages left – when they are gone we may have an independent pandoc binary of ~73M
<rekado>quite a big drop from a 3+Gb closure
<katco>seems like there's so much cool stuff happening in guix lately :)
<janneke>so...civodul, i think we're ready to merge wip-hurd-vm (except for the top DRAFT commit, of course)
<rekado>guix size /gnu/store/b260pbahy948rp5k6jiyxvj67h9bjvlb-ghc-pandoc-2.7.3 –> total: 112.9 MiB
<rekado>I can live with that
<mbakke>rekado: amazing progress :-)
<civodul>rekado: woow, tenfold!
<civodul>janneke: yup, will resume tomorrow
<mbakke>qtbase actually has 23MiB of header files, IWBN to move that to a separate output
<janneke>civodul: great -- there's one thing that i wanted to ask/direct your attention at; you lgtm'd one of the top commits "gnu: services: Add %hurd-startup-service." (3 days ago) but today asked about setxattr (which is used in that commit); also i think you may haven't seen some 3 commits leading up to that, "rewriting" RC (/hurd -> activation, hurd-boot.scm)
<rekado>civodul: current closure size is 3487.8 MiB
<rekado>obviously, I’m cheating here. There are separate outputs now, and the main output now is that of the executable.
<rekado>still need to fix ghc-pandoc-citeproc, which may also need to have its Haskell parts be linked statically
<civodul>heh, really cool anyway
<civodul>janneke: ah, today i just looked at the 8 patches you sent
<civodul>but maybe i missed something else?
*civodul -> zZz
<civodul>happy to take another look tomorrow!
*janneke made a bit of a puzzle of wip-hurd-vm, oh well ;-)
<janneke>almost done
*janneke -> zZzzz
***jakelp_ is now known as jakelp
<mroh>hello Kozo
<Kozo>If anyone else does static networking, could I have a 2nd pair of eyes to see what I'm doing wrong please?
<Kozo>Sorry, this one has text wrap on:
<nckx>sneek: Later tell Kozo: It's basically gibberish; you're combining modern (service static-networking-service-type …) notation with the old-style (static-networking-service …) procedure. Simply remove the outer (service static-networking-service-type).
<sneek>Will do.
<nckx>sneek: Later tell Kozo: Watch out: #:name-servers takes a list of strings, not a string.
<nckx>bot: sneeksnack.
<nixfreak>So I am installing lua to install luarocks (luarocks install luasocket) and get the error ld: cannot find crti.o: No such file or directory
<nixfreak>I now debian has a build-essentials does guix have something like that ? , otherwise I am guessing which depends I needs for gcc gcc-toolchain ld and so
<apteryx>nixfreak: gcc-toolchain
<apteryx>yay, Sergey from Anubis made some patches and it will now builds with Guile 3 support
<KE0VVT>Our media server runs Guix System :)
<apteryx>yay :-)
<lle-bout>hello! does anyone have those in dmesg output? [ 145.059315] traps: gsettings-helpe[556] trap int3 ip:7fe90b721aa1 sp:7ffdc339f3a0 error:0 in[7fe90b6e9000+7d000]
<apteryx>I do, yes
<apteryx>lle-bout: ^
<apteryx>I also have: [76702.309022] traps: .nm-connection-[26106] trap int3 ip:7f0083cdeaa1 sp:7ffc8ea296a0 error:0 in[7f0083ca6000+7d000]
<lle-bout>apteryx, okay! do you run XFCE?
<lle-bout>what machine do you have? I got an i5 520M on a Lenovo X201
<apteryx>no! I use ratpoison on this machine
<apteryx>that's an old x86_64 desktop
<lle-bout>apteryx, okay, hope to find more clues about this some time
<apteryx>what do those error mean?
<lle-bout>apteryx, well int3 is an invalid instruction when not in the context of a debugger, but I am thinking this is a memory safety bug
<apteryx>OK! A memory related bug in glib
<lle-bout>sneek later tell marusich so cuirass runs but not so much because it wont really build anything - I was trying to build an installation image but could not because things reference grub-efi which isnt available on powerpc64-linux - using $ ./pre-inst-env guix system disk-image gnu/system/install.scm
<sneek>Will do.
<lle-bout>sneek later tell marusich I would like to work on the little endian side some time
<sneek>Got it.
<apteryx>weird; with the new pre-push hook, I just got: Git error: cannot locate remote-tracking branch 'keyring'
<bdju>I'm trying to make a guix package for aerc, currently when trying to --install-from-file I get this error "guix package: error: cannot install non-package object: #<unspecified>", but I'm not sure how to interpret this
<efraim>bdju: add 'aerc' to the end of the file, without the quotes
<efraim>or however you've named the pacakge
<bdju>efraim: ah, thank you
<bdju>aerc.scm:7:2: package `aerc@0.4.0' has an invalid input: ("go" (unquote go))
<bdju>I put "go" as a native-input. is this wrong?
<malaclyps>hey does anyone know which package the qdbus utility is in? More broadly, is there a good solution for finding the answer to questions like this yet? I know someone was working on it!
<malaclyps>oh it's in qttools
<guix-vits>bdju: try `guix edit go`. Maybe you need to write ,go-NUMBERS?
<guix-vits>wrong: (define-public go go-1.13)
<efraim>if you're using the go-build-system then you shouldn't need to specify go
<guix-vits>bdju: #:use-module (gnu packages golang) ?
<guix-vits>efraim: containerd use ,go in (native-inputs and go-b-s
<bdju>efraim: I was using the gnu-build-system, but fully aware I don't know what I'm doing and parts of this are probably wrong
<bdju>I've been copying the hello.scm example and a couple others I could find.
<bdju>hm just changing the build-system doesn't change the error
<bdju>oh wait I'm in the wrong file
<bdju>I started on another package when I got stuck on that one
<bdju>changed the build-system to go and removed go from native-inputs, now it complains about git, the next thing I had in native-inputs
<bdju>I'm using method url-fetch, but I saw there's a method for git, so maybe I'm supposed to use that instead. idk.
<bdju>if I remove git it then complains about my last native-input, scdoc. this must just be all sorts of wrong
<bdju>in case anyone wants to finish the job packaging aerc, here's what I had so far:
<bdju>recently removed go and git from native-inputs, still not sure if they should or should not be there
<bdju>was looking at the AUR build to see dependencies
<NieDzejkob>bdju: there's been a patch to add aerc before, but it kinda died, perhaps because the author of the patchset made a mess:
<NieDzejkob>note the unbundling of various go dependencies
<bdju>oh interesting
<bdju>I'll drop what I had then. I'd be interested to hear if there's any reason that one can't be merged now.
<xelxebar>bdju: Taking a quick look at your package def, you need to include the modules for your inputs: dante, notmuch, and w3m.
<xelxebar>Also, go packages need some extra arguments like #:import-path etc.
<xelxebar>I recommend cloning the guix git repo and trying to copy other go-build-system packages.
<icefox>How to skip the package check? My machine always fails when checking vim.
<NieDzejkob>icefox: report the build failure to guix-devel and modify the package to remove the 'check phase in the meantime
<icefox>Oh, I think my error is not too important, so it does not need to be reported, because it is generated on Android, (because there are some differences between Android implementation and standard Linux), I now use neovim to replace it, as you have Say I think I may need to fork a guix to disable the test option and then run it on Android.
<sneek>Kozo, you have 2 messages!
<sneek>Kozo, nckx says: It's basically gibberish; you're combining modern (service static-networking-service-type …) notation with the old-style (static-networking-service …) procedure. Simply remove the outer (service static-networking-service-type).
<sneek>Kozo, nckx says: Watch out: #:name-servers takes a list of strings, not a string.
<Kozo>nckx: Thanks =]
<efraim>I tried caching the pkg folder of the go builds but they don't seem to be reused
<efraim>any idea on this error? error: failed to run download program '/root/guix/scripts/guix': Permission denied
<efraim>clone of the repo in /root/guix
<janneke>efraim: not sure what you're doing? do you have a daemon that tries to access /root, and cant?
<efraim>the daemon's also running with ./pre-inst-env from the same checkout
<janneke>sounds like a real bad idea ;)
<janneke>did the daemon drop privileges?
<efraim>its a chroot on a ppc64 box, chroot is 32-bit
<efraim>linux32 ./pre-inst-env guix-daemon --build-users-group=guixbuild --no-offload --no-substitutes --system=powerpc-linux &
<janneke>all i'm saying is..."permission denied" could mean permession denied ;)
<efraim>it could very well be that it doesn't like being in a chroot
<nixfreak>hello trying to build enventor for enlightenment and come up with this error Running aclocal...
<nixfreak>sh: autom4te: command not found
<nixfreak>aclocal: error: echo failed with exit status: 127
<efraim>looks like you need to add autoconf to native-inputs
<nixfreak>hmm ok
<nixfreak>so I am trying to build an enlightenment app and I exported export PKG_CONFIG_PATH=/gnu/store/yijpmflvbilj42yxnvxhrdzg6l1rgcav-efl-1.24.1/lib/pkgconfig/
<nixfreak>but still saying it can't find the libs , anyone have issues with this?
<nixfreak>all the .pc files are located in that directory for efl libs
<nixfreak>can't you export the path export PKG_CONFIG_PATH=/gnu/store/yijpmflvbilj42yxnvxhrdzg6l1rgcav-efl-1.24.1/lib/pkgconfig/ ?
<efraim>I normally create packages for them
<janneke>nixfreak: it's unclear what you'r trying to do; you may try pkg-config --debug or so
<nixfreak>ok one sec
<nixfreak>so this is the pkgconfig for all efl libs /gnu/store/yijpmflvbilj42yxnvxhrdzg6l1rgcav-efl-1.24.1/lib/pkgconfig
***guix-vits is now known as gwroalyf
<nixfreak>so pkg-config --list-all
***MSavoritias_ is now known as MSavoritias
<nckx>apteryx: Indeed!
<nckx>Some or all of those might be from builds/test suites though.
<nckx>apteryx: git checkout <your upstream, default: origin>/keyring
<nckx>Maybe ‘git checkout --track’, I forget.
<ryanprior>efraim: I saw your note about not wanting to define a "vala-0.46" which "vala" would point at. We use that pattern with Ruby, but is there a better pattern that should be preferred?
<sneek>ryanprior, you have 1 message!
<sneek>ryanprior, lprndn says: Thanks, I'm glad you had time to look at the packages. How bad was it? :) I think commenting in the tracker thread will be enough ;)
<nixfreak>where are the history.h files located ?
<nckx>nixfreak: <readline>/include/readline/history.h
<nckx>(That paste is just one informational line, was that intentional?)
<nixfreak>no , I screwed up then
<nlyy>how to use nix on guix
<Kozo>nlyy: <-- Scroll down to the nix service
<nlyy>(service nix-service-type) does this work? in services list
<Kozo>nlyy: Yes
<nlyy>nix-env -q emacs
<nlyy>error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
<nlyy>should i manually change permissions?
<Kozo>Did you do the symlink and source steps?
<nixfreak>ok this is a better paste
<nckx>nixfreak: So you need to tell the build system to look search in the readline input, not a hard-coded /usr mess. How to do that is build-system-specific. The error mentions a HISTORY_DIR variable.
<nixfreak>nckx I tried the history variable sudo luarocks install readline HISTORY_DIR="~/.guix-profile/include/readline/"
<nixfreak>Error: Could not find header file for HISTORY No file readline/history.h in ~/.guix-profile/include/readline/include
<nixfreak>You may have to install HISTORY in your system and/or pass HISTORY_DIR or HISTORY_INCDIR to the luarocks command.
<nixfreak>Example: luarocks install readline HISTORY_DIR=/usr/local
<nixfreak>oh your talking about in etc/config.scm ?
<nckx>nixfreak: No, I meant passing it as a make flag (which seems to be respected but doesn't work?). I can't help you with luarocks though.
<nckx>nixfreak: ~/.guix-profile/include/readline/include is wrong, so you're passing the wrong HISTORY_{INC,}DIR.
<nckx>HISTORY_DIR="~/.guix-profile" or whatever.
<nckx>You shouldn't use ‘~’ in variables though. It has no special meaning.
<nckx>Use $HOME.
<raingloom>uuhm, which packages are actually needed to get GVFS working? i'm using sway without a display manager. it worked in gnome and it works with i3 and gdm.
<raingloom>gvfs itself is already installed, but gio mount just says "volume doesn't implement mount" every time i use it
<nixfreak>Does the guix distro come prebuilt with socket libs? I assume it does ?
<nixfreak>I'm getting an error now , Error: Build error: Failed compiling module socket/
<nckx>nixfreak: What are ‘socket libs’?
<raingloom>nixfreak: if you mean luasocket, yes, it's packaged. (look at `guix search lua socket`)
<nixfreak>yeah this is such a pain in the ass so far
<raingloom>luarocks? it's not the best at package management. might be easier to just write proper guix packages for the libraries you need.
<nixfreak>yeah I'm thinking about that now lol
<raingloom>FWIW, i had luarocks troubles even back on Arch
<nixfreak>does it make more sense to setup separate libraries per programming language like python, scheme, lua and so on?
<nixfreak>sorry sorry separate profiles per language libraries
<raingloom>nixfreak: probably makes more sense to do it per-projects. the cookbook has some nice examples:
<apteryx>hmm, is anyone using opensmtp? I'm trying to create a credentials table, but the tools to encrypt passwords complains: smtpctl: this program must be setgid smtpq
<apteryx>I just installed the opensmtp service... perhaps a reboot is in order
*apteryx reboot
***familia_ is now known as familia
<apteryx>already known as #41485, thanks cbaines
<apteryx>can setgid programs be handled the same way as we handle setuid programs?
<cbaines>apteryx, yeah, I'm having the problem with the sendmail command provided by opensmtp
<apteryx>the opensmtp service could extend the setuid service
<cbaines>I'm not sure how to get things back working, I've just been using an old version for now
<apteryx>or maybe we need a new setgid-service-type?
*apteryx reads (libc) How Change Persona
<apteryx>I'll try modifying our setuid-service-type to accept a file-id along the program file name.
<apteryx>so we could configure smtpctl to be 'smtpq:smtpq' or 'root:smtpq', for example
<nckx>apteryx: Extending the (too limited) setuid-service-type seems like the right call. It can still default to root:root while offering a better interface.
<nckx>It's only needed for some(?) helper tools though, openSMTPd itself runs fine as-is.
<apteryx>nckx: I think so... just my config isn't functional yet, so it appears stopped so far (with no logs?)
<apteryx>what's missing is my credentials table that I couldn't create because it wants encrypted passwords created with its smtpctl tool.
<drakonis>microsoft did a thing
<nckx>apteryx: I don't think so, you should be able to use regular ol' mkpasswd.
<nckx>Whichever method $6$ is.
<nckx>drakonis: Microsoft?
<nckx>I don't get it.
<nckx>Isn't that just a package for Guix for a Microsoft $thing?
<nckx>(Not our Guix; Guix®™).
<nckx>drakonis: Oh, Microsoft bought EL.
<drakonis>no its a software called guix studio
<nckx>I know.
<nckx>But Microsoft didn't change anything about it, they just bought Express Logic so now it's Microsoft Guix. 😉
<nckx>I didn't know about the acquisition, thanks.
<nckx>Let's hope their equally unconcerned about their trademark :-/
<nckx>It would be ideal if they ‘integrate’ it into something they already own so the Guix™ name just goes away.
<alextee[m]>doesn't anyone hold trademarks to guix?
<nckx>alextee[m]: M$, I guess.
<drakonis>last year
<alextee[m]>well this is gonna be weird
<nckx>alextee[m]: This isn't new, both Guixen are almost exactly as old.
<nckx>It's been a year or two since I ‘researched’ this but I think ‘our’ Guix is like… a month older?
<nckx>Let's talk about this if it ever becomes a problem, which seems unlikely.
<gwroalyf>nckx: but if this becomes a problem, this should be on the blog post: (slightly revorked to be "Reply of the Guix")
<sneek>Welcome back gwroalyf, you have 1 message!
<sneek>gwroalyf, str1ngs says: cons* and list are list constructors and are guild specific. cons* appends an item to a list. and returns the new list. list constructions a new list.
<mbakke>I've tried a bunch of things to make Calibre accept the new PyQtWebEngine on 'staging', and now I can't even get it to build manually anymore :-P
<mbakke>I'm lucky if I can restore PyQtWebEngine to a somewhat decent state
<mbakke>I feel like this guy: :P
<mbakke>"Your branch is ahead of 'origin/staging' by 18 commits." ...
<ArneBab>nckx: There doesn’t seem to be a registered trademark for Guix. Maybe someone should register it.
***dingenskirchen1 is now known as dingenskirchen
<nckx>ArneBab: It's registered.
<nckx>I don't have my notes handy from the original discussion (quelle surprise).
<nckx>This triggered my initial interest ☝
<nckx>Note the year.
<nckx>Despite the product having been released & marketed under that name since (IIRC) 2012.
<nckx>So I don't think ‘they’ care that much or that we have much to fear.
<nckx>‘Gewgle the ipee’ also seems like a rudimentary step during acquisition, but no mails from Microsoft in my inbox so far.
<cbaines>Practically, providing the "right" Guix is at the top of search engine results, I don't think it matters that much
<nckx>Not from that perspective.
*gwroalyf `"right" Guix' ; "Lisp-o-faschists, huh?"
*gwroalyf "i'd voted for the `left' Guix"
<gorrilaX20>Question: is it possible for me to install dkms to build a kernel module i pulled from github?
<nckx>gorrilaX20: Package it instead, and use the linux-module-build-system.
<nckx>(Bonus step to win: submit it to guix-patches@.)
<gorrilaX20>nckx: Namely I require the rtl8723de wifi module to be installed, has it been done before?
<nckx>That actually sounds familiar, but then so do all those chip #s.
*nckx looking.
<gorrilaX20>nckx: Yeah i guess thats true lol
<nckx>Maybe I was thinking of this
<gorrilaX20>nckx: I will take a look thank you
<nckx>gorrilaX20: We have the firmware: realtek-firmware explicitly mentions your chip. With some luck you can change some parts of the CE package to get a working driver.
<gorrilaX20>nckx: Alright i will install realtek-firmware
<roptat>hi guix!
<roptat>I can't find an example of declaring a swap partition in the operating-system declaration, is that possible?
<nckx>gorrilaX20: It's only one half of the puzzle but it's a big one, since it does mean it's free 🙂 You'll still need a driver module though. Guix doesn't use DKMS (it would make little sense; DKMS is a bunch of scripts to deal with package state hell).
<nckx>roptat: Trivially: (swap-devices (list "/dev/foo")).
<gorrilaX20>nckx: Yeah it is a free module
<roptat>ah I was looking at the wrong page in the manual it seems ^^
<gorrilaX20>nckx: I am not sure I posses the technical know how to create a package, since I am pretty new to guix
<gorrilaX20>But I will give it a whirl
<gorrilaX20>nckx: Are there any guides for creating a guix linux module?
<gorrilaX20>nckx: If so could you please send me the link
<nckx>Aside: I grepped the kernel sources just in case, the only mention of ‘8723de’ is ‘/* Additional Realtek 8723DE Bluetooth devices */’. Fair warning: if your chip also provides BT it may or may not work.
<nckx>gorrilaX20: I'm not aware of any, sorry.
<jonsger>can someone has a look at 41701, an icedove update with some security fixes
<gorrilaX20>nckx: Is it possible to create a very hacky build of the module not using guix guile system as I need my wifi to work relatively soon?
<nckx>gorrilaX20: Honestly, looking at that directory layout it's just another Realtek driver (they develop all their drivers using copy & paste, it seems). It will almost certainly work if you just replace parts of the rtl8821ce-linux-module package already in Guix.
<nckx>gorrilaX20: How soon is soon?
<gorrilaX20>Like tomorrow
<gorrilaX20>nckx: As I still go to high school lol
<nckx>Heh. Do you have a bootstrapped Guix git checkout set up (i.e. have you used ‘./pre-inst-env’)?
<gorrilaX20>nckx: No, like I said I am really new to Guix
<gorrilaX20>nckx: How can I do that?
<nckx>I'm aware of the horrible timing for you but I have to go AFK for an hour. I will be back though. Maybe someone else can help you.
<gorrilaX20>nckx: No problem
<gorrilaX20>nckx: Thank you for taking your time to help me
<gorrilaX20>*the time
<gwroalyf>gorrilaX20: do you know how to use git?
<gwroalyf>`cd; git clone` -- this creates a "guix" dir in HOME.
<gorrilaX20>gwroalyf: Of course
<gorrilaX20>gwroalyf: I am just new to GUIX not linux
<gorrilaX20>gwroalyf: I cloned the repository, what should I do next?
<cbaines>There's some guidance here
<gorrilaX20>cbaines: Thank you
<cbaines>What you absolutely need to do is shorter though
<gorrilaX20>cbaines: Well thats reassuring haha
<cbaines>Basically provide the dependencies, using Guix or otherwise
<cbaines>./configure --localstatedir=/var
<cbaines>Then you should be set
<gorrilaX20>cbaines: Allright I will do that now
<gorrilaX20>cbaines: Thank you for your support
<gwroalyf>gorrilaX20: dependencies: `guix environment --pure guix`
*gwroalyf make -j`nproc`?
<gorrilaX20>gwroalyf: I am compiling guix with make -j5. Just so I can continue Immediately after it has completed compiling, what are my next steps?
<gwroalyf>gorrilaX20: there is a command `guix edit PACKAGENAME` that can instantly open a file with the definition of the PACKAGE. Try locate the file where "rtl8821ce-linux-module" is.
<gwroalyf>Then you need (afaik) to open this file again, and create an another package (using this as a base).
<gwroalyf>it's gnu/packages/linux.scm?
<ngz>I'm contemplating sdl-union function, and I think there's a bug in it. It creates a symlink to various sdl packages provided as input, including sdl. But sdl package contains the sdl-config script. Since this is a symlink, its prefix points to plain sdl directory, instead of the union of directories.
<gwroalyf>gorrilaX20: then you need a `./pre-inst-env guix build YOUR_NEW_PACKAGE` to success.
<gorrilaX20>gwroalyf: Found it linux.scm
<gorrilaX20>gwroalyf: Like you said
<gwroalyf>gorrilaX20: then IDK, but maybe: exit "environment", then in your normal shell (inside of git clone): `guix package -L ./guix -i YOU_NEW_PACKAGE`, reboot and see if it works? (Better to ask some of the developers, though; check if the `git clone` and your Guix is in sync, as this is a Kernel module).
<gorrilaX20>gwroalyf: No I meant I found the rtl88ice something something module in linux.scm
<gwroalyf>gorrilaX20: n c k x: "It will almost certainly work if you just replace parts of the rtl8821ce-linux-module package already in Guix."?
<gwroalyf>gorrilaX20: One also can just create an file that contain just a package definition (when in haste):
<gwroalyf>gorrilaX20: then `guix package -f my-package.scm`.
<gorrilaX20>gwroalyf: I am now editing ~/guix/gnu/packages/linux.scm
<gorrilaX20>gwroalyf: And creating a new package
<gorrilaX20>gwroalyf: This is what I am supposed to be doing right?
<gwroalyf>gorrilaX20: to contribute the result, yes.
<gwroalyf>gorrilaX20: in case of troubles with that adapter, there was some post about "rtlwifi_new":
<gwroalyf>IDK about licensing, though.
<gorrilaX20>gwroalyf: I am almost finished, just a few questions: what do I need to put at the commit field, and where can i find the sha512sum hash on github?
<gwroalyf>re myself ah: "... is officially abandoned. ... running a kernel newer than 5.0, use the drivers built into your kernel. That is a lot less work."
*nckx is returnal.
<gwroalyf>gorrilaX20: about hash: `git clone REPO; cd REPO; guix hash -rx`
<gorrilaX20>gwroalyf: Wow thats easier than expected
<nckx>gwroalyf: Not quite. The rtw88 branch is (very) maintained, and that includes the 87whatarewepackagingagainDE driver.
<nckx>Quick & dirty package:
<gorrilaX20>nckx: Thank you so much
<nckx>It's indeed yet another copy & paste RTL driver 🙂
<nckx>gorrilaX20: Sounds like you were pretty damn close yourself, but happy to save you some time.
<gorrilaX20>nckx: Yeah I had almost exactly what you had in my .scm, except for the commit
<gorrilaX20>nckx: Thank you anyways!
<gorrilaX20>nckx: I am compiling now
<gorrilaX20>nckx: What can I do to contribute the driver?
<gwroalyf>nckx: is (to test the module) it works: `guix package -i module -L ./guix`? Or it should be in sys.config?
<nckx>Add a copyright line for yourself, commit the whole thing with a commit message matching commit f3b075a028725e67b314a0de4f3b917fb40bf4b8 (minus the S-O-B), git format-patch -1 and mail the 0001-gnu-Add-blah.patch to
<nckx>gorrilaX20: ☝
<gorrilaX20>nckx: Yeah I am still there just installing my new driver
<nckx>gorrilaX20: Installing how?
<gorrilaX20>nckx: Its done compiling
<gorrilaX20>nckx: So now
<nckx>Well, how did you build it.
<gorrilaX20>nckx: What do you mean?
<nckx>How did you compile it?
<gorrilaX20>With ./pre-env thingy guix bulild rtlWHATAREWEDOINGde
<gorrilaX20>nckx: Along those lines
<nckx>Right. It printed a /gnu/store/… directory. You should be able to insmod the module that it contains (under lib/modules/`uname -r`/blah) with some luck.
<gorrilaX20>nckx: How do I install?
<gorrilaX20>nckx: Maybe a dumb question, but I am new to GUIX
<nckx>Oh FFS, the Realtek firmware isn't part of %base-firmware, insmod'll prolly fail.
<nckx>gorrilaX20: Not dumb, just… long answer.
<gorrilaX20>nckx: Where can I install realtek-firmware
<gorrilaX20>nckx: Because it is not in the main channel
<nckx>You've asked it 3 times now, I got it.
<gorrilaX20>nckx: Sorry
<nckx>gorrilaX20: First off, add a (firmware (cons* realtek-firmware %base-firmware)) to your operating-system, we'll probably need that.
<gorrilaX20>nckx: Done.
<gorrilaX20>nckx: Do i need to guix system reconfigure ?
<NieDzejkob>you will need to do so to apply the change, but perhaps nckx has some additional modifications of the system configuration planned for you
<gorrilaX20>NieDzejkob: Thats why I asked so I'd prefer to wait
<nckx>nckx is wildly reading documentation 😛
<nckx>gorrilaX20: Add (service kernel-module-loader-service-typ '("rtl8723de-linux-module")) to your services.
<nckx>This is the part I've never used myself (hail insmod) so… we'll see.
<nckx>NieDzejkob: Thanks.
<gorrilaX20>nckx: Done
<NieDzejkob>ah, damn it. I was about to start a large-ish build on bayfront, but gc has been running for 20 hours with a big lock on the store
<nckx>NieDzejkob: Yeah, it's conceptually broken at this point.
<nckx>gorrilaX20: You should now be able to run ./pre-inst-env sudo guix system reconfigure <your usual arguments>.
<nckx>And if I havent forgot anything it will work.
<gorrilaX20>nckx: Allright please keep in mind I have only compiled the modules not actually installed them
<nckx>Use ‘sudo -E’ to be sure, shouldn't be needed but let's not tempt fate.
<nckx>gorrilaX20: That's all right.
<nckx>This is how you ‘install’ such things on Guix System.
<nckx>Write them into your operating-system, then ask Guix to make it so.
<gorrilaX20>nckx: Now i know thank you, this is very different and a little confusing for me, but I really like the concept
<gorrilaX20>nckx: Just to be clear do I still need to be in the pure shell for this or can I just exit
<nckx>Stay in it for now.
<nckx>The less we need to ‘oh, right, wait’ debug the better.
<nckx>It's been ages since I've pre-inst-enved so I hope I forgot nothing obvious.
<gorrilaX20>nckx: sudo has not been found
<gorrilaX20>nckx: Thats why I am asking
<gorrilaX20>nckx: How do I install in pure shell
<nckx>Mkay. ‘exit’ the pure shell, then run that sudo… command again.
<nckx>But it may fail.
<gorrilaX20>nckx: Okay
<nckx>If so, put ‘guix environment guix --’ in front of it.
<nckx>Don't bother with --pure at this point.
<gorrilaX20>nckx: It failed
<gorrilaX20>nckx: I dont want to spam IRC
<gorrilaX20>nckx: So I will make pastebin
<nckx>Thanks. See topic for one that doesn't block Tor.
<nckx>But your favourite one that doesn't is fine.
<gorrilaX20>nckx: yeah I use tor as well
<nckx>gorrilaX20: To which did you add your package? I'm assuming gnu/packages/linux.scm but never actually asked.
<gorrilaX20>nckx: I did
<nckx>Eh wtf.
<gorrilaX20>nckx: wtf indeed
<gorrilaX20>nckx: I did a manual install is that like a problem: just throwing it out there
<gorrilaX20>nckx: It shouldn't be right?
<ryanprior>I'm stuck in a couple packages where I want to wrap PATH (or PYTHONPATH) such that it can find inputs at runtime, but I don't know how to do that. Can anybody suggest an example package I should look at?
<nckx>gorrilaX20: It shouldn't be. I'm bootstrapping a similar guix now to see what happens.
<gorrilaX20>nckx: The problem is: I don't even know whats going on
<gorrilaX20>nckx: Do you?
<cbaines>gorrilaX20, are you using guix environment, and if so, did you use the --pure flag?
<NieDzejkob><nckx> It's been ages since I've pre-inst-enved so I hope I forgot nothing obvious. </nckx> I'm curious what your workflow is as I pre-inst-env all the time
<NieDzejkob>ryanprior: grep for wrap-program
<gorrilaX20>cbaines: Well sudo wasnt available so I was told to just exit out of the pure shell
<nckx>gorrilaX20: Not really, but I was just about to suggest using ‘guix environment --pure guix --ad-hoc sudo’ as cbaines probably meant.
<NieDzejkob>that wouldn't work because setuid
<nckx>Of course.
<NieDzejkob>but you could do /run/current-system/setuid-programs/sudo ...
<NieDzejkob>(path modulo IIRC)
<nckx>gorrilaX20: Instead, run it from a pure environment but replace sudo with /run/setuid-programs/sudo.
<gorrilaX20>NieDzejkob: Didnt think of that
<gorrilaX20>nckx: I will try
<cbaines>The problem is mixing Guile 2 and Guile 3 things, you can avoid this by using a pure environment, or setting GUILE_LOAD_PATH="" and GUILE_LOAD_COMPILED_PATH="" before entering the environment
<nckx>NieDzejkob: Custom channels pointing to file:///home/nckx/… masters.
<cbaines>I'd just try with a pure environment, and running sudo as suggested above though
<nckx>It's a trade off. If I didn't offload to a beef fest pulling every time would probably take too long.
<gorrilaX20>cbaines: I get a weird error about an invalid field specifier
<nckx>cbaines: Reason I lost my rational faculties re guile-git is that I just updated libgit2 and ‘oh shhh—’ mode set in.
<gorrilaX20>cbaines: Creating pastebin now
<nckx>gorrilaX20: Which one?
<wdkrnls>Does anyone store their /etc/config.scm in GNU Stow?
<gorrilaX20>nckx: rtl8723de service
<nckx>gorrilaX20: Paste your configuration .scm if you're willing.
<gorrilaX20>nckx: I am
<nckx>Great. That'll help much.
*nckx 79% bootstrapped…
<nckx>gorrilaX20: Missing ' before ("rtl…")
<nckx>So literally (service kernel-module-loader-service-type '("rtl8723de-linux-module"))
<gorrilaX20>nckx: Still same error
<gorrilaX20>nckx: Full error message, maybe this'll help: /etc/config.scm:66:27: error: (service kernel-module-loader-service-type (quote ("rtl8723de-linux-module"))): invalid field specifier