<roptat>you get a different number each time you connect <roptat>(I mean, when you use the web client) <roptat>but even without context, you shouldn't say that to people, it's a simple question, and they got an answer, there's no reason for your intervention <nckx>dstolfa, tissevert: Belated wave back. <nckx>And yes, UGT, it's past midnite here. <zacchae[m]>So, a normal system config does not have git commit strings, so the versions are ambiguous. Is there a way to export a system to a `config.scm` file that specifies the commit stings? The use-case being to archive <nckx>zacchae[m]: You mean the Guix version to be used to instantiate it? <nckx>dstolfa: I was able to blow off the steam that needed blowing and am now the paragon of zendom. <zacchae[m]>nckx: Yeah probably that. I'm pretty new to this <zacchae[m]>I'm assuming that would be the best way to archive a machine <nckx>Look into inferiors in the manual, and see if it describes what you want. Locking to a particular revision of Guix locks all the package versions too, whilst the opposite (specifiying the commit for each package) would be both impractical and wildly underspecified at the same time. <nckx>dstolfa: Heh :) Thank the lord for turning an old IRC network into shitpost central I guess. *nckx → get a bit of work done, will return. <formbi`>I'm trying to do a guix pull and I'm getting «guix/build/download.scm:302:6: In procedure tls-wrap: X.509 certificate of 'ci.guix.gnu.org' could not be verified: signer-not-found invalid <nckx>dstolfa: Did you run into some gexp weirdness to write (and (not (eq? #$ipsec-conf #f)) (not (eq? #$ipsec-secrets #f))) instead of (and #$ipsec-conf #$ipsec-secrets)? <dstolfa>nckx: i think the weirdness i ran into was trying to define a macro for it and getting really weird errors, then i just kind of gave up on that idea and i think i forgot to clean up the thing <dstolfa>i can fix it up and send the cleaned up version, or if you wish to do it locally go for it <dstolfa>it's the same thing anyway, there was no weirdness around that, just the macro <nckx>I already have but wanted to double check. <dstolfa>basically i wanted to have a macro that would do the check in case it gets more complicated with swanctl, but gexps weren't happy with that <dstolfa>and this abomination grew out of trying to make the macro work IIRC :D <nckx>I'd just switched back to HexChat to type ‘Oh right, you probably …’ :) <ixmpp>does guix have a tool for diffing derivations? <ixmpp>I want to know why firefox keeps fucking rebuilding <ecbrown>to punish you for repurposing your build server as a plex transcoder <zacchae[m]>I changed the default shell for my user in `/etc/config.scm`. Does this do anything once the account already exists? I tried logging in and out, but still uses old shell. <zacchae[m]>yes (`sudo guix system reconfigure /etc/config.scm`) <zacchae[m]>Yeah, that's the page I'm on. I'mma try a reboot <zacchae[m]>drakonis: so that gave me the right shell, but it didn't generate a default `.zshrc` file. `/etc/bashrc` looks pretty important, so I'm a bit worried. Is there a way to generate the default config or something? <zacchae[m]>oh, I see. It did make a `.zprofile` with just `source /etc/profile`. I'm probably good then. Thanks *ecbrown did not have good luck with guix-universe and zsh ymmv <ecbrown>in fact i moved from zsh to bash on foreign systems <zacchae[m]>hmm. I'll keep that in mind. Most online shell examples assume bash, which is nice, but zsh just feels better overall. *dstolfa -> bed... somehow lasted until 3 am <Guest37>I am thinking about trying guix but I am concerned I am going to run into problems if I need to install software that isn’t in the repos. Can guix be a pain when a package isn’t in the repos? <zacchae[m]>In the GUIX guided installer, it asks if we would like the installer to use cached/precompiled binaries from trusted sources. Is this a persistent setting that gets stored somewhere? <zacchae[m]>Guest37: If you aren't up to the task of trying to write a few package definitions, you might want to wait a bit for GUIX. However, guix is made to make it easy to define packages, so it's actually doable <Guest37>Getting packages outside of repos in other distros is often very painful, and is the reason I am switching in the first place <Guest37>Does using guix largely defeat the need for btrfs snapshotting? <zacchae[m]>Well, you still have other configs in /etc as well as user configs in your home directory that might be worthy of snapshotting <zacchae[m]>but yeah, this is a question I also have. I try to wrap up any important configs in a master org file that tangles my various configs. Certainly, I can think of other things that should be snapshotted, but I'm thinking it's not so important for the root file system as any system breakage can be addressed by booting a previous (working) configuration. <zacchae[m]>though if someone can think of something I'm missing, do tell <Guest37>Hmm I’m not sure what I should do. Maybe make a separate btrfs partition with subvolumes for say etc and some firs in /home? <Guest37>It would seem wasteful to do this if I am not even gonna snapshot it <zacchae[m]>But then you don't have to split up your drive, i.e. no guessing how much each partition will take. Just one partition with multiple subvolumes <Guest37>I usually do the opposite where I have an ext4 partition for directories holding databases and other stuff that btrfs is bad with <zacchae[m]>Hmm. Databases is what I would want snapshotted. I haven't had that problem, but I'd hate to tell you "btrfs is fine for that" only for you to get some data loss <zacchae[m]>Ideally I just have one partition with btrfs for everything, including a UEFI bootloader in the true root directory <Guest37>I’m just gonna try what I was thinking with a separate btrfs partition, hope for the best, and deal with consequences later <Gooberpatrol66>Guest37: you can put "nocow" on database files so you don't need to have an ext4 partition <zacchae[m]>I'm making a package definition for `vimium`, and it requires a hash of the code. However, I would like it to install the most up-to-date version if possible. Is it possible to make a lax package definition without a hash? <marusich>zacchae[m], it is theoretically possible, at the cost of making the code which creates the package record non-reproducible, which is dubious <marusich>You would likely be better off using a specific version in the package definition, and then using something like the "--with-latest" option instead to try out the latest version. <apteryx>I think you can see minimal information regarding coredumps from the kernel in dmesg <nckx>Gooberpatrol66: I think they're stored in the process's cwd by default, but you can tweak the kernel.core_pattern sysctl to put them wherever (and name them whatever) you like. <nckx>Don't forget to enable them with ulimit -c or something like that. <zacchae[m]>I see the guix repos have some matrix clients, but don't have element. Element is developed by the matrix team and always has the most up-to-date features. Is there a reason it isn't included the repo? <nckx>Gooberpatrol66: Also, fs.suid_dumpable to dump otherwise ‘protected’ classes of binary like setuid ones. <nckx>Element is the mind-numbingly slow HTML one, right? I think it requires Electron, which hasn't been packaged yet. <nckx>The licence is fine and not the problem. <nckx>It's not going to be any faster packaged… <SeerLite[m]>Sadly only the electron app has search in encrypted rooms ***Kimapr5 is now known as Kimapr
<zacchae[m]>SeerLite nckx: Oh wow, it doesn't seem like any of the clients already packaged support VoIP. Not searching encrypted rooms seems like a small price by comparison. I think I'll just use app.element.io, unless someone has a better reason not to. <lispmacs>I am rebuilding my system from source. I got 6 rust compilers built today. Only 16 more to go! <leoprikler>With this simple script lispmacs builds 6 rust compilers in a day. Cargo developers hate them. <MysteriousSilver>1. is it possible to install guix along a guix-like gnu/linux distribution? <MysteriousSilver>2. is it possible to install DE/WMs not mentioned in the installation prompt? <pkill9>idk which ones it suggests, but there's plenty, i doubt it suggests all of them <pkill9>DE's are only a fewer major ones, gnome, xfce, lxqt i think <MysteriousSilver>so if it possible to dualboot with a guix-like distro i might start migrating now <yoctocell>MysteriousSilver: you can install guix on top of your current distro if you don't want to switch to guix system <yoctocell>ah, ok, i haven't tried dualbooting, but i don't see why it wouldn't be possible <MysteriousSilver>my current distro uses grub to boot into previous generations and i believe guix also does that <MysteriousSilver>i just wanted to confirm that installing guix along it wouldn't affect both the distros <yoctocell>MysteriousSilver: so you are on nixos or something? <nckx>MysteriousSilver: Guix will totally clobber your current GRUB. You can use the (installer #~(const #t)) trick to disable actual GRUB installation, and and just manually add a ‘configfile /name/of/guixs/grub.cfg’ to your existing grub.cfg. Unfortunately I'm blacking out on how to make Guix install its grub.cfg to anywhere but /boot/grub. <civodul>so, i have a problem where my Emacs input method remains active no matter what <civodul>toggle-input-method seemingly has no effect <zhu_zihao>few months ago I ask dotnet developer: "Can we bootstrap dotnet from full source?". Sadly they say no :( *nckx apologises for what comes next <nckx>MysteriousSilver: (bootloader (bootloader-configuration (bootloader (bootloader (inherit grub-bootloader) (installer #~(const #t)))) <nckx>If you use UEFI, you'll need grub-efi-bootloader. <htgoebel>I have some issue when using package transformation --with-source: <htgoebel>While the very same package description passing without transformation, <htgoebel>build fails with "mylib.so: depends on 'libpEpEngine.so', which cannot be found in RUNPATH (…) <htgoebel>Anyhow, the paths listed after RUNPATH include one path containging a like to libpEpEngine.so. <MysteriousSilver>nckx: so if i decide to uninstall the other distro, how do i install grub in bootloader <karthik[m]>raghavgururajan: Normal. GNOME bumped to 40 in guix yet? <MysteriousSilver>> and just manually add a ‘configfile /name/of/guixs/grub.cfg’ to your existing grub.cfg <zhu_zihao>I don't think OSprober is working on guix currently. <zhu_zihao>There's no option for bootloader to use os-prober to generate extra entry. <zhu_zihao>emmm, you'd better to use guix' grub, and add an extra entry to your origin distro? <zhu_zihao>when updating kernel, guix recompute the location of kernel and initrd, and write them to grub.cfg <zhu_zihao>if you don't let guix to manage grub, your guix system may failed to boot <MysteriousSilver>s/same/guix recompute the location of kernel and initrd, and write them to grub.cfg <zhu_zihao>if your origin distro has fixed location for kernel & initrd, just add an extra entry to guix bootloader setting <zhu_zihao>search: Should you want to list additional boot menu entries .... <zhu_zihao>if it has dynamic location, idk how to make them work together... <MysteriousSilver> extraEntries = ''menuentry 'GuixSD' { configfile (hd0,1)/boot/grub/grub.cfg } ''; <zhu_zihao>oh, I don't know if grub can use this syntax ('configfile') <boeg>What do I need to do to be able to run startx to start my Xorg things up instead of a DE? I have configured my .xinitrc and so on, and installed xinit which packages startx, but it seems that I need to install Xorg or "configure" it some way. Running startx says "xinit: unable to run server": no such file or directory" <raghavgururajan>> zhu_zihao: oh, I don't know if grub can use this syntax ('configfile') <raghavgururajan>Yes, it can. I use `configfile /boot/grub/grub.cfg` in my configuration. <boeg>I wonder if its just Xorg-server package <boeg>didn't see it in the manual <MysteriousSilver>raghavgururajan, (when not listed in grub entries) will executing `configfile /boot/grub/grub.cfg` launch guix? <raghavgururajan>MysteriousSilver: You mean executing `configfile /boot/grub/grub.cfg` from grub command line? <raghavgururajan>I don't think so, because /boot/grub/grub.cfg was generated by the other distro. <boeg>hmm, doesn't work ... I added (service xorg-server-service-type) and it did build but it didn't fix the problem <raghavgururajan>MysteriousSilver: What you can do is, not install grub and generating grub.cfg from/by the other distro. Instead, you can install grub and generate grub.cfg from/by guix. That way, you can create menu-entry for the other distro in the bootloader section of config.scm. <raghavgururajan>MysteriousSilver: Ah that might work, since you explicity mention the partition. *raghavgururajan 's gajim froze for a while <nathan_>Hello, everyone! I need help installing texlive with GUIX <nathan_>I just finished my MSc. dissertation, and had a terrible time bc evince broke in the last weeks of my work; I decide to move the software I need the most to GUIX so that I can be more picky about upgrades and rollbacks <nathan_>is there an equivalent of texlive-most in guix? I installed texlive and it does not have some packages I need <nathan_>well, I must have done something wrong, then <rekado_>(I prefer to use texlive-base and specific packages) <nathan_>and when I run latexmk it seems like it is not installed <dstolfa>it's possible that subfiles is not imported -- you could leverage `guix import texlive subfiles` to generate the package definition for it, it might just work out of the box with it <dstolfa>you'd have to package it (and could send a patch to the mailing list) <nathan_>@rekado_ sure, I completely understand. It is a lot of things, many of them I am not even sure what for <nathan_>@dstolfa lemme try that; but which mailing list could I send the patch to? <boeg>How would I go about, from within my configuration, to make sure a file with specified content exist at a certain location? (I want to have guix create and maintain a .desktop file for exwm) <nathan_>dstolfa: thank you! I am doing some Read The Friendly Manual rn and may come back with further questions <boeg>Hmm, okay, so GDM looks for session types in /run/current-system/profile/share/xsessions, but since its not a writable location, how do I put a custom .desktop file there so I can choose it in GDM? <nathan_>OK, I have a question. This is the first time I create a package. Have already played around with Scheme, so that seems OK <jlicht>nathan_: congrats on the dissertation <nathan_>the output from guix import has as uses a svn-fetch which guix complained it did not find. Where can I find the scripts available for use with GUIX? <jlicht>boeg: you install a package with stuff in <out>/share/xsessions to your system profile <boeg>jlicht: right, but there is no such package. I want to run EXWM and normally you can just place a .desktop file and choose it in the login manager <nathan_>jlicht: thank you very much! I am really proud, although a little tired still <jlicht>boeg: exwm is not an option in your gdm when you have exwm installed in your system profile? <boeg>I... didn't try, jlicht, the docs says to manually create the file <jlicht>boeg: Ah, now I understand your problem; in guix land, there is some integration work for packagers to make this work; for exwm, it has already been done. So to answer your actual question: you are correct, which is why packagers have to make these files at build-time <boeg>right, im building now and lets see if it appears <karthik[m]>raghavgururajan: so, stepped into matrix at last 🤓 <jlicht>boeg: the system profile requires a system reconfigure (and perhaps reboot?) for changes to be seen <boeg>jlicht: indeed - and it worked <jlicht>nathan_: if you put your package definition in gnu/packages/tex.scm (in your git checkout), it should Just Work (tm) <jlicht>nathan_: RE: the texlive-fetch, I don't think that is a thing (anymore) <nathan_>I do not follow what you mean by my git checkout <nathan_>is it where I installed guix itself? or any git checkout from a project I am working on? <jlicht>nathan_: I meant your git checkout of guix itself. Never mind if you don't have it <nathan_>I do not have one. I think I ran the shell script, but as it was a while ago I am not quite sure <jlicht>and, if you did things right, `guix build -f your-pkg.scm'. <jlicht>nathan_: that should be svn-download, not whatever I wrote <jlicht>and texlive, not tex. Phones are hard to type on :-) <apapsch>qemu wiki says to disable firewall in the guest for port forwarding to work. But to test the firewall locally I can't disable it <apapsch>seems bridged networking is the only way to go, right? <nathan_>jlicht: oh wow, I do not even try to type something intelligent on my phone <nathan_>perhaps I have done something wrong when installing guix: no code for module (guix build-system tex) <jlicht>s/tex/texlive, my mistake nathan_ <boeg>jlicht: where do I find the source for the emacs-exwm package? <boeg>Need to see what exactly it does <jlicht>boeg: guix edit emacs-exwm should give you the sources for the package definition <jlicht>and guix build --source emacs-exwm for the exwm-sources <nathan_>jlicht: thank you very much; it seems that I need to read a little more from the cookbook, at least <nathan_>I have another issue that peharps someone here can help: I have used guix to install emacs-guix. When I start a new emacs, I can run the M-x guix <nathan_>however, the emacs server that starts via systemd does not have the function M-x guix to be used <nathan_>sure, perhaps I should fight a little more with systemd, but this is the first time something like this happened to me <nathan_>All my other emacs packages simply work <nathan_>for this particular issue, I think I will just uninstall emacs-guix from guix and install it via elpa, like my other emacs package <nathan_>but that makes me worried that perhap there is something wrong with my guix configs <nathan_>even the computer, because it is not the first time I have trouble with systemd services <nathan_>and there are somethings that require daemon restart <MysteriousSilver>are other Elisp packages installing through guix visible in emacsclient? <nathan_>so far emacs-guix is the only one I have <nathan_>(use-package guix :load-path "/home/nathan/.guix-profile/share/emacs/site-lisp/guix-0.5.2-4.8ce6d21") <nathan_>("/usr/local/share/emacs/site-lisp/" "/home/nathan/.guix-profile/share/emacs/site-lisp/guix-0.5.2-4.8ce6d21" ...) <nathan_>MysteriousSilver: added to my config; as soon as the subfiles package finishes building I will restart the systemd service <nathan_>cuz of course I ran from inside of eshell and do not want to kill it <zeropack>Hello, is there an easy way to enable network access during guix build? <raghavgururajan>Nope! I am connected to IRC from XMPP and you are connected to IRC from Matrix. <jackhill>zeropack: no, that's by design. Builds happen in isolated environments. What's making you want network access. Maybe there's another way. <jackhill>raghavgururajan: I was able to get gajim installed with the staging commit you recommended. Still no luck with calls with jmp.chat though. <zeropack>I'm trying to package a private Elixir app, and don't have the time or expertise to implement a proper Elixir build system yet. <zeropack>So i'd like to just let the Elixir package manager download the dependencies <apapsch>zeropack: if it's private you could create a release tarball with all elixir dependencies bundled and in the guix recipe use copy-build-system <apapsch>zeropack: just make sure to create the tarball with one single first level subdirectory. guix unpack phase changes to the first subdirectory of the extracted archive <jackhill>raghavgururajan: I installed it in its own profile and just ran it with ./full/path/to/gajim. I didn't source the environment vars there or anything. <apapsch>if you put all files directly in the root of the archive, you'll have to append a build phase doing (chdir "..") after the unpack phase <jackhill>raghavgururajan: and I'm actaully at work now, so it might be best to schedule more testing for later <raghavgururajan>MysteriousSilver: Sorry to hear that. Both Guix and Nix, overwrites /boot/grub/grub.cfg after every system reconfigure. <raghavgururajan>> jackhill: raghavgururajan: and I'm actaully at work now, so it might be best to schedule more testing for later <raghavgururajan>Ah okay. You can check Gajim --> Preferences --> Audio/Video --> Turn on Live Preview. <raghavgururajan>MysteriousSilver: Does NixOS provides an option for not installing grub and only generate grub.cfg? <MysteriousSilver>that was why i tried to dual boot, but since the installation image successfully connected to wifi <apapsch>dd if=/dev/zero of=/dev/other/distro <apapsch>hard partition borders may lead to one partition filling up while the other remains very empty <apapsch>if using btrfs subvolumes may be worth it if you have special backup needs <zacchae[m]>Anyone know if one of the matrix clients in the savanah repo supports VoIP? <zacchae[m]>I was going to just use app.element.io, but it signs me out any time I restart my browser <apapsch>lvm also has hard borders. that example uses btrfs in the partitions. btrfs subvolumes use available space of whole disk, so using one big btrfs partition with subvolumes has a significant advantage over traditional partitions or lvm <MysteriousSilver>raghavgururajan: should i use btrfs? i've never used anything other than EXT4 <dongcarl>powerpc64le folks: which version did glibc start properly supporting the -le variant? <apapsch>whole disk --> whole btrfs partition <efraim>I turned on compression and got more space than ext4 <apapsch>MysteriousSilver: one big btrfs partition keeps things simple and subvolumes satisfy your backup needs <apapsch>until the precious byte you didn't know was precious is lost to the void ;-) <zacchae[m]>reza: yes, and it was not good. Wifi card doesn't work (gnu firmware != gnu drivers). <zacchae[m]>you can get a compatible wifi dongle/card, and use free nvidia drivers, and it will work, but it definitely made me mad when they advertise how "gnu" they are but can't run a gnu OS <zacchae[m]>oryx pro is what I have. It has an ethernet port, so it can work, I'm just salty. I think I remember having some (probably similarly minor) problem when I tried to run any linux on dell xps, so I'm doubtful it will run. <zacchae[m]>For the most part, if you are ok with buying a wireless card that explicitly runs on a free OS, you should be good <zacchae[m]>It's usually pretty easy to replace a wireless card in a laptop (just don't loose too many screws) <dstolfa>zacchae[m]: i think every dell uses an m.2 card by intel that requires iwl <dstolfa>what i did is just get an ath9k_htc external card <zacchae[m]>For the most part, if you run linux fine, you just need to worry about the wireless card and GPU (especially Nvidia) for linux-libre. Obviously, there are exceptions to every rule, but this will get you far. Far enough that you should feel safe to order a laptop with a 90 day return policy and run tests <tricon>zacchae[m]: That is definitely reassuring and a good point. I'm conflicted in that, on one hand, it'd be nice to have a libre AX Wi-Fi adapter for my desktop (none exist, from what I've heard); and at the same time, I'd rather just run a darn cable. Ethernet is just so rock solid and works. <tricon>But I am interested in a new, libre laptop as well. <jackhill>I've had annoying problems with the firemware in laptops only accepting approved pcie wifi cards. Fortunately, USB wifi is an easy work around. <tricon>Hmmm... that's a good point too. <jackhill>tricon: Some of us, including me, have ordered an MNT Reform <https://mntre.com/reform>. The only required blob is to initialize the memory. I just got mine yesterday though, so haven't gotten Guix on it yet :) <tricon>They make Amiga components!?!? I have such an adoration for hte Commodore and the Amiga. Still have 4x C64s (including the "portable" ST) and an Amiga 1000. <tricon>Had the 500 and 1200 back in the day. <tricon>jackhill: Reform looks nice, thank you for this. <raghavgururajan>efraim: Are there any advange for using %tmp-tmpfs and %guix-temproots? <drakonis>is there a way to reuse a successful build and hack on top of that for the following steps? <zhu_zihao>if an emacs package contains some resource files, should I move it to <prefix>/share/emacs-xxx/ or just leave it under <prefix>/share/emacs/site-lisp/xxxx-A.B/ <zacchae[m]>anyone know why chromium isn't showing up in pulseaudio? Or where I sohuld look. My speaker shows up fine, and my tab has the audio symbol, but pasystray doesn't show chromium. <drakonis>raghavgururajan: there's a hook you need and the initial run has to be manual? <drakonis>sudo /var/lib/certbot/renew-certificates <nathan_>hello people! I came back with systemd, emacs, and guix working as a team <nathan_>turns out systemd does not load environment variables by default, so to have emacs working well with guix I had to run it from bash <nathan_>the fact that emacs-guix was not working was actually a consequence of the fact that emacs was not working with Guix as intended <ixmpp>How many of you have a public guix-publish server running? <nathan_>bc I was running emacs service via systemd, and systemd ignores variables <leoprikler>nathan_: I think you can configure systemd to forward some important variables to the process <leoprikler>or at least to set them to some meaningful values <nathan_>leoprikler: but I simply ran through bash <nathan_>because I was unsure about which variables I need to forward <nathan_>you see, guix do a lot of things on my env <leoprikler>EMACSLOADPATH is the one most relevant to Emacs, but there are others as well <leoprikler>what you did is a perfectly legitimate solution :) <nathan_>leoprikler: thank you! It sure took me some time to understand what was happening <nathan_>what made me understand that was the issue was that the only emacs instance which was not working was the server that I run at startup <lispmacs[work]>hi, I was trying to profile and system from source. But I keep crashing from memory exhaustion (collect2 kills ld, to be more precise) when I try to build qtwebkit. Are there any tricks to reduce memory usage during builds? <lispmacs[work]>I've got an 8GB system with less than half that being used by the rest of the OS and applications <roptat>lispmacs[work], -c1 (running on one core) <leoprikler>I don't think qtwebkit is supposed to be compiled by mere mortals <lispmacs[work]>does Guix have stats or something on how much memory it took for their server to build qtwebkit? <roptat>no, guix doesn't keep stat of resource usage during builds <lispmacs[work]>I seem to recall that some build systems have a way of passing in options that trade out memory usage for disk usage <raghavgururajan>drakonis or anyone: Is there a way to use CSR with certbot-service-type? <lispmacs[work]>hmm, well, I wonder what it is in my manifest that requires qtwebkit <lispmacs[work]>I think it must be gnuradio. I wasn't using it on this computer anyway <atuin>but using wget ends up downloading it <atuin>I get also this error when using wget several times "GnuTLS: Resource temporarily unavailable, try again." <atuin>any idea what could be wrong? <bdax>Hi everyone, I asked a while ago about using guix to install everything from source. I was told to set substitute-urls to an empty list, as in `(substitute-urls '())`, but where do I put that in the installation script when installing GuixSD? <roptat>oh, mh I get the same error with guix download actually <roptat>bdax, if you want to install using only sources, I think you need to install manually <bdax>ah okay, daunting :| time to read the manual I suppose. thanks roptat <roptat>another possibility might be to stop the daemon, and restart it manually <roptat>from another tty, as root, run "herd stop guix-daemon", and guix-daemon --no-substitutes --build-users-group=guixbuild <roptat>that might be the easiest way to do so <roptat>if you configure with (substitute-urls '()), it means you won't use substitutes by default, but any user can override that value to any substitute server that's allowed (ci.guix.gnu.org by default) <roptat>(and, that takes effect only once you reboot on your new system) <bdax>hm, well it's a single user system, but how would you do it then? <atuin>roptat: I tried that indeed :D <roptat>I'd find a way to pass --no-substitutes instead <bdax>ah okay, but how do you get that to persist across reboots, or does guix handle that automatically? <roptat>that should be the same file, and since it has the same name, it should download it to the store and allow you to continue <atuin>I will try to debug, but even wget gives the error 3 times, so i guess some problem with the redirection <atuin>ahhh thanks, I will try that <roptat>bdax, if it's in the configuration file, that would be what the guix-daemon starts with by default <roptat>bdax, you would set (use-substitutes? #f) in the guix configuration <atuin>roptat: indeed, that worked. I guess wget behaves differently than guix download when handling redirections <roptat>atuin, yeah, it seems so, would you mind sending a bug report? <bdax>ah brilliant, so that in the installation script, and restart guix-daemon during installation with --no-substitutes, and that will force guix to operate in source-only mode for all users, across reboots? <roptat>atuin, yes, to bug-guix at gnu.org <bdax>excellent, thanks again roptat <roptat>the configuration is for your new system, restarting the daemon is for the guix in the installer <bdax>use-substitutes? doesn't seem to be documented, but I'll give it a try <roptat>note that doing so, you'll spend a lot of time (maybe more than a day if you don't have a super powerful system) building packages in the installation system <roptat>I'd recommend using a very minimal system so you can boot the new system earlier, and then work from there <bdax>oh! there it is, thanks, and yeah my system tends to be quite minimal as I use bspwm instead of something like gnome, so hopefully it won't take too long <roptat>well, I'd build a system with no graphics at all at the beginning <bdax>right yeah, X11 probably takes a while <mfg>is it possible to only run until a certain phase and after that change to the build dir to manually try things out? <jlicht>roptat: with your android-studio-in-a-box (environment) approach, were you ever able to have AS talk to any connected devices? <roptat>mfg, you can change the recipe like (add-after 'phase 'fail (lambda _ (throw 'error))), and then guix build -K that package <roptat>although I had to restart adb from outside the environment <mfg>roptat: i see. thanks for the tip :) <jlicht>roptat: I'll have to look into that then, thanks for the data point :) <nckx>raghavgururajan: What does this print: <nckx>/gnu/store/g6nhdp7i1sr51anq86hd6adrsm5ha857-nginx-1.21.0/sbin/nginx -c /gnu/store/2igpjf27rm92np6jn6hfrxzx5m55a468-nginx.conf -p var/run/nginx <nckx>MysteriousSilver: I was away :) Did you progress? <cwebber>what's the guix command to download and unpack a package source again? I can't find it <nckx>raghavgururajan: Add my missing / before /var. <nckx>cwebber: guix build --source <nckx>It doesn't unpack tarball, though. <nckx>raghavgururajan: s/Path to/File name of/, s/uses it to obtain certificate/will use it to obtain a certificate/, s/using randomly generated private-key/using a randomly-generated private key/, first certificate-configuration-csr indentation is off. <nckx>LGTM if you've tested both with & without csr set. ***MalRooks is now known as Rooks
<leoprikler>It appears, there are also some things that get quoted via q{}, have you looked into those? <raghavgururajan>Hmm. If I run `./pre-inst-env guix system reconfigure /path/to/config.scm` from bootstrapped guix repo (where my patches are applied), I get `error: %base-file-systems: invalid field specifier`. ***iskarian is now known as Guest1156
<mekeor>how do i "allow non-forward updates" to guix-pull? <mekeor>i see. it's just bad wording in an error message :D <dstolfa>i think it's just using git terminology <dstolfa>but i agree that it would be confusing if you're not used to it :D <mekeor>well, i mean technically i don't downgrade my channel but i simply changed my last commit <dstolfa>yeah, but because your old hash is not included, it "looks" like a downgrade <dstolfa>usually what i do to avoid this is instead of git commit --amend is just create a new one, and then squash before submitting patches <dstolfa>that way i only really have to do the --allow-downgrades once instead of all the time <mekeor>given a (define-public foo-modification (package (inherit foo) …)), (how) can i modify a certain phase, given per 'label? <mekeor>or do i really need to copy everything over? o.O <mekeor>i mean there is the (modify-phases (replace …)) function but i'd need to get the arguments→phases out of the foo-variable... <efraim>looks like you want substitute-keyword-arguments then <efraim> (substitute-keyword-arguments (package-arguments foo)) <mekeor>efraim: beautiful! thank you, too, tricon! :) <mekeor>oh, substitute-keyword-arguments doesn't seem to be mentioned in the manual :/ <mekeor>mekeor: well, at least there is a doc-string in the guix-repo :D <tricon>mekeor: Ya talking to yourself!? :D <mekeor>no, i'm talking to mekeor... err, i mean, someone might search the irc-logs at some point ;) <mekeor>also, it's like chat-threads for me xD <Noisytoot>maybe mekeor is 2 people using the same IRC client <tricon>Or, it's like that South Park episode where every person is referred to as "Marklar". <nckx>raghavgururajan: Move ‘csr’ in the match-lambda to match the order in the record definition? (Before, you guessed it, authentication-hook.) <nckx>$ <> matches in slot order, which is a fancy way of saying that it doesn't look at the ‘field’ names, only the order in which they appear in the record definiton. So if I (define-record-type* <kool> … (field-a …) (field-b …)), then create a (kool (a "A") (b "B")) object, (match-lambda (($ <kool> b a) …)) will happily bind "A" to b and "B" to a. <ixmpp>scheme procedure to delete duplicates from a list, anyone? <raghavgururajan>nckx: Ah I see. Btw, if I use (if csr `("--csr" ,csr) '("-d" (string-join domains ","))), I get Wrong type (expecting string): (string-join domains ","). <ixmpp>fine i'll do it imperatively... <raghavgururajan>May be (if csr `("--csr" ,csr) `("-d" ,(string-join domains ","))) ? <nckx>raghavgururajan: So --csr and -d are mutually exclusive? (It's been years since I've run Certbot.) <nckx>But yes, you found the problem. <nckx>You were passing a ‘literal’ list ('string-join 'domains ","). <nckx>Seems like a potential for user confusion if (domains …) silently ignored. Not that I know the best alternative. <nckx>ixmpp: Why imperatively? <nckx>ixmpp: As a quick hack, (use-modules (ice-9 match) (rnrs lists)) (define (deduplicate list) (match list ((element . tail) (cons element (deduplicate (remove element tail)))) (() '()))) seems to do the trick without having to stoop to imperative programming 😉 <ixmpp>i figured there'd be something <nckx>The nice thing about the standard library is you'll never know it. <mekeor>i just searched for "duplicate" in guile manual :D <nckx>I didn't and look where it got me. <mekeor>it's cool that you can pass the equality-function :D <nckx>If you pass the inequality function great fun ensues. <nckx>It returns all the occurences of the first element. <nckx>Ponder that and you'll probably become enlightened on the nature of equality. <mekeor>sorry, i have no idea of scheme but i guess: (delete-duplicates '(h a h a h) (lambda (x y) (!= x y))) ?? equals '(h h h) ? <mekeor>i'm not sure if the lambda syntax is right *shrug* <nckx>It was mainly the != that offended me greatly. <nckx>GuileBot: You're pretty hot for someone your size. <nckx>mekeor: There's a Python bot in another channel I lurk in and 67% of the ‘content’ is people feeding it shit and trying to make it kill() itself. <nckx>I'm not sure it's a boon. ***xgqtd is now known as xgqt
<raghavgururajan>> nckx: Seems like a potential for user confusion if (domains …) silently ignored. Not that I know the best alternative. <raghavgururajan>The alternative is using (if csr `("--csr" ,csr) '()) but user should use same list of domains in csr file for "-d". The trouble is, domains are mentioned in HEX inside csr file. <nckx>I was thinking more in the direction of throwing an error if both domains & csr are set. <raghavgururajan>nckx: If both domains & csr are set, but the domain-names mismatches between domains & csr, certboth will throw error message that domain-names are inconsistent between domains & csr. *mekeor . o O ( "what seems to be missing among 'delete', 'replace', 'add-before' and 'add-after' are 'move-before' and 'move-after' which move a phase from one place to another" ) <mekeor>ugh, finally. i got my mu-beta (v1.5) package declaration to build :)