IRC channel logs

2018-05-14.log

back to list of logs

<lyr3>Is Guix written in Scheme?
<lyr3>yep...but Nix is written mainly in C++
<lyr3>So it forked what?
<lyr3>oh now I get...
<lyr3> https://git.savannah.gnu.org/cgit/guix.git/tree/
<pkill9>i think guix uses nix's daemon which is written in C or C++
<pkill9>but everything else is in Guile (derivative of Scheme)
<lyr3>SUCESS...installed correctly! haha... )
<lyr3>EFI install: (bootloader (bootloader-configuration
<lyr3> (bootloader grub-bootloader)
<lyr3> (target "/mnt/boot/efi")))
<lyr3>How is the of the guixsd login manager package?
<lyr3>I want to remove it before rebooting after a fresh install
<hwpplayer1>hi again people
<Apteryx_>Hello; how do I add something to my PATH for non-interactive shells such as opened by SSH (for guix offloading, say).
<Apteryx_>apparently .bashrc is supposed to do it for bash; but that doesn't seem to be the case for Ubuntu 16.04
<Apteryx_>(the foreign distro I'm trying to cox into offloading guix!)
<pkill9>`export PATH=/new/path:$PATH`
<pkill9>is that what you mean?
<Apteryx_>where do I put that statement?
<Apteryx_>the commands run by 'ssh host some_command' appear to be non-login, non-interactive.
<pkill9>before you execute the non-interactive shell
<Apteryx_>I don't know if I have control over this, guix offload is doing its own magic
<pkill9>are you trying to modify the path on the remote comptuer?
<Apteryx_>I feel I need some file on the host that will be sourced even for non-login, non-interactive shells such as spawned by 'ssh host some_command'
<Apteryx_>pkill9: yes
<pkill9>is there a guix profile on the remote computer that you want to include in your path?
<Apteryx_>pkill9: yes, to have Guile in my PATH and also GUILE_LOAD_PATH as explained in 2.4.2 Using the Offload Facility
<Apteryx_>--------------------------------
<pkill9>i gotta go
<Apteryx_>This seems to be on something, but having to set the non-standard PermitUserEnvironment setting to yes stinks :/
<Apteryx_> https://superuser.com/a/891563/261244
<Apteryx_>I found the solution. Just put your export lines in a /etc/sshrc or ~/.sshrc file :)
<Apteryx_>I should contribute this bit of knowledge to the Guix info manual.
<Apteryx_>spoke too soon...
<ryanprior>In a system where you have one global version of a given library installed, it's pretty straightforward to check whether there are CVEs open against libraries you've got installed, and by upgrading a library when there's a security patch you automatically roll all the systems relying on that library forward. How does that play out in Guix world? How do I scan my system and find out what versions of libraries are being used in
<ryanprior>different contexts, and apply secuity patches across the board?
<lyr3>wow..i am getting a issue: guix package: error: unsupported manifest format
<g_bor>hello guix!
<efraim>hi!
<civodul>Hello Guix!
<civodul>davidl_: following our discussion yesterday: https://bugs.gnu.org/31442
<civodul>rekado: i reposted https://guix-hpc.bordeaux.inria.fr/blog/2018/05/paper-on-reproducible-bioinformatics-pipelines-with-guix/
<rekado>civodul: nice, thank you!
<rekado>I’ve arrived in Boston, but my luggage still seems to be in Paris. (Or they lost it.)
<jonsger>rekado: are you going to talk about guix?
<civodul>rekado: Paris airport (CDG) is apparently famous for losing luggage :-)
<civodul>anyway, enjoy Boston, and perhaps its shops if you need clothes ;-)
<rekado>civodul: oh, that’s good to know
<rekado>guess I’ll try to figure out today where Bostonians buy socks.
<rekado>jonsger: yes.
<jonsger>nice :)
<efraim>I had one horrible trip where my plane went Israel -> New York -> Toronto, I got off in New York and my luggage didn't. Then it went back to Israel and to Toronto again before finally showing up 3 days after I did
<efraim>There's always Walmart, otherwise I normally buy clothes at Kohl's
<civodul>heh
<efraim>hacky work-around for the rust-bootstrap source problem, we could have all the architectures download the bootstrap source for every architecture and then only unpack the correct one
<mbakke>Ooh, `guix health` is here!
<mbakke>Apteryx_: are you sure the user you are offloading to have bash as their login shell?
***phant0mas_ is now known as phant0mas
<Apteryx_>mbakke: yes, I checked in /etc/passwd
<Apteryx_>In our doc we have a line we can use to see if everything is good: ssh build-machine guile -c "'(use-modules (guix config))'"
<Apteryx_>This requires guile and the guix modules to be defined; passing commands to ssh means they will be executed in a non-login, non-interactive shell.
<bzp>hi all
<bzp>I just installed guix, my doubts are how openssh server is configured and how to execute as a user any program example: irssi?
<roptat>as a user, you can install irssi with "guix package -i irssi" then run it
<roptat>if you want all your users (including root) to have access to irssi, it's probably better to install it system-wide in the system configuration
<bzp>and without needing to be root?
<roptat>as a user, you can run most of guix commands
<roptat>so you can simply run "guix package -i irssi" as a user
<roptat>this will install irssi for your user only
<bzp>how do you do that? install in root and that all users can use it?
<roptat>simply run that command as a user, you don't need to be root to install packages on guix
<roptat>because package profiles are isolated
<bzp>super :D
<bzp>How do I configure openssh server?
<roptat>btw I remembered you saying you were not very fluent in English. If you tell us what other language(s) you speak, maybe someone can help you in your native language
<roptat>the server must be configured by root. So you need to add the service to the service field of your operating-system declaration
<roptat>that means, you probably have (services %base-services), use (services (cons* (openssh-service (openssh-configuration)) %base-services)) instead
<roptat>actually (services (cons* (service openssh-service-type (openssh-configuration)) %base-services))
<bzp>what is the configuration file to add ssh?
<roptat>probably /etc/config.scm
<bzp>ok
<roptat>the file you used to configure your system during the installation
<bzp>in which section do I add that instruction to ssh?
<roptat>that's the services field
<bzp>And then would it be just to lift the service, to make it work?
<roptat>you need to reconfigure your system first with "guix system reconfigure /etc/config.scm"
<roptat>you may also need to reboot for the change to take effect
<mbakke>Apteryx_: when offloading to a foreign distro, eventually what I did was to completely clear the "host" (native) environment, install Guile, Guix and Guile-SSH, and source the Guix profile from .bashrc.
<mbakke>Perhaps .profile is interfering?
<bzp> http://pasteall.org/pic/show.php?id=b2cc7d247091f290a3e4675fb4700a92
<bzp>it's okay? What's next now?
<bzp>my configuration is:
<bzp> http://pasteall.org/pic/show.php?id=4ed84338becb94f7cbda6d63199d3d69
<roptat>bzp: this means you need to add "ssh" on the line that says "use-service-modules"
<g_bor>hello guix!
<catonano>bzp: it says that the variable "openssh-sevice-type" is not defined. Probably you need to import a module in which such variable is defined
<roptat>bzp: oh this is bad, with two services sections, only the last one is taken into account
<roptat>so it will remove your desktop services
<g_bor>rekado, civodul: Do we have to talk about GSoC now?
<catonano>bzp: it's in gnu services ssh
<roptat>bzp: "(services (cons* (service openssh...) %desktop-services))" will work better for you
<roptat>and you have the same issue with the packages field: it's defined twice
<civodul>g_bor: i think we do :-)
<g_bor>:)
<apteryx1>mbakke: .bashrc should only be called for interactive sessions (c.f. Bash info manual); does this allow the test command I posted above to succeed for you? (it shouldn't be sufficient according to my understanding).
<apteryx1>That line: ssh build-machine guile -c "'(use-modules (guix config))'"
<mbakke>apteryx: oh, I always mix up .bashrc and .bash_profile. The SSH session is a login shell, I think. Does sourcing ~/.guix-profile/etc/profile work from `.bash_profile`?
<mbakke>apteryx: yes, I used `ssh foo guile -c bar` quite heavily during the initial setup ;)
<mbakke>If it's a dedicated user I'd recommend unsetting PATH and everything and build the shell setup "from scratch" using Guix only.
<apteryx>mbakke: strange. I'll have to test later, I don't have access to the machine now. I was under the impression the shell was not a login shell (otherwise .bashrc should be sourced if IIRC)
<apteryx>thank you for your help!
<efraim>what's the right way to remove a service from %desktop-services? I was hoping there'd be a way similar to removing phases from a build system, like (modify-services %desktop-services (delete '(ntp-service)) ...)
<g_bor>efraim: it is simply a list, you can use delete on that. I would do it like we remove an input in an inherited package. Does that make sense?
<efraim>xorg-modules are a list, %desktop-services is actually cons*
<roptat>cons* creates a list
<efraim>sometimes I don't remember the specific bits about the differences between cons* and list
<roptat>cons* is a procedure that takes elements and a list, and returns a list
<efraim>ok, so '(modify-services (delete "(ntp-service)" %desktop-services)' worked, I can work with that and fold to create an abreviated list to work with
<efraim>thanks g_bor and roptat!
<efraim>interesting, it doesn't like fold
<efraim>pretend I didn't say anthing, forgot to pass fold a list
<civodul>janneke: there are surprisingly few *-reloc*.patch files at https://github.com/gperciva/gub/tree/master/patches
<civodul>was it this easy to obtain relocatable binaries? :-)
<bavier`>civodul: I see your openmpi update patches, thanks for the work
<bavier`>it's too bad we have to set the plm_rsh_agent variable in so many places
<bzp>Hello everyone, is my configuration ok?
<bavier`>civodul: could we maybe append (which "cat") to the end of the default value in the openmpi package?
<bzp> http://pasteall.org/pic/show.php?id=a6d76dc0516380bfb409917558939c9e
<bavier`>bzp: looks alright to me
<catonano>bavier`: I seew an "awesome" among the services. I understand thhat awesome is a package, not a service
<bzp>How do I raise the ssh server service?
<bzp>awesome where do I declare it?
<catonano>bzp: you don't, as far as I understand
<catonano>also I'm not sure that %deskktop-services and %base-services should be together
<bzp>can you share your settings to read them and adjust it, please
<civodul>bavier`: how would we do that?
<civodul>i agree that setting that variable everywhere is ugly, but i couldn't think of a better way
<civodul>in particular, i think it's good that the default is "ssh" and not "cat" in a real usage context
<bavier`>civodul: the variable is path-like, the default iirc is ssh:rsh, and we should be able to set the default to something like ssh:rsh:/path/to/cat
<bavier`>civodul: I'll do some digging...
<bavier`>but I have some other priorities right now
<catonano>bzp: sure, give me a minute
<catonano>bzp: here it is https://paste.debian.net/1024638/
<catonano>bzp: you only need to add awesome among the packages
<catonano>bzp: and openssh-service among the services
<bzp>thank you very much :D
<civodul>bavier`: sure, let me know if you have other ideas when you have time
<bzp> http://pasteall.org/pic/show.php?id=e183ec7a05e5187e9ef44b9fdbfcf7f7
<bzp>I get this message
<roptat>bzp: don't close a parenthesis after openssh-service-type
<roptat>close one more after openssh-configuration
<roptat>need to go, see you later
<bzp>ok
***sahithi-ihtihas_ is now known as sahithi-ihtihas
<bzp>is it necessary to do 'guix pull' to the paceser update everything?
<oleo>paceser ?
<oleo>what does that mean ?
<oleo>you shall invoke guix pull from time to time, once after every boot or if you think there'd be new code to get....
<bzp>excuse use translator some words, do not translate them correctly.
<bzp>'giix pull' must launch in root or in user?
<oleo>i assume root
<oleo>or at least user with root privileges
<oleo>like with sudo etc
<oleo>i only used it as root till now
<vagrantc>"guix pull" is run separately for each user
<oleo>ah
<vagrantc>although i prefer to only run it as a user, and use "sudo -E guix pull" when i need to do something as root
<vagrantc>that way i only have to run guix pull once :)
<oleo>ok
<vagrantc>er... that didn't make sense ... :)
<vagrantc>i only run "guix pull" as the user, and when doing
<vagrantc>"guix system reconfigure ..." and such i use "sudo -E guix system ..."
<oleo>is reconfigure needed after pull ?
<vagrantc>if you want the new system packages installed, yes.
<oleo>ah ok
<bzp>the openssh server file to configure where it is hosted in guix?
<oleo>allright that means i have todo a reconfigure next boot
<oleo>hopefully nothing is lost
<vagrantc>by design, guix doesn't loose anything, even old versions of installed software
<vagrantc>you should always be able to revert to a previous configuration
<oleo>i'm new to it
<oleo>i just installed it in a vm
<bzp>Why is not the "ranger" program available in guixsd?
<oleo>did the pull successfully and the a halt
<oleo>then*
<oleo>didn't use the vm again since then, i think that was yesterday or so
<vagrantc>bzp: maybe nobody has packaged it, maybe licensing conflicts. don't know about "ranger"
<g_bor>bzp: you might be referring to the software packaged as r-ranger?
<g_bor> a fast implementation of Random Forests
<bzp>It is a very good program for the terminal, please add it to guix
<civodul>bzp: the way it works is that users provide a patch adding the package of their choice
<bzp> https://wiki.archlinux.org/index.php/Ranger
<civodul>the way to do that is described in https://www.gnu.org/software/guix/manual/html_node/Contributing.html
<efraim>ranger is in guix
<civodul>well, even simpler :-)
<g_bor>yes, efraim is right
<g_bor>:)
<g_bor>ranger 1.9.1 ...
<vagrantc>efraim, civodul: were either of you running guixsd on pine64?
<antilope>as I said 'ranger' is good program
<efraim>i'm working on it, I have to copy my latest attempt to my sdcard
<vagrantc>efraim: ah, i have some patches for u-boot installation
<efraim>i'm also working on getting aarch64 VMs to work
<efraim>nice
<vagrantc>efraim: haven't been able to test yet, as "guix pull" is taking it's time ...
<vagrantc>and also submitted a patch for linux-libre on aarch64-linux
<antilope>or how can the request be made to add ranger?
<vagrantc>antilope: https://en.wikipedia.org/wiki/Ranger_(file_manager) ??
<efraim>i was using debian's kernel, was waiting until I got it fully working to send a patch for that one :)
<efraim>ACTION goes afk for a few
<antilope> https://wiki.archlinux.org/index.php/Ranger
<civodul>vagrantc: nope, i haven't tried GuixSD on ARM yet!
<civodul>i'm willing to try on my Olimex A20 one of these days
<civodul>ACTION has to go
<vagrantc>antilope: there's ranger mentioned at: https://www.gnu.org/software/guix/packages/R/page/6/
<vagrantc>efraim: heh. i went the other way and built linux-libre and ran it on Debian :)
<vagrantc>or rather, built linux-libre on guix and ran it on a debian system ...
<antilope>vagrantc: what does it mean that is available in guixsd?
<efraim>Well, I mean I used Debian's kernel config with the linux-libre source
<vagrantc>efraim: ah, yes, that's what i did.
<vagrantc>antilope: you can install ranger with guix, and guixsd is an operating system which uses guix as it's package manager.
<vagrantc>antilope: presuming it's the same "ranger" that you're talking about.
<vagrantc>antilope: sounds like it it
<vagrantc>it is
<antilope>is not ranger, also is not qutebrowser :(
<antilope>What browser do you recommend?
<bavier`>antilope: I'm not sure what you mean by "is not ranger"
<bavier`>antilope: the "ranger" package was added to Guix more recently, so if you're exploring the 0.14 release you may not see it.
<vagrantcish>apparently cross-building whole system images isn't supported. hrm.
<efraim>still having trouble getting `guix system disk-image pine64.scm' to build, qemu is giving me a hard time, I might just splat the /gnu/store/...-system onto the sd card and flash the u-boot
<vagrantcish>so far, i've had the most success with installing debian, doing a guix binary installation, and doing guix system init ...
<vagrantcish>but it's a lot of steps
<vagrantcish>haven't experimented with qemu yet
<efraim>we'll need qemu eventually to produce disk images, for now i'm going with guix system init
<bavier`>vagrantcish: I've had success with the binfmt_misc service to avoid cross-building
<bavier`>I haven't tried building a system image with it yet
<bavier`>but that might be what efraim's talking about
<efraim>i'm building on my firefly and trying to deploy to the pine64, so it's all native building
<vagrantcish>ah, i haven't gotten that far with a bootstrap
<vagrantcish>i guess i could just copy efraim and try installing on the firefly-rk3399 first :)
<efraim>my firefly is guix on vendor's ubuntu
<vagrantcish>heh
<g_bor>hello!
<g_bor>I just did a guix pull, and I get an error running guix package -s anything. I complains, that something is wrong in texinfo.scm.
<g_bor>Anyone else noticed this?
<catonano>g_bor: I didn't guix pulled recently :-/
<oleo>ok i did a guix system reconfigure now
<oleo>it's proceeding with package updates
<oleo>eheh
<oleo>i just had a minor flaw in my (filesystems.... definitions
<oleo>it lacked a (title 'label) field after the (device ..) field
<AMDmi3>hi; the website is broken again
<AMDmi3> https://www.gnu.org/software/guix/packages/E/page/4/ -> ok
<AMDmi3> https://www.gnu.org/software/guix/packages/E/page/5/ -> 404
<ryanwatkins>Hi guys, would it possible to package this up? https://github.com/jurobystricky/Netgear-A6210
<ryanwatkins>Or could somebody guide me through it if possible. The wifi on my guixsd laptop is horrible and I'd like to use this if possible
<jonsger>ryanwatkins: if it's free software, yes
<ryanwatkins>jonsger: it looks like it is
<ryanwatkins>jonsger: although maybe I am a bad judge of it :D
<castilma>mbakke: do you use zathura? or did you just package it?
<civodul>ryanwatkins: you can take a look at https://www.gnu.org/software/guix/manual/html_node/Defining-Packages.html and https://www.gnu.org/software/guix/manual/html_node/Contributing.html to get started
<ryanwatkins>Also, is there something I can install to have nice fonts in emacs / sane theming?
<castilma>i installed zathura and it doesn't open pdfs: error: could not open plugin directory: /gnu/store/sxh9zdlfkdw9nbyqi56jk90aqvg065n6-zathura-0.3.8/lib/zathura
<castilma>error: Unknown file type: 'application/pdf'
<castilma>.../lib/zathura does not exist.
<thomassgn>castilma: You need the zathura-plugins packages...
<thomassgn>2 sec
<civodul>roptat: do you know if user namespaces are typically enabled on Android? :-)
<thomassgn>e.g. zathura-pdf-poppler for pdf
<castilma>thomassgn: thx. can zathura do anything without additional packages?
<thomassgn>castilma: I know it's a bit strange, but I haven't looked into why, or if it should be done it differently. Not sure. I guess you can open it without an argument and play around
<thomassgn>it uses vimlike bindings, so you can get at commands using :
<ryanwatkins>civodul: so I have my package definition, how I eval this?
<thomassgn>ryanwatkins: put it in your $GUIX_PACKAGE_PATH and run 'guix build <name of package>'
<thomassgn>I mean, add it's path to that env var
<antilope>Can you please check my settings?
<castilma>another strange thing. i have lilypond installed. (store/jhm...) guix size tells me: guix size: error: no available substitute information for '/gnu/store/6zyrglcmk8l4xpwvg6hgq1al81d7fr1w-lilypond-2.19.80'
<antilope> http://pasteall.org/962778
<ryanwatkins>thomassgn: unbound variable: git-fetch
<antilope> http://pasteall.org/962780
<vagrantc>antilope: file-system
<vagrantc>antilope: not file-sistem
<efraim>antilope: here's my openssh config for comparison https://gitlab.com/Efraim/guix-config/blob/master/macbook41_config.scm#L97
<thomassgn>git-fetch is in '#:use-module (guix git-download)'
<antilope>ok :D
<thomassgn>antilope: and choose one of %base-services and %desktop-services.
<ryanwatkins>thomassgn: for some reason, it can't see my package name
<thomassgn>ryanwatkins: filename and the name in define-module need to be the same. Then what does running 'echo $GUIX_PACKAGE_PATH' give you?
<ryanwatkins>thomassgn: nvm, I got it. I forgot to prefix (define-module with ryan guix packages ...)
<thomassgn>cool
<ryanwatkins>thomassgn: but now it's saying i am using git-fetch wrong
<thomassgn>ah, paste it somewhere then :)
<ryanwatkins>thomassgn: https://pastebin.com/raw/iyfgbXYr
<thomassgn>Guix runs the linux-libre, I.e. deblobbed kernel. So a lot of half-free/nonfree-but-pretending-to-be-free drivers/hardware does not work. I found my current wificard by looking at the chipsets of the RYF devices and was lucky to find one in a shop here. But it was the last of it's kind there.
<ryanwatkins>thomassgn: so this will not work do you reckon?
<civodul>castilma: can you compare that file name that 'guix size' shows with the output of 'guix build lilypond --no-grafts'?
<thomassgn>ryanwatkins: don't know. I'm not familiar with the chipsets of this driver. But check them against h-node or similar, if they work with a deblobbed kernel they're good. (trisquel and several other distros run deblobbed. Debian and ubuntu does not)
<ryanwatkins>thomassgn: ahh. Well, the repo did primarily mention debian/ubuntu I guess
<ryanwatkins>thomassgn: I am not very familiar with this sort of thing
<thomassgn>the git-fetch needs a commit in addition to the url. So something like (git-reference (url "git-url.com/repo") (commit "full-hash-of-commit"))
<ryanwatkins>thomassgn: yep I just tried it but it seems the thing doesn't have a ./configure step
<ryanwatkins>thomassgn: is there a way I can skip that step and just do make, make install?
<thomassgn>ryanwatkins: none of us are, I think all of us are equally angry that we have to jump through hoops to be able to control our devices. We have the h-node and some other resources, but they're not _yet_ good enough to be easy
<ryanwatkins>thomassgn: gotcha
<thomassgn>should be... I've seen it done. try grepping for 'phase' in the guix packages (I usually keep the repo around for this and other things. Will check also
<vagrantc>hrm. pine64+ is not managing to pull off even a "guix pull"
<vagrantc>hangs after a while building gcc-5.4
<vagrantc>ACTION sighs
<thomassgn>ryanwatkins: found it. (arguments `(#:phases (modify-phases %standard-phases (delete 'configure))))
<thomassgn>I think.
<thomassgn>I didn't catch earlier, do you have a card this driver supports?
<ryanwatkins>thomassgn: neat
<ryanwatkins>thomassgn: yes I do, I just bought it and thought it would work because I am a noob.. :)
<thomassgn>ah, no worries. do you have what you need to change it if it doesn't?
<ryanwatkins>thomassgn: na. Basically this acer laptop has terrible wifi and I wanted to fix it but I guess it'll be hard to find something like an adapter + work on guix?
<ryanwatkins>thomassgn: esp given I am not a sys admin
<pkill9>how do i refer to all the package inputs (excluding native-inputs) as a list of strings that are store-paths for the inputs?
<thomassgn>well, it can be, but doesn't have to be. I'm very happy with the adapter I have now. the wifi on my laptop does not run with deblobbed/linux-libre.
<mbakke>castilma: I use Zathura and have a pull request upstream for the Meson switch (but they've been waiting on me for a while now..).
<ryanwatkins>thomassgn: how does it run then? via standard kernel? I guess it is not guixsd but maybe debian/ubuntu + guix?
<thomassgn>depends a bit where in the world you are, what kind of stores you have access to and so on. It's much easier to find what you need if you can pick up the box and look at it. My adapter runs on linux-libre on guixsd.
<ryanwatkins>thomassgn: which adapter do you have?
<ryanwatkins>thomassgn: and which linux-libre version?
<mbakke>ryanwatkins: h-node maintains a list of wifi adapters that work with free software: https://h-node.org/wifi/catalogue/en/1/1/undef/undef/yes/undef/wifi-works/undef
<mbakke>Basically there are two (IIRC) different chipsets that work with Linux-Libre, but they come in many different adapters.
<ryanwatkins>mbakke:cool. I will take a look. How easy is it to install linux-libre /how do I check if I have this? :)
<mbakke>It's also possible to add custom firmware to your system configuration, but unfortunately then you also need vanilla Linux kernel due to a bug.
<mbakke>ryanwatkins: Linux-Libre is the default kernel in GuixSD. Unless you changed it, that's what you have.
<ryanwatkins>mbakke: oh sweet!
<ryanwatkins>mbakke: okay
<ryanwatkins>mbakke: so then I should really grab one of those mentioned in h-node? How easy are they to obtain?
<thomassgn>oh yea. My adapter is a tp-link TL-WN722N V1; The thing to be aware of is that chipsets often change with different versions of the same "device". So in my case a TL-WN722N V2 wouldn't work.
<mbakke>ryanwatkins: If you can afford a new wifi adapter, I'd recommend one that works "out of the box". With luck your local electronics shop will have a card with the right chipset (you can check it on h-node).
<vagrantc>there are also online sites that specifically host blob-free wifi adapters
<vagrantc>specifically sell blob-free wifi adapters
<mbakke>Ah, yes, maybe Minifree or ThinkPenguin.
<vagrantc>they typically charge a bit more, but they pretty much guarantee that it'll be the right chipset
<vagrantc>e.g. a supported chipset
<lyr3>hey what packages should I install to startx work
<lyr3>so far I installed xinit xauth
<lyr3>
<mbakke>lyr3: What is the error message? Are you on GuixSD?
<lyr3>dont know which xorg to boot a wm through tt5
<lyr3>tty
<lyr3>yep GuixSD
<lyr3> https://pastebin.com/iH07Zcij
<lyr3>probably its lacking some package
<mbakke>Hmm I don't know which (if any) package provides "startx".
<lyr3>xinit does
<lyr3>in debian and gentoo I needed to install xorg-apps
<ryanwatkins>mbakke: thomassgn: thanks alot for your help guys. Not all is lost because this adapter works with my macbook but yes I'll see If I can find an adapter from h-node :)
<mbakke>lyr3: Oh, that looks like a bug. "xinit" should probably use the absolute path of <xorg-server>/bin/X, not itself.
<lyr3>ryanwatkins:sorry for interrupting you
<castilma>civodul: it's still building.
<mbakke>ryanwatkins: Excellent, glad to be of service. If all else fails you can find GuixSD configurations using custom firmware on the interwebs :-)
<thomassgn>ryanwatkins: what I did was to go to a few of the local shops and look at what they have. Then I checked h-node for those brands/product-lines. n the end I also chacked one of the RYF shops and saw they were listing the original product numbers on some of their items. I then cross referenced and wrote a list of the numbers I was sure about and then went to the shops and rummaged through their boxes til I found
<thomassgn>this one... :P Good luck!
<lyr3>mbakke: how do I fix that?
<mbakke>lyr3: You'd have to edit the xinit package definition.
<civodul>ryanwatkins: BTW, s/guys/people/ please :-)
<civodul>or "guix" even ;-)
<ryanwatkins>:D
<mbakke>I casually browsed the xinit source code trying to find the "/bin/X" invocation. "startx.cpp.
<mbakke>..."was not what I expected: https://cgit.freedesktop.org/xorg/app/xinit/tree/startx.cpp
<lyr3>its seems that I should install xinit and xorg as sudo
<mbakke>lyr3: I don't think using sudo will help here, since it complains that it can't find the "X" command. You could try installing "xorg-server" to your profile and see if that helps (then it will be added to PATH, at least).
<mbakke>Also, it should be possible to run X11 rootless nowadays, but haven't tried it (in ages..).
<lyr3>oh boy I have a lot to learn haha
<lyr3>Should I use sudo guix package -i?
<lyr3>oh install universal packages through reconfigure xxx.scm?
<lyr3>yep, I did run X11 with user
<pkill9> yeah use reconfigure for global
<pkill9>root has it's own guix profile as well
<civodul>i always had the feeling that Flapak/Snap were created to distribute proprietary software; well, now the home page makes that very clear: https://flatpak.org/
<lyr3>pkill9: interesting
<civodul>same here: https://snapcraft.io/
<mbakke>lyr3: To get started it's probably easier to use a display manager such as "slim-service" (in %desktop-services) or "sddm-service" to launch the X11 session.
<mbakke>But we'll be happy to guide you through fixing "startx"! ;-)
<lyr3>Is it ok I add Nix to GuixSD? Are they aims to be as non-proprietary as possible
<lyr3>mbakke:slim aint that login manager default of GuixSD? I want to get rid of that! haha
<lyr3>I am tired...I will just install i3 with an early config of it I had back there...
<pkill9>lyr3: i added nix to my GuixSD
<pkill9>i used the install script on their website front page though
<mbakke>lyr3: Oh, right! Well looks like "startx" needs some work, but let's try to fix it :-)
<pkill9>there is a nix package in the guix repo, but it doens't build
<pkill9>atleast it didn't last time i tried it
<lyr3>pkill9: there is some interesting packages that are lacking on guix as nodejs, ripgrep, npm, autocutsel
<pkill9>yeah, i have nix for a few packages that aren't in guix repo, i try to avoid it though as it's one more thing to manage
<lyr3>mbakke: thanks, anyway
<lyr3>any of you guys tried guile-wm?
<OriansJ>anyone else using ranger? trying to get w3mimgdisplay to be leveraged
<lyr3>hey guys, how can I remove Dwm? neither sudo guix package -r dwm or guix package -r dwm works
<lyr3>and now when I do guix package -u it issues: guix package: error: unsupported manifest format
<mbakke>lyr3: Did you install it to the system profile perhaps (check your config.scm)?
<lyr3>yep
<lyr3>I did through config.scm
<mbakke>lyr3: Then you need to edit it out and run `guix system reconfigure ...` again to remove it.
<lyr3>I am unable to edit the /etc/config.scm
<lyr3>sudo wont work
<lyr3>root?
<lyr3>su -
<mbakke>lyr3: Why does sudo not work? I have chowned it to my user FWIW.
<lyr3>oh
<lyr3>indeed
<lyr3>So I need to remove dwm from config.scm then guix system reconfigure