<kocio>now I wait till git will compile, since this is quite short to check
<bdju>I think I fixed my config.scm. lotta little things like quotes and parens being off/missing. a typo here and there. then I had to unlock my encrypted second hdd before I could system reconfigure with its settings in there
<bdju>now I think I'll reboot and hope nothing breaks
<nckx>I'm not sure the git test suite is fast? You can always ‘guix -D mc git git-minimal -- true’ instead.
<ytc>i removed gdm-service-type from %desktop-services but it still comes up when i reboot my system. is it possible to start xorg without a login manager? if someone could achive this, i would like to know how. thanks.
<bdju>anyone made a swapfile lately? I'm following the manual and when I do `sudo swapon /mnt/swapfile` I get `swapon: /mnt/swapfile: swapon failed: Invalid argument`
<mhj[m]>I did, no problems here. And I am using a BTRFS+encrypted system
<singpolyma>Does the #:skip-build #t on a rust package prevent custom phases from running?
<mhj[m]>Did you use "truncate -s 0" <swapfile> at any time during the creation of the swapfile?
<mhj[m]>I just followed the BTRFS swap instructions first, then the regular swap instructions
<singpolyma>Hmm, reading more in general it seems that cargo-inputs is not really "the way" anymore, but the importer still produces it for now? Is that right?
<apteryx>mhj[m]: on one machine, I have a /swap subvolume that conntains /swap/swapfile
<apteryx>I think I used that trick to avoid it getting snapshotted
<porcupirate>Seems like there's no point to having frotz if there's no z-machine games to play. Anyone know where I can get some FLOSS z-machine games? Or a tutorial on how to make my own z-machine games to play on frotz?
<porcupirate>inform 7 looks proprietary... but inform 6 is licensed under artistic 2.0. I hope it's simple.
<nckx>bdju: Another thing… I noticed the ‘md’ above. Even if it's RAID0, and it's not, because you're not an absolute madperson, that will severely degrade performance due to write amplification etc. If this is anything more than an emergency sometimes-swap, dedicate a portion of each drive to swap and add them with the same priority value so the kernel will strip across them.
<nckx>And even emergencies swapping a non-trivial amount will be dog-slow.
<nckx>(Ain't the Linux console grand? Indeed, it ain't.)
<bdju>I just want swap because I've had some hard hangs on computers in the past even with 16GB of RAM and it might be enough to let me kill whatever is giving me trouble. also I heard something about certain things performing more how you'd want if you have some sort of swap, but can't recall the details
<bdju>I do also run earlyoom now, I just feel better having a little bit of swap
<Ribby>I'm running out of time, but better than nothing. Is this the channel to ask for user interfacing on a guix/gnu? Does anyone knows about installing dependencies? Particularly in the right places? I'm following up on https://help.ubuntu.com/community/CompilingEasyHowTo . Around steps 3 and 4. I think I have the make installation down. Same may go for uninstallation and autoremove as well.
<bdju>if anyone is bored, pfetch could use an update to a newer commit. I've been manually installing a newer one to get support for no-color output. e.g. guix install pfetch --with-commit=pfetch=4b70dac514923a181dd7575760c30e885fa10313
<bdju>last I looked they haven't been doing releases, but I think the current package uses a specific commit already
<Ribby>I hope the fetch isn't abused against the privacy of other users, but I am probably paranoid.
<Ribby>I think I'll just go ahead and read up on the manual later. I already read the compile page of u. Until then.
<porcupirate>What's the difference between set-build-options and set-build-options* ?
<Charles[m]1>Using guix for cicd, a program's build pipeline only runs when the package definition (in a channel) is updated. With something like Jenkins, the pipeline runs on every commit. Is there a guix solution to this? Something better than having a git hook script update the package definition.
<apteryx>i think that's supposed to be automatic if the wm ships a .desktop file
<HONEYPOTTER>Finally got around to booting the installer ISO without a USB. I got close with booting into the ISO from grub, but the installer was looking for the partition with the Guix files so it errored and dropped me into a Guile shell. Solution: I made a partition and dd'd the installer ISO to it, then ran the grub menuentry found in the installer's
<HONEYPOTTER>/boot/grub/grub.cfg, and the installer booted successfully. I set the original partition to format and mount as /, while leaving the installer partition untouched. Now just waiting for installation to finish :)
<mroh>upstream dwm doesn't seem to provide one, but our package adds one.
<HONEYPOTTER>Probably trivial to y'all, but it's my first time messing with grub so I'm happy I got to learn quite a bit in the process of diagnosing issues
<MysteriousSilve4><apteryx> "i think that's supposed to be..." <- there's a dwm.desktop in `/gnu/store/*dwm-6.2/share/xsessions` but not in `/gnu/store/*profile/share/xsessions`
<apteryx>MysteriousSilve4: if dwm ships a .desktop and was added to the packages field of the operating-system record, it should work it seem
<allana>Hi guix! Is it possible to find inferior packages with outputs, à la specification->package+output?
<allana>I'm using something, possibly from the manual or cookbook, where I take the first entry from lookup-inferior-packages, but this doesn't seem to allow package names with outputs like "bind:utils"
<rekado_>FYI: new round of network problems right now
<rekado_>this affects issues.guix.gnu.org; it can’t reach debbugs to update its database
<attila_lendvai>thanks rekado_! this was a hassle: (simple-service 'myservice shepherd-root-service-type (list (shepherd-service ... (start #~(make-forkexec-constructor ...)))))
*attila_lendvai makes a note what to extend the cookbook with
***roptat is now known as Guest1151
<rekado_>attila_lendvai: feel free to Cc me on your cookbook mail, I’ll add it.
<attila_lendvai>rekado_, will do, but for now it's only a TODO. now, on to the next headache: how can i extend the provision list (dependency) of a service with a service type? i.e. it's a (service swarm-service-type (swarm-configuration ...)) that works, but should wait for another service to finish starting up
<rekado_>nij-: I don’t think anyone’s working on that. That’s because there’s no glibc for macOS, so the best way to use Guix on macOS would require some sort of virtualization. It’s not very interesting.
<nij->rekado_: Got it. What dark magic did nix use to run on macOS?
<rekado_>I think for Guix the only way would be to do what Docker did: using macos virtualization features
<rekado_>you can think of the approach they took for NixOS on macos as a massive binary blob underpinning the whole system.
<rekado_>what in Guix is a tiny bootstrap seed going from mes to the core GNU system (glibc + binutils + gcc toolchain, etc) in NixOS on macos is the huge Apple SDK with proprietary toolchain and proprietary C library.
<gordon1>any tip where to start if i want to replace udev with mdev?
<gordon1>it looks like everything depends on udev-service-type, so i guess best option would be to replace underlying udev-shepherd-service with mdev, right?
<ytc>i wrote my config.scm, i ran reconfigure command. and suddenly my wm and xorg crashed. i couldn't do ctrl+alt+f2. then i waited for a while and once i saw nothing was happening i powered off my pc. since then i can't boot my machine.
<ytc>it had one job: protecting my machine with generations. if it can't even do that, well what can i say?
*attila_lendvai wishes it was easier to debug shepherd
<apteryx>rekado_: mount -text4 /dev/sdf /mnt_test2 -> mount: /mnt_test2: wrong fs type, bad option, bad superblock on /dev/sdf, missing codepage or helper program, or other error.; am I doing it wrong?
<bost>But `guix help package` says nothing about the meaning of the verbosity numbers.
<rekado_>efraim: the file system has already been expanded
<rekado_>I don’t recall if I expanded the partition (or whether I had to)
<AwesomeAdam54321>bost: Choosing 0 means that no output is produced, 1 is for quiet output; 2 is similar to 1 but it additionally displays download URLs; 3 shows all the build log output on standard error.
<bost>AwesomeAdam54321: thx. Is it documented somewhere? Or can see it somewhere in the code?
<AwesomeAdam54321>I found it in the guix info manual: info guix "Package Management" "Invoking guix package"
<apteryx>rekado_: OK; the cp command has been running for about 8 hours; I'll let it go
<apteryx>assuming zstd compression plays no role in the on disk size of /var/cache/, we're about 33% through copying /mnt_test.
<nij->How does guix know to look for ~/.config/guix/channels.scm whenever (guix channels) is imported?
<nij->Does it configure ~/.config as one of its loadpath?
<attila_lendvai>shepherd is not very good with error handling... :/ is there anywhere any docs on how to run a second shepherd to work on it?
<rekado_>attila_lendvai: yeah, shepherd error handling and reporting is rather poor.
<rekado_>you don’t have to run shepherd as PID 1. Should be just fine to run it manually (and tell it to load a configuration from somewhere)
<attila_lendvai>i have a lot of experience in nested error handlers in CL, but i have a hard time with shepherd... e.g. Guix System has a layer of complexity on top of shepherd, so i can't just grab my config and start shepherd with it
<phf-1>Hello Guix! I have a manifest with this dependency: font-gnu-freefont, yet, when executing xelatex in an environment (guix shell --container -m manifest.scm ...) I have this error: "Package fontspec Error: The font "FreeSerif" cannot be found." How come ?
<rekado_>nij-: I’m not using the home manager, but it doesn’t require Guix System. I don’t know if there are incompatibilities with Arch, though.
<faust45>rekado_: thanks! will try patchelf, build from sources in not the option for me, its to complex
<rekado_>phf-1: not sure, but you can export KPATHSEA_DEBUG=2 (or 1, or 4, or 8 or 15) to see what files xelatex encounters.
<faust45>gnoo: how i can install lib32stdc++6 & libgtk-3-dev ?
<gordon1>is there a way to configure ssh lib (or client?) that is used by git inside guix? It looks like it is completely different than regular git or regular ssh
<gordon1>so i set up the channel using ssh url like that (url "ssh://user@local-server/path/to/git")
<gordon1>it refused to connect complaining about key exchange, fiddling with sshd on the server i discovered that it only accepts ssh-rsa and ssh-dss key exchange algorithms, but even setting that on the server, i still get
<unmatched-paren>if i want to check how many cores to use to build something as fast as possible, what should i use? (the build in question does not configure parallelization automatically, and uses only 1 core by default)
<Nazar>Hi there, i'm preparing a package with git source, and there is a bash scripts that need to run some git commands, but the .git folder is not fetched, how i can clone the repo from source of package ?
<singpolyma>nij-: if you're looking at manual on web make sure the URL says "devel", all other links are out of date
<nij->It does have devel, and there's indeed a section on it. But I didn't see details on how to control it in fine-grain. Perhaps passing some point, I need to be able to read the source? Is that the recommended way?
<lilyp>nij-: guix home is currently a technical preview, so its details are very much subject to change still
<lilyp>therefore it's not fully documented and you'd have to read the source
<nij->I look forward to what it will offer. - If this is not too much to ask - does anyone know how it compares with nix home? nix home works by locking (read-only) the user home directory, and some apps (e.g. ranger) that needs access to a state file failed to work..
<lilyp>unmatched-paren: you put them in /data, silly
<nij->first gotta build the latest guix by my own..
<lilyp>I'm unsure about the state of guix-home-manager though, I haven't heard about it being used in a long while
<unmatched-paren>i'm very close to getting nim working, but in the process i learned that the nim `csources` repo is actually just C output from the nim compiler and as such is not actually bootstrappable in the guix sense :(
<nij->It says in its repo that people should stop using it and adopt the official guix home.
<jgart>compared to when it was first released, I've been told
<unmatched-paren>jgart: when i said 'I guess the problem's been solved since then?' I meant the haskell problem, not the chicken one :)
<nij->Folks - I feel like guix offers an opportunity to understand the linux system thoroughly - it provides a nice abstraction written in lisp, making it easier for us to trace down to the very base of the system.
<unmatched-paren>jgart: if you use propagated-inputs, you probably wouldn't have to patch the script, but it would allow users to run the executables in their own shells, which may or may not be desirable
<rekado_>the most promising way forward is to build the RTS of GHC 4.08.2 — this cannot be build with any reasonably recent C compiler, but a version of GCC from that time (so something like GCC 2.95, which we have as gcc-core-mesboot0) should be adequate.
<jgart>It's easy to override the patched script especially if the program lets you specify external programs in a config