IRC channel logs
2018-01-01.log
back to list of logs
<soundtoxin>It failed to install the bootloader, but I'm not quite sure what went wrong. <str1ngs>soundtoxin: what is the output of guix build grub? <soundtoxin>/gnu/store/xqfpwxbghvi3h85pfji6kdzw7db2sgxz-grub-2.02 <str1ngs>soundtoxin: does /gnu/store/xqfpwxbghvi3h85pfji6kdzw7db2sgxz-grub-2.02q/lib/grub/x86_64-efi/modinfo.sh exist? <soundtoxin>Hm. Once I get to the latter grub folder, there is an i386 folder, but not x86_64. <soundtoxin>For the record, I think I was doing a BIOS Grub install, not an EFI one. <soundtoxin>The CPU is amd64 and I thought I grabbed the proper iso. I'll run that, one sec. <soundtoxin>I'm guessing you left out a 'grep' on accident in there, but I got this: <soundtoxin>Uhh. Sorry, not completely sure what a guix pull is. <soundtoxin>I grabbed the iso, put it on a flash drive, and started this install last night. Went to bed after getting networking set up and then continued it today. <soundtoxin>I was trying to use grub bios, although maybe I did something wrong. <soundtoxin>This SSD might be formatted as gpt instead of mbr, but I was going with the bios typed grub anyway. Is that possibly the problem? <soundtoxin>I got the ssd used from a friend and it had some stuff on it. I just went forward partitioning it with cfdisk, which I haven't used much. I typically use gparted. <str1ngs>I mean if it's gpt I would use EFI assuming you have a efi bios? <str1ngs>if you don't have a efi bios then you have to create a BIOS grub partition <soundtoxin>Yeah, I figured BIOS grub was the safer bet since it should work either way. <soundtoxin>The SSD being gpt was because it was in a different computer before and I just didn't remake the partition table, since I don't know how to do that in cfdisk. <str1ngs>bios grub will only work with GPT if you have 1MiB grub bios partition <soundtoxin>I'm on a ThinkPad X220T, and I think running the most up-to-date BIOS in case you know how to look up if it's uefi or bios. <soundtoxin>Uh, was I supposed to run 'efibootmgr'? Command not found. <soundtoxin>Alright, cool. How much do I have to re-do at this point then? <str1ngs>if your disk is GPT and you have a EFI partition. just use a grub efi segment <soundtoxin>I don't an EFI partition anymore. There was one, but I wiped all the partitions earlier. <soundtoxin>I'm navigating back to the partitioning part of the docs now, I'll see if I can figure this out. <soundtoxin>I'm not quite a beginner, but I'm barely past that. Partitioning from a TTY is still a bit tricky for me. <str1ngs>soundtoxin: does not have to be huge about 200MiB <soundtoxin>Is can be different sizes? Hm. What is it doing exactly? <soundtoxin>I'll go for 200MiB then just to be safe. I've heard people recommending 10-20GB for Root partitions if you have a separate home, just to find out later 30 worked out better for me. <soundtoxin>So, I delete my /home since I didn't know if I could shrink it, then I made a 200M partition and set the type to 'EFI System'. <str1ngs>guix like a large root due /gnu/store unless you mount that on another partition <soundtoxin>Ah, good point. is 30G enough or should I make it bigger? <soundtoxin>How much bigger do you think? I think this SSD is 250GB or so and I was gonna leave the majority for /home <str1ngs>also you need a free wifi dongle or hacked bios <str1ngs>but if you have network right now, you should be ok <soundtoxin>Oh wow. Kind glad I'm redoing the partitions. I had made them all "Linux filesystem" before, but now I see there are types for home and root. <soundtoxin>Yeah, I'm using ethernet right now and was planning to get an half-size mini pci-e wireless nic replacement. I looked at some options but haven't picked one yet. <soundtoxin>I found one that sounds good, has wireless ac, but it costs $50 which is a bit steep. <soundtoxin>oh, and I was gonna probably flash coreboot later to get past the whitelist problem. <str1ngs>soundtoxin: you cant just get a pci-e and plug it in. it needs to be whitelisted <soundtoxin>Yeah. Modded BIOS or coreboot. Leaning toward doing coreboot anyway, so I'll probably do that. <soundtoxin>I've got a raspberry pi and soic clip handy already, just gotta find a good coreboot guide later. <str1ngs>thing with coreboot is you can brick your system. kinda why I've not messed with my bios <soundtoxin>Well, I think you back up the existing payload before flashing another one, so as long as that backup is done right I think it's fairly safe. <soundtoxin>I've got the i5 version, 8G of RAM also. I kind of wish I had the i7 version, mainly for the usb 3 ports. <soundtoxin>Yeah. Guaranteed IPS panel was the main reason, but it's kind of fun having a touchscreen also. <str1ngs>I'll look into coreboot, if I can flash it safely then I would do it. <soundtoxin>Not sure of the technical definition of a jtag, I only know of people using them with xboxes in the past. You get a soic clip, or you can technically just use some wires attached to the chip, then a raspberry pi or beaglebone black on the other end. <soundtoxin>I'm hoping for this model to get libreboot support later on. I think if you already have coreboot, you don't have to go through the painful process again, you can just switch over via software. <soundtoxin>Hm. The docs use parted for the efi partition example. I already did the other stuff with cfdisk. I hope this doesn't screw stuff up. <soundtoxin>Gonna attempt to paste a couple lines quick, sorry if it ends up being longer <str1ngs>should be fine with cfisk, provided its GPT and you made the right partitions <soundtoxin>Error: Partition(s) 2, 3 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, theold partition(s) will remain in use. You should reboot now before making further changes. <soundtoxin>I did the parted command after trying to set it up in cfdisk... <str1ngs>if it does not exist, just reboot to be safe. so the kernel reads the partion table <soundtoxin>Error: Partition(s) 2, 3 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes. <soundtoxin>Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 27977584 blocks) or continue with the current setting? <soundtoxin>If I reboot, won't I be starting the install over? I guess I'd mainly be losing my edits to the default config. <str1ngs>safe the config to a persitant drive <str1ngs>assuming you mounted the target root to /mnt <soundtoxin>Hm. Actually, I think I just wiped all the partitions again so it might be gone already. <soundtoxin>Alright. I'll reboot and start over and just try to speedrun it a bit to get back to where I was. <soundtoxin>Okay, back in the install and just got networking up again. <soundtoxin>str1ngs: So you think I can do it all with cfdisk? I'm somewhat comfortable in it now so that'd certainly be preferable. I'll give it a go. <str1ngs>soundtoxin: cfdisk is fine, provide the disk is GPT table. and you make the partitions required <soundtoxin>I'm mainly worried about the part of the docs that say "must have the esp flag set". Is that equivalent to how I've set "EFI System"? <soundtoxin>I'm also worried some labels I set in earlier partitioning attempts may have stuck, and they no longer apply to the same partitions. How can I check labels of partitions? <str1ngs>you can set the label when you format <soundtoxin>Yeah. I just didn't know how to for the efi partition, so I was worried it'd have the same label as another one and screw things up later. <soundtoxin>The example with the EFI partition has you use -F32 or whatever, so I wasn't sure if I do -F32 -L or if I append L to -F32 or what. <soundtoxin>Can I do the first command with the -F32 and then run it again with -L instead? Adding -L separately doesn't work before or after -F32, and adding L so it's -F32L efi gives an error. <soundtoxin>this is one of several things I tried with no luck <str1ngs>I have to install dosfstools to check <str1ngs>if you are super meticulous UUID's are safer <str1ngs>but labels are easier to remember IMO <soundtoxin>Yeah. Just trying to get through the install and a lot of this stuff is tricky. I think I prefer using UUID, but I'm gonna follow this guide pretty close. <str1ngs>the nice thing is you can always reconfigure <str1ngs>and it breaks, you can boot the last profile <soundtoxin>Yeah, I used NixOS very briefly in the past. I knew a guy who was really into it. It was tricky, but interesting. <soundtoxin>Any thoughts on the encryption step? How difficult will it be? Should I do it? <soundtoxin>I care about security a bit, but I also hate the thought of losing my data if I can't decrypt. <str1ngs>honestly encryption is more pain then it's worth. if need encryption that badly then maybe it's worth it <soundtoxin>Yeah, that's kind of what I was thinking. I'll skip that for now and consider it in the future. <soundtoxin>So, I mounted the root partition to /mnt as instructed. Should I also be mounting my separate home partition to /mnt/home ? <soundtoxin>Not sure if anything is written to it during the install. <str1ngs>soundtoxin: I would mount home yes. so it creates the user directory <str1ngs>so the honest answer is I don't know <soundtoxin>I'm editing the config.scm now and for the bootloader step, it mentions a /boot thing that I don't think I have <str1ngs>you don't have to have boot partition <soundtoxin>Says if I'm doing it the efi way, to change grub-bootloader to grub-efi-bootloader and /dev/sdx to something like /boot/efi <soundtoxin>Oh, my efi thing is /dev/sda1, can I put that instead of /boot/efi? <soundtoxin>Yeah, pull up this part of the docs maybe. I think I'm doing it the non-legacy way, but I don't think I set it all up right. <str1ngs>what do you have for device for EFI? <soundtoxin>I made the 200MB partition as /dev/sda1 and marked it as type EFI System <str1ngs>are we talking bootloader section or file-systems? <str1ngs>there is EFI example at A graphical UEFI system <soundtoxin>Looks like it's using that /boot/efi, but I haven't got a separate boot partition, nor a boot folder under root or anything. <str1ngs>that find you can simply make it with mkdir -p /mnt/boot/efi <str1ngs>assuming your target root is mounted on /mnt <str1ngs>also you can mount with mount -L <EFI-LABEL> /mnt/boot/efi <soundtoxin>Can I delete the section in the config about the encrypted root partition since I'm not using one? <str1ngs>soundtoxin: also you can do lsblk -f . to see whats mounted and where <str1ngs>soundtoxin: use the EFI example on the link I posted <str1ngs>has a UEFI desktop example. alot like how your partion is setup <str1ngs>you'll need to add a home file-system item <soundtoxin>Slowly trying to figure this out. I'm glad I saw this, because I wanted to use i3 instead of gnome/xfce but wasn't sure what to put, and this has i3 in the example. <str1ngs>soundtoxin: the lightdesktop example is good if your going to use i3 <str1ngs>soundtoxin: actually ya the UEFI example is also the lightdesktop <soundtoxin>Okay, I think I finally got the config to an okay state. I scp'd it to another machine on my network just in case something happens, and now I'm doing the guix system init command again. <soundtoxin>Yeah, was comparing to the example and found two spots where I was missing a ), but now I've gotten a different error <soundtoxin>guix system: error: failed to load '/mnt/etc/config.scm': <soundtoxin>/mnt/etc/config.scm:22:16: /mnt/etc/config.scm:22:16: Wrong number of arguments to #<procedure cons (_ _)> <str1ngs>what's on line 22 . should be a cons <brendyn>soundtoxin: try change cons to cons* perhaps <soundtoxin>Thanks, brendyn, that got me a step closer. New error. <soundtoxin>/mnt/etc/config.scm:39:9: /mnt/etc/config.scm:39:9: rofi: unbound variable <soundtoxin>hint: Did you forget `(use-modules (gnu packages xdisorg))'? <brendyn>personally I use (map specification->package '("nss-certs" "gvfs" ...)) <brendyn>that way you don't need to install modules <soundtoxin>I've been at the end of the install for over an hour having trouble getting my config file right. <soundtoxin>I was just gonna try to upload my config to show you guys, but I can't scp to my other computer anymore for some reason. <soundtoxin>I was copying to another machine and then using an alias I have to upload text to a site from the terminal. <brendyn>then just type the error and the line it refers too <soundtoxin>I pasted it already. The rofi: unbound variable thing <soundtoxin>/mnt/etc/config.scm:39:9: /mnt/etc/config.scm:39:9: rofi: unbound variable <soundtoxin>hint: Did you forget `(use-modules (gnu packages xdisorg))'? <brendyn>and the suggestion says to import the module. so up at the top where use-package-modules is, add xdisorg <soundtoxin>Ah, I'm seeing a pattern now. I got a similar error, but instead of rofi it's polybar, but this time it doesn't have a specific suggestion to add. <brendyn>I think polybar hasn't been packaged yet. <soundtoxin>It's finally starting without an error now. Thanks. <brendyn>ok. it should run until it it fails to download a package because of network issues, or when it finishes the packages and you discover your grub config is also wrong. <soundtoxin>Yeah, this is my second try. I had some grub issues the first time around and ended up starting the install over. <brendyn>I wish there was a way to make all my users packages also system-wide packages <str1ngs>brendyn: I use manifests, not exactly system wide <str1ngs>then just add (specifications->manifest "emacs" "git") to a file <brendyn>is it possible to specify the output of a package when refering to it that way? <str1ngs>actually should be (specifications->manifests '("emacs" "git")) <str1ngs>not sure about, but this will install all the missing packages into one profile <str1ngs>make it easier to move across machines <soundtoxin>Jesus. The install is pulling in pulseaudio and networkmanager. This is rape. <soundtoxin>I think I might've done something wrong. I had a grub error about it not finding /boot/efi, so I changed both instances of /boot/efi in my config to /mnt/boot/efi, but now I'm thinking post-install I won't want it to be set there. <soundtoxin>It actually completed without errors now, but I feel like once I boot into the OS it won't be able to boot because I was using a temporary mountpoint in the config <soundtoxin>You think it'll work if I just edit it back to /boot/efi before rebooting? <soundtoxin>Okay, I changed it from /mnt/boot/efi to /boot/efi and now I'm gonna reboot and hope it works... <soundtoxin>After booting, df -h shows it did end up in /mnt/boot/efi after the install... <soundtoxin>So how do I pull in updates after I add more packages to the config? <soundtoxin>str1ngs: How do I download new packages after adding them to config.scm? <Nemaster654>▄▄▄▄▄▄▄▄▄▄▄▄▄▄ A DISCUSSION IS GOING ON ABOUT TO TO RE-ENSLAVE NIGGERS IN #/JOIN IF THIS GETS YOUR DICK HARD JOIN IN (MESSAGE VAP0R FOR HELP) biglqwgs: soundtoxin Sleep_Walker gnusosa ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ <Nemaster654>▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ A DISCUSSION IS GOING ON ABOUT TO TO RE-ENSLAVE NIGGERS IN #/JOIN IF THIS GETS YOUR DICK HARD JOIN IN (MESSAGE VAP0R FOR HELP) zjggszgozr: davidl iyzsong sentriz ▄▄▄▄▄▄▄▄▄▄▄▄▄ <Nemaster654>▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ A DISCUSSION IS GOING ON ABOUT TO TO RE-ENSLAVE NIGGERS IN #/JOIN IF THIS GETS YOUR DICK HARD JOIN IN (MESSAGE VAP0R FOR HELP) mirvg: DoublePlusGood23 daviid slyfox ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄, <Nemaster654>▄▄▄▄▄▄▄▄▄▄▄▄ A DISCUSSION IS GOING ON ABOUT TO TO RE-ENSLAVE NIGGERS IN #/JOIN IF THIS GETS YOUR DICK HARD JOIN IN (MESSAGE VAP0R FOR HELP) nyaarffe: lxo daviid mbuf ▄▄▄▄▄▄▄▄▄▄▄ <Nemaster654>▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ A DISCUSSION IS GOING ON ABOUT TO TO RE-ENSLAVE NIGGERS IN #/JOIN IF THIS GETS YOUR DICK HARD JOIN IN (MESSAGE VAP0R FOR HELP) plikxu: iyzsong Digit Steap ▄▄▄▄▄▄▄▄▄▄▄▄▄, <Nemaster654>▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ A DISCUSSION IS GOING ON ABOUT TO TO RE-ENSLAVE NIGGERS IN #/JOIN IF THIS GETS YOUR DICK HARD JOIN IN (MESSAGE VAP0R FOR HELP) zxfyxql: csprng Cheeky-Celery davidl ▄▄▄▄▄▄▄▄▄▄▄▄▄ <Nemaster654>▄▄▄▄▄▄▄▄▄▄▄▄▄▄ A DISCUSSION IS GOING ON ABOUT TO TO RE-ENSLAVE NIGGERS IN #/JOIN IF THIS GETS YOUR DICK HARD JOIN IN (MESSAGE VAP0R FOR HELP) nkiprqa: dimaursu16 rekado csprng ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ <Nemaster654>▄▄▄▄▄▄▄▄▄▄▄ A DISCUSSION IS GOING ON ABOUT TO TO RE-ENSLAVE NIGGERS IN #/JOIN IF THIS GETS YOUR DICK HARD JOIN IN (MESSAGE VAP0R FOR HELP) frahd: sentriz brendyn slyfox ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ <soundtoxin>Is there something I can change so I don't have to keep adding stuff to package modules AND packages? On NixOS I could just add packages to one spot. I know they're not exactly the same, but I'm just wondering if I'm doing something differently here than I was on NixOS. <soundtoxin>Also, is it normal for config.scm to be read-only? It's kind of annoying that I have to do :wq! instead of ZZ <brendyn>soundtoxin: yeah, you can use specification->package <soundtoxin>Can you link me a page from the docs on that or something so I can better understand it? <soundtoxin>Also, a bit unrelated, but I added icecat to my system-wide package list and then started updates and it's been taking like 10+ minutes. Is it compiling it? Am I stuck for 20 hours now? <brendyn> (packages (append (map specification->package <brendyn>That's an example. you refer to packages by name with strings, and you don't need to add any extra modules <brendyn>so modify your packages definition to use that style. <brendyn>I'd recommend removing icecat and doing your first install with a minimal package set, rebooting to check your system works, then you can upgrade. <brendyn>or have you already succeeded in installing? <soundtoxin>I added a few basics like vim, ssh, rsync, i3wm. Trying to get to a more workable system now. <brendyn>ok cool. Well you might be stuck for 20 hours, it depends on how much the build server has already built. <soundtoxin>I am considering canceling compiling and putting in qutebrowser or something, though. <soundtoxin>I was pretty sure on NixOS I didn't have to compile all of firefox due to the hydra thing. <soundtoxin>Like, does it donate my processing power to the build server also or anything? <brendyn>Yeah. Guix is the same in theory but being a smaller project, there are only a couple build servers and they are compiling for their dear lives 24/7 <brendyn>nope, it's purely for your own purpose. <brendyn>one thing you could try is adding the berlin substitutes server as well and you might find yourself building less things yourself <soundtoxin>brendyn: Do I want to keep the cons* thing in my packages block if I am switching to that other format, or do I remove it? <brendyn>remove it and make it like how i pasted, with append <soundtoxin>I get a huge messy error after changing my config to be the other format. <brendyn>You need to move %base-packages outside by one parenthesis <soundtoxin>guix system: error: failed to load '/etc/config.scm': <soundtoxin>guix/utils.scm:464:2: In procedure package-name->name+version: <soundtoxin>guix/utils.scm:464:2: In procedure string-index-right: Wrong type argument in position 1 (expecting string): i3-wm <soundtoxin>Any other problems in that section? It's all I changed and I get these errors now. <brendyn>well i see "i3-wm" as a string so im not sure <soundtoxin>Oh, shoot. My bad. I removed the quotes for some reason and saved it. <soundtoxin>I was trying random stuff when the parantheses placement was the problem before. <str1ngs>soundtoxin: you are using guix package reconfigure right? <str1ngs>soundtoxin: also once this system booted. have you done a guix pull yet? <soundtoxin>I'm doing guix system reconfigure. I did a guix pull once also. <str1ngs>guix pull is kinda hit and miss in terms of substitutes. generally it's pretty rare you'll have to build anything though <str1ngs>also for things like icecat I don't add them to my system config. <soundtoxin>So, how painful of a process is it to try and get something new packaged? So far off the top of my head, I found that polybar, deluge, and tewi (a font) are not packaged. <str1ngs>generally not to bad. deluge may take some work. I was looking at packaging it myself the other day. <soundtoxin>I've got the deluge daemon running on a server in my basement. I had been using deluge-gtk to attach to it from my laptop before. <str1ngs>so fare I've gotten deluge to build manually, still working on packaging it though <brendyn>I reckon polybar would be pretty easy <efraim>i try not to add too much to my system config, cups for the print service, btrfs because i have a btrfs partition <brendyn>str1ngs: if you want to try packaging polybar i can help <soundtoxin>Really? I feel like declarative package management is the main selling point of this sort of distro. You can put your favorite packages in your config file, put it on a fresh install, and recreate your setup very quickly. <soundtoxin>The only reason I can think of to not install something via the config is if it's a multi-user machine. <efraim>i have weak machines, easier to install them as my user <brendyn>I'd like to have global packages too but guix makes it awkward <brendyn>installing packages with guix package -i installs them locally. you have to edit a config file and run reconfigure to do it systemwide unfortunately <brendyn>but its also nice for the system to be a small core to easily upgrade <soundtoxin>Yeah, I've been only installing packages via the config + reconfiguring. <brendyn>oh and every system revision makes it's own entry in grub that can be booted from.... <soundtoxin>Hm. I guess ranger (file manager) isn't packaged either. <efraim>i have a copy of ranger, never submitted it though <brendyn>dired is still awkward for running things like xdg-open from so i use pcmanfm <str1ngs>I guess deluge would go in python.scm? <str1ngs>I'm creating the file so probably does not matter, just thinking if a submit a patch <brendyn>str1ngs: python.scm was split recently because it was way too big and taking up heaps of ram to compile. deluge would be better in bittorrent.scm <str1ngs>ahh bittorrent.scm is a better place thanks <str1ngs>it's GPL 3 so probably won't be an issue to submit a patch, once I have it sorted out. <str1ngs>for python inputs do i use native-inputs or propagated-inputs ? <str1ngs>I guess propagated is for outputs like :bin? <soundtoxin>I'm seeing i3lock-color and i3lock-fancy, but not regular i3lock. I tried installing i3lock-fancy, but it doesn't work without regular i3lock. <groffer>Hello, I'm using GUIX_PACKAGE_PATH to (try to) build some applications that are not yet in the official repository. <groffer>Now I want to override only the version and checksum for a package that already exists in the original repo to test if it can be upgraded. <groffer>(How) can I do that from a file in GUIX_PACKAGE_PATH without editing the original? <ng0>soundtoxin: do you use GuixSD? I can help you setting up i3lock-fancy <efraim>groffer: you're already using (inherit ...) to inherit the original package? <ng0>soundtoxin: I'm using it with i3lock-color + i3lock-fancy in the global package list (i3lock-fancy just needs to be availabe to the user view somehow, profile, global, doesn't matter) and this in services: (screen-locker-service i3lock-color "i3lock") <ng0>soundtoxin: we do not have the "normal" i3lock yet, but it would be good if you could express what your issue was so that the description of i3lock-color could be improved. I thought it was implicit that you need i3lock, and i3lock needs to be suid. <groffer>efraim, I'm very, *very* nooby with all things guix/scheme :) Trying now with (inherit...), thanks! <groffer>When I try to use it I get an error "ERROR: no code for module (gnu packages darktable-2.4)" <ng0>where do you have this file (module) placed? <ng0>the module name (gnu packages foo) would reflect a path of gnu/packages/foo.scm <ng0>in the guile load path, that is <ng0>so you'd have to put this file into let's say '$home/packages/gnu/packages/darktable-2.4.scm' and export a GUIX_PACKAGE_PATH with the '$home/packages' <ng0>unless you were working on an update to darktable <brendyn>str1ngs: I think python programs often require propagated-inputs due to how it finds dependencies. I don't understand it any more than that. <groffer>ng0: it's in a file "~/DEV/Guix/packages/gnu/packages/darktable-2.4.scm" and GUIX_PACKAGE_PATH is set to "~/DEV/Guix/packages/" (actually, the absolute path) <ng0>groffer: hm.I'd just rename the file and module to 'darktable' <str1ngs>brendyn: ya think I'll use that for now. seems native-inputs is for build time anyways <str1ngs>also I need to inherit libtorrent for python2-libtorrent and then modify before build phase, to run configure --enable-python-binding <groffer>ng0, then I get "ERROR: Unbound variable: darktable" <ng0>you have to add a name to it, like (name "darktable-2.4") which goes against conventions, but for versioned names you can look at the source <str1ngs>I'm not sure how to add configure to the lambda THUNK though <efraim>if you're using the python-build-system then you probably don't need the regular configure-flags, so you should be able to do (add-before 'build 'enable-python-libtorrent (lambda _ (zero? (system* "./configure" "--enable-python-binding")))) <groffer>ng0, efraim: thanks for your help! As it turns out I apparently forgot to pull and darktable is now at 2.4.0 anyway... but good to know for the future. <str1ngs>efraim: thanks, that gives me somewhere to start. <ng0>nee`: how's the GNUsocial service going? <ng0>iirc you were working on it, right? <shiranaihito>so are normal user accounts in GuixSD forbidden from switching to root with "su"? <shiranaihito>and how do i list all the user accounts in the system? ("users" just shows my own account name for some reason) <str1ngs>also sudo -i or sudo --login is fine <shiranaihito>um.. the "cat" and "less" commands are not found - what's wrong? <shiranaihito>i did include "%base-packages" in the system config though <shiranaihito>"su -" doesn't seem to work either: "su: Authentication failure" <str1ngs>or maybe you forgot to set root password <str1ngs>sudo -i uses your user credentials though <shiranaihito>str1ngs yeah, you mean i give it my own password, right? yep, it's fine <shiranaihito>but how do i get postgresql's command line utilities to show in my user's path? <str1ngs>probably just need to do guix package -i postgresql <shiranaihito>well, basically the lowest temperature ever in taipei is roughly +10C, but it feels a lot colder because it's really humid too <str1ngs>homeostasis is important for happiness :) <shiranaihito>i mean.. +10C is generally the minimum (nighttime) temperature in taipei in the winter <str1ngs>it's number 1 on the happiness pyramid <str1ngs>well if you have to kill someone for food. that probably throw morality out the window <shiranaihito>ok, but food is at the lowest level, but morality is not :P <str1ngs>right food is more important then morality I guess <shiranaihito>though it doesn't actually need to be thrown out the window for safety <str1ngs>I guess that's why Jean Valjean in Les Misérables went to jail <shiranaihito>and there's nothing immoral about defending yourself.. so.. it's still a mystery! <shiranaihito>anyhow, i just wanted to fish for some sympathy for my nasty electricity bill :P <shiranaihito>the package is already there because postgresql-service needs it, right? <str1ngs>guix works like gnu stow. the files exist in /gnu/store but they are linked into a profile. find in $HOME/.guix-profile <str1ngs>if the files are not in /gnu/store it will either download a substitute or build the files <str1ngs>-i(nstall) is not like normal packages managers. guix build is <clacke[m]>shiranaihito: I'm in HK so winter just means no air conditioning bill. :-) <str1ngs>-3C I live in Canada, which is pretty good for Canada <str1ngs>I want to build a echo friendly camper. using open hardware and software. <shiranaihito>str1ngs ok, but i'm still confused :) maybe i'll add psql to the system config packages - i suppose that would get it into all users' paths <str1ngs>shiranaihito: that works, but it's not the best habit to get into. psql might be the exception to the rule though <shiranaihito>str1ngs but how would a normal user generally set up his account then? to have all the packages he wants, maybe configured in a system config? <str1ngs>keep it minds its much easier to do guix pull. guix package -u. then guix system reconfigure <str1ngs>shiranaihito: if you have a list of package you normally use. create a manifest file <str1ngs>say in profile.scm have (specifications->manifest '("emacs" "git")) then do guix package -m profile.scm <str1ngs>you can also use guix package -l . personally I find -m easier to use <str1ngs>how can I modify or inherit configure-flags? from an inherited package? <str1ngs>using manifests is closer to guix system. guix package -i not so much <str1ngs>sigh libtorrent-rasterbar already has python enabled. <str1ngs>no it's a good thing. considering I was trying to recreate the wheel <str1ngs>shiranaihito: once yous start groking guix. nothing beats it <str1ngs>it only lacks in performance. but it made up in features <str1ngs>well guix pull on weaker laptops is pretty slow <str1ngs>also if a substitute does not exist, you'll have to build it some how. <shiranaihito>i've had some really slow installs of guixsd when practising, and but it seems it's just because of limited bandwith <str1ngs>I have a high powered desktop that I use a substitute/publish server <str1ngs>once I build or download once on the server. my other machines populate pretty quickly <str1ngs>also I use my publish server to guix pull. which make guix pull on other machines use a substitute. <str1ngs>provided the commit hash is the same <shiranaihito>str1ngs first time someone ever took your word for something? :p <str1ngs>shiranaihito: I'm failing at writing <str1ngs>of course I had to pick something hard <str1ngs>and use another build system with it. but I think I have it figured out <str1ngs>shiranaihito: deluge need python2-libtorrent but libtorrent-rasterbar does not install the python files. so I need to build and install those <str1ngs>libtorrent-rasterbar build with python support, but it's just to so file not the python files <str1ngs>I suspect since libtorrent-rasterbar is building the so file. building the python files would not be a stretch <str1ngs>which I've done, but now the two packages conflict <shiranaihito>btw, does guix have other ways of specifying package versions besides the "regexy" strings or something? <shiranaihito>i think they need to be used in some slightly different way anyway <str1ngs>yes you can doe guix package -i foo@2.2 <str1ngs>you might need to use specifications for that <str1ngs>I don't use it them in system. someone else might understand it better <str1ngs>shiranaihito: new users have a tendency to over use system packages <str1ngs>ideally system is best suited for services an limited base files <shiranaihito>str1ngs oh btw.. i was thinking of postgresql and how the official system package is always the latest version right? sometimes you don't want the latest version <str1ngs>shiranaihito: right I think using specifications could resolve that. I just forget how to use them them with system <str1ngs>it's basically syntactic sugar. also you don't have to book keep your use-modules and use-package-modules with this IIRC <shiranaihito>"warning: Consider running 'guix pull' before 'reconfigure'." <-- but it continues with the reconfigure anyway :P <str1ngs>yes, have you run guix pull as root? <str1ngs>if you do guix pull as user it only updates for that user. since guix reconfigure uses root you should pull as root aswell <str1ngs>how do you invoke guix system reconfigure? <str1ngs>also by book keeping I mean you don't need to add packages to use-modules or use-package-modules <str1ngs>in order to install a package you need to import the module into guile <str1ngs>either with use-modules or use-package-modules <shiranaihito>i was thinking of use-service-modules and use-package-modules <str1ngs>eg if you want to install i3wm you might add wm to use-package-modules <str1ngs>use-modules and use-package-modules can be interchangeable. just the syntax changes <shiranaihito>yeah, as far as i understand, use-service-modules and use-package-modules are just "shortcuts" over use-modules <str1ngs>(use-modules (gnu packages wm)) == (use-package-modules wm) <str1ngs>but if you use specification->package you only need to (use-modules (gnu packages)) <str1ngs>I'm no guix guru. so when it doubt read docs blah blah <shiranaihito>str1ngs btw, do you know if there's a way to set global environment variables in a system config? <shiranaihito>"/tmp/guix-build-expat-2.2.4.drv-0/expat-2.2.4/libtool: line 1784: ldconfig: command not found" <-- i wonder if this is noteworthy <efraim>For Hydra I think it is checking recursively for substitutes and linked inputs and their build requirements etc. as it finds some missing <shiranaihito>efraim is the list of eeeeevveerrythingggg too massive to be downloaded just once? <shiranaihito>i mean.. is it downloading the list in pieces or something? <efraim>Whats available changes constantly as new substitutes are built <efraim>Hits are cached for a number of hours iirc, misses are dropped <shiranaihito>but does guix download the actual list of everything upon each of those messages? <efraim>Only whats relevant to what you're trying to build <shiranaihito>well, i'm probably missing something but i get the feeling this could be optimized <shiranaihito>we don't care about changes to available substitutes that happen while running one invocation of guix, right? <shiranaihito>now it sounded like availability changes would be picked up even during one invocation of guix <efraim>Its possible, if you're installing mpv and you have to build from ffmpeg the rest might be ready after you've finished building <efraim>But then its only checking a few items so it should be much faster than the initial request <shiranaihito>again, probably missing something.. :) but is that possibility worth all the round-trips to keep checking for changes? <shiranaihito>efraim btw, any idea why downloads from mirror.hydra are so slow? <shiranaihito>for example, now guix is downloading a 52MB file at 176KiB/s <shiranaihito>my connection could handle several megabytes per second, as you'd expect from a decent modern connection <efraim>Hydra is a underpowered VM, sometimes items arent cached yet on the mirror and the request gets passed through and then you get the slow speeds <efraim>Wow, failed rocksdb build is 15G of space in /tmp <shiranaihito>but hydra is the default mirror for all guixsd installations, right? it seems like a good idea to give it enough power to handle that responsibility.. unless the resources just aren't there, etc <efraim>There was an effort underway to buy librebooted AMD machines to replace Hydra but it's been having trouble, we're also looking into enabling MDC's guix build cluster as a default substitute server <shiranaihito>"sometimes items arent cached yet on the mirror and the request gets passed through" <-- where does the request go then? <shiranaihito>"guix system: error: symlink: Permission denied: "/var/guix/profiles/system-2-link.new"" <-- so i guess i was supposed to run system reconfigure as root? :P <efraim>It gets passed through the mirror directly to Hydra itself <efraim>That way I can keep just my user's guix checkout up to date and any extra packages <catonano>I created a virtual machine gifted with a desktop environment. Which password has my user in that machine ? I can't log in ! <catonano>I can't log in with root and no password <OriansJ>catonano: you need to either set the password during setup or have its hash included in your setup configuration file <OriansJ>otherwise no password would be set by guix <catonano>OriansJ: thanks. How do I do that ? Is there any example anywhere ? <catonano>Also, root can login withhout password, but the screen remains black then the login screen pops up again <OriansJ>if you set the default shell for root to /usr/sbin/nologin, you would have to boot from the install medium and chroot to set a proper password for your user. <catonano>OriansJ: with ctrl-F1 you mean an xfce session ? <OriansJ>catonano: well TTY1 should be accessable (could be ctrl-alt-F1) but yes alternate gui sessions could work if your default needs configuration prior to use <efraim>i fixed gcc-4.8 on core-updates and then tried to test cross building to armhf, which was already working :/ <efraim>time to try aarch64->powerpc to try to fix the asan error <efraim>looks like ludo started the full core-updates evaluation, fixing gcc-4.9 is going to need to include 'unfixing' in commencement.scm <efraim>anyone have experience removing a snippet from an inherited package-source? <OriansJ>out of curiousity, what command is used to generate the release ISO image? <mekeor>OriansJ: `guix system disk-image`, i guess <OriansJ>mekeor: I'm surprised that it isn't well documented. As guix is one of the few systems that can have a reproducible install media generation process. Which would allow for some interesting auditing capabilities <reirob>I am trying to install gnu smalltalk in a hosted guix <reirob>ld: /gnu/store/94liwlb92cd2h81py4bywxd4yh1z4b2m-libsigsegv-2.11/lib/libsigsegv.a(stackvma.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status <reirob>I will stay for some minutes, so if somebody has an idea what to do - please let me know <reirob>otherwise I will just install the gnu smalltalk of the host distribution <reirob>ld: /gnu/store/94liwlb92cd2h81py4bywxd4yh1z4b2m-libsigsegv-2.11/lib/libsigsegv.a(stackvma.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC <reirob>but it's part of the packages, so it should build <reirob>I tried to install with the command: guix package -i smalltalk <efraim>it looks like smalltalk hasn't built successfully on x86_64 since october 2015 <reirob>So, what should be done about it? <efraim>looks like I broke it building on armhf <reirob>I'm happy that I could report something reasonable O:-) <efraim>looks like a core-updates merge in 2015 broke it <efraim>thats up to you, do you want to try to fix it? I know they had a release candidate about a year ago <reirob>@efraim: I am a guix newbie and installed it on Ubuntu - to slowly get used to the environment. I am far away from being able to fix anything :-O <reirob>Sorry. But I thought, I report it in case it helps the project <reirob>ERROR: X.509 certificate of 'alpha.gnu.org' could not be verified: <pkill9>reirob: get the nss-certs package <reirob>but after this it still continues to do something <efraim>smalltalk@3.2.91 builds on aarch64 <reirob>pkill9: following your instruction helped, now the download does not fail anymore <reirob>crossing fingers for building smalltalk 3.2.91 <amz3>sorry for my dubious message in guix-devel, it was meant for help-guix, I will reply to add more context for my question <reirob>efraim: smalltalk 3.2.91 does NOT build either <reirob>ld: /gnu/store/94liwlb92cd2h81py4bywxd4yh1z4b2m-libsigsegv-2.11/lib/libsigsegv.a(stackvma.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC <reirob>ld: /gnu/store/94liwlb92cd2h81py4bywxd4yh1z4b2m-libsigsegv-2.11/lib/libsigsegv.a(handler.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC <reirob>I have to leave now. Happy New Year People! I wish a successful year 2018 for guix! <amz3>mlin: ah! you forgot about i3-gaps <mlin>amz3: I actually realised that I didn't need i3-gaps. Doh. I do need polybar, however <mlin>I seem to be getting the error `no code for module (gnu package cairo)` now <amz3>amirouche@ubudec:~/tmp/rootfs$ guix package -A cairo <amz3>cairo 1.14.10 out gnu/packages/gtk.scm:108:2 <amz3>I read the manual today, maybe I will be of some help <mlin>amz3: I replaced it with gtk, seems to pass that. But now I get an error about `no code for module (gnu packages xcb-util-wm)`, but I ran `guix package -I xcb-util-wm` and it is indeed in the package `xcb-util-wm` <amz3>it's "guix package -A xcb-util-wm" <amz3>that givest the path to the module like in the above example I pasted <mlin>amz3: Got it. Thanks. I now get an error about the sha256 not being in base32. How do I convert it to base32? <amz3>mlin: can you paste the error at dpaste.de for instance, avoid pastebin.com as it's blocking tor users and is bad pastebin service <amz3>mlin: it seems like what you pasted inside base32 procedure call is not base32 encoded, how did you find it? <amz3>guix download takes a -f option that must be equal to base32 i think <amz3>or maybe the default is correct, dunno, the manual seem to say to use the default <mlin>amz3: I downloaded the tar using wget and ran `echo -n 3.1.0.tar.gz | sha256sum` <mlin>amz3: it does begin to build now, but it seems to say that there is a hash mismatch for the output path <amz3>it's missing native-inputs <mlin>Do I format that in the same way as (inputs? <amz3>look at 'guix edit i3-wm' <amz3>"native-inputs is typically used to list tools needed at build time, but not at run time, such as Autoconf, Automake, pkg-config, Gettext, or Bison." <amz3>let's duckduckgo the error <amz3>yes, but we are not using gcc 7.x but 5.4.0 <mlin>amz3: I should probably go to sleep now, but it would be great if you could make any suggestions. I'll check the logs <amz3>mlin: do you plan to use polybar with i3? <amz3>I don't understand the error, except if cmake-build-system doesn't do the good thing <amz3>I'll try the recipe on my machie <mlin>amz3: perhaps. Thanks for all of your help though <amz3>I mean maybe cmake-build-system is not good solution for that case