<lispmacs[work]>hi, I needed Keepass for a work environment (https://keepass.info/) but Guix only has KeepassXC, which uses an incompatible file-format. I was wondering if there was any freedom/licensing concerns behind that missing package, or just a lack of interest/resources <Blackbeard>lispmacs[work]: what format is not compatible? I ask out of curiosity. I never had a problem with keepassXC <lispmacs[work]>Blackbeard[m]: databases generated by Keepass can be opened in KeepassXC (read only), but KeepassXC cannot save to the Keepass database format <lispmacs[work]>I'd be happy using KeepassXC databases, but everybody else in the office is using Keepass <nckx>lispmacs[work]: Keepass is Windows-first (C#, Mono), I wouldn't look much further than that. There's no licence issue AFAIK. <lispmacs[work]>nckx: okay. We have the infrastructure for mono, right? I thought I saw a mono package <nckx>Guix has mono (poor thing) so you can even give it a go if you want. <nckx>No mono-build-system but a mono package. <lispmacs[work]>nckx: i was trying to figure out what would be more painful, coming up with my own Keepass Guix package, or trying to convert the whole office to keepassxc <lispmacs[work]>or I guess i could run a debian VM on my machine, but I've only got 8GB of RAM <Blackbeard>I don't know anything helpful lispmacs[work]. I used keepass to save my passwords then moved to keepassxc and I've been there for a couple years now. I am not sure what can be donu in your case :/ <nckx>‘KeePassXC currently uses the KeePass 2.x password database format’, Keepass is at 2.44, sounds like it should work. <lispmacs[work]>nckx: the wording in that FAQ is kind of weird. But I know if I try to open our existing keypass databases in XC, XC will not let me save data back to the database. <lispmacs[work]>maybe my database file formats are old, we've been using Keepass for a few years <Blackbeard>lispmacs[work]: what keepass version are you using? <lispmacs[work]>everybody else in the office is using keepass 2.*, though I don't know if everybody is running the latest version <lispmacs[work]>I was using keepass 2.* on Debian, but switched to Guix a few months ago, and lost (write) access to those databases <lispmacs[work]>I'm going to try again, see if anything has changed in the last few months <nckx>alextee[m]: Summer 2016. <alextee[m]>i remember trying to build a mono app but there was no mono <nckx>alextee[m]: As hinted at above, we have mono (and at least one package that seems to build something using it), but no mono-build system and who knows what else the average Wind^WMono programme actually needs to build. <alextee[m]>yeah this will need a mono build system kind of thing <nckx>I thought Mono was a dot net implementation. Maybe we're just missing a symlink? 😛 *alextee[m] has no idea how this thing works <nckx>alextee[m]: The you & me both. <Blackbeard>Database files in version 2 can be opened, but will be upgraded to a newer format. KeePass 1.x (.kdb) databases can be imported into a .kdbx file, but this process is one-way. <nckx>That's… yes. Good link. Good. <nckx>alextee[m]: Er, is it possible we talked about that (Osu) like a year ago, or more? That or I'm having a total déjà-vu. Or more likely confusing you with someone else. <alextee[m]>i remember trying to package it so i probably asked here and you responded :-)) <nckx>Seems like ages ago but cool. ***jonsger1 is now known as jonsger
<apteryx>can I use a local file as part of the `authorized-keys' of my guix-configuration? <apteryx>The key doesn't seem to get written to /etc/guix/acl <maxdevjs>Hello... I am tinkering with guix-system-vm-image-1.0.1.x86_64-linux and a lot of questions are surfacing (note: zero 'Guix' and 'Guile' skills here) :) <maxdevjs>1) how do I clear a terminal output? There is no 'clear' command? Should I install some package? <maxdevjs> '(define-public kitty' section, or it could literally be anything else (something in Guix's build chain, ...)? <apteryx>maxdevjs: to clear your terminal: C-l <maxdevjs>apteryx : thank you very much. C-l works :) But I am used to alias 'clear' in personal configuration, so now I wonder about the 'clear' command. Sorry for the paste thing. Do you refer to the gist link? <apteryx>and yes, I was referring to that github gist link. <nckx>alias clear='printf "\e[H\e[2J"' <nckx>Make your computer type C-l for you with more effort. <maxdevjs>Thank you very much... I was used to 'alias c=clear'... lazy me :) <nckx>Everyone has their secret shame. <nckx>Oops, guix configuration you say. <apteryx>nckx: that looks a lot like what I have... I probably goofed the --sysconfdir=/etc again, I installed this system from my modified checkout (for the in-review Btrfs subvolumes stuff). <maxdevjs> Indeed... I will add to my cv, when I will have one :) <apteryx>reconfigured, restarted guix-daemon... still nope. <apteryx>the procedure `guix-activation' in (gnu services base) is supposed to take care of it. Lemme test this at the REPL... <nckx>What I don't expect is for guix-service-type to wipe your /etc/guix/acl, that would be evil, but it should apply the list you give it on top of that. <nckx>apteryx: You're sure there's no /gnu/store/*-acl file with the correct keys in it, at all? <nckx>This should then be referenced by the activation service. <nckx>apteryx: I can't spot any obvious bugs in (gnu services base), nor at the repl. I'm super-tired though, and need to go to bed. I hope you find a solution! 🙂 <raghavgururajan>> but when I installed guix I installed grub again on /dev/sda1 and now those are gone <raghavgururajan>You did not install grub on /dev/sda1 via guix. Neither via parabola. Remember, you partition table is MBR and not GPT. The number in sdaX is partition number. Only GPT require separate boot partition. In your case, parabola installed grub MBR gap of sda and guix over-wrote it. <nckx>raghavgururajan: You need to put everything on one line after ‘sn*** later tell ***’, or prefix every line with that if you want to send multiple messages. <nckx>sneek: later tell raghavgururajan like <nckx>sneek: later tell raghavgururajan this. <raghavgururajan>sneek later tell Blackbeard: So to boot parabola, do these. As soon as you see grub screen, press 'C' to enter command line. Do following commands. 1) ` set root='achi0,msdos2' ` 2) ` linux /boot/vmlinuz-linux-libre ` 3) ` initrd /boot/initramfs-linux-libre.img ` 4) ` boot `. <sneek>raghavgururajan, you have 2 messages. <sneek>raghavgururajan, nckx says: like <sneek>raghavgururajan, nckx says: this. <raghavgururajan>sneek later tell Blackbeard: Please refer to logs for my messages to you. <apteryx>nckx: thanks for the help :-) sleep tight. <sneek>Welcome back Blackbeard, you have 2 messages. <sneek>Blackbeard, raghavgururajan says: So to boot parabola, do these. As soon as you see grub screen, press 'C' to enter command line. Do following commands. 1) ` set root='achi0,msdos2' ` 2) ` linux /boot/vmlinuz-linux-libre ` 3) ` initrd /boot/initramfs-linux-libre.img ` 4) ` boot `. <sneek>Blackbeard, raghavgururajan says: Please refer to logs for my messages to you. <Blackbeard>raghavgururajan: hi :) I was able to fix it ٩(◕‿◕。)۶ <Blackbeard>I've been absent today because I haven't sleep in about 40 hours and I can't sleep yet <Blackbeard>But hopefully tomorrow I'll be able to send the patches I want to do :) <raghavgururajan>Blackbeard: If possible, take it after having de-caffinated green tea. <apteryx>I've found that guix gc -R /gnu/store/awgg5l1yik54mhbdmzdm7dbhbvp0sbj1-system | grep acl returns an acl which contains my correct signing key... perhaps the activation script simply isn't ran? <apteryx>I tried 'herd restart guix-service', but it doesn't help. <apteryx>perhaps a reboot is required to have the activation scripts run? <apteryx>activation-service-type says: "Run @dfn{activation} code at boot time and upon <apteryx>@command{guix system reconfigure} completion." <apteryx>so, it should run those scripts at the end of a system reconfigure... hmm. <apteryx>that script is run in (guix scripts system reconfigure) like: (primitive-load #$(operating-system-activation-script os)) <apteryx>it doesn't do squat unless there's no /etc/guix/acl... Which is never gonna happen as the first time you reconfigure it creates one. <apteryx>so from 2nd reconfigure and later, you're screwed if you thought that adding new authorized keys was supposed to be acted upon. eh. <lispmacs>when using statprof, how do you figure out what function an entry like "anon #x1db7d38" is referring to? <lispmacs>disassembler output gives different addresses <Guest75659>Noob question, trying to learn guile, but I'm having a hard time deciphering the manual. For instance I'm trying to sort a list, following the documentation (https://www.gnu.org/software/guile/manual/html_node/Sorting.html#Sorting or (help sort!) for example) any use of 'less' results in 'warning: possibly unbound variable `less'. Same for 'less?'. Am I reading the manual correctly? Also, how can I browse available <Guest75659>procedures/functions and their usage from within emacs? Preferably I'd like to open a helm buffer with all the loaded guile modules/procedures which links to the documentation - seems like that would be built in, but I'm having a hard time figuring it out. Thanks in advance! <raghavgururajan>sneek later tell Guest75659: You could get more help regarding your question in #guile channel. *raghavgururajan wonders where do these "Guest[...]" nicks come from. <raghavgururajan>Like from a particular network or something? Looks like auto-generated nicks. <b1>Noob question, I'm trying to learn guile and I'm having difficulty deciphering the manual. For instance I am trying to sort a list - according to both the manual and (help sort-list) the command takes two arguments a list and 'less' - however, when I use 'less' or 'less?' I get an unbound variable error if I dont use 'less' it says I'm missing an argument. My goal here isn't to sort a list, but to <b1>Alos if anyone can put me to a doc describing how to list loaded modules/procedures in an emacs helm buffer that would also be super helpful, I've not been able to find anything, although it seems like it should be relatively simple to achieve. Thanks! <raghavgururajan>b1: Regarding Guile, there are higher chances you get more help in #guile channel. :-) ***sneek_ is now known as sneek
<leoprikler>raghavgururajan: the "ah, you don't have an IRC client?" website IRC client ***CcxWrk_ is now known as CcxWrk
<user73884>hi, i just installed guix as an os and it looks very promising - a great concept - is there a way to reduce compile effort when doin the daily guix pull?? <guix-vits>user73884: by default an substitutes server is enabled for the "as an os" installation. The substitutes are precompiled. <user73884>sure , but it seems there are always some packages, which are build <user73884>ok maybe it is only after the initial installation - i will try it some weeks and ask again <guix-vits>try to install less in system config, and install everything heavy (like the Web-browsers) from a non-root user (to user profile). <guix-vits>user73884: idk, but seems that with a freshest pulls, some things can be unavailable as the substitutes in time. <user73884>great work, nice gnu-system :) ... just waiting for hurd now :) <lxsameer>hey folks, can I use guix to package a software with all of it's dependencies in a way that it can be executed in a system that does not have guix installed ? <guix-vits>lxsameer: yes, something about this was in the manual. <alextee[m]>is there a way to make a package incompatible with another? <alextee[m]>something like the "provides" or "conflicts" in arch <alextee[m]>use case: making a mypackage-git that should replace mypackage if installed <narispo>alextee[m]: does that make sense in GNU Guix? <narispo>Considering there can be an infinite amount of environments <alextee[m]>oh the schemas are not common, they're in the package's store <narispo>alextee[m]: what package was it about? XD <alextee[m]>a program im developing, zrythm. i made a zrythm-git to test new changes to the gsettings schema <alextee[m]>there's probably a way to do it locally but i don't know how so i just made a new package lol <narispo>okay! dont really know how gsettings works internally <alextee[m]>well, there can be conflicts if both packages have the same /bin/program <guix-vits>alextee[m]: /bin/program /bin/program-next ? <guix-vits>alextee[m]: like with `awk` wich is `gawk`, but simlinked (update-alternatives)..? <alextee[m]>is there an example? i can't figure it out looking at the gawk package <alextee[m]>guix-vits: just renaming with rename-file works fine! <nckx>alextee[m]: Guix doesn't enforce unique filenames. If things conflict, let them. That's what environments are for. <guix-vits>so no need to manage a "default-version symlink", then. cool. <nckx>guix-vits: What's the use case for update-alternatives? I've never used it. Why not just remove the awk version you don't want? Speed? <guix-vits>nckx: idk. i'm think that it's allow to have an virtual package as a dependency in package management system instead of something exact. Like "web-browser". <guix-vits>Maybe i'm wrong, but it is also sets an default symlinks for use by the programs: "I'm want an gawk implementation and will not maintain a list to check throught it!" -- So distro maintainers update the list of "alternatives" that can take over the "default symlink". Like "awk". <leoprikler>nckx: The usage of update-alternatives is quite overloaded. Sometimes it resolves version conflicts (e.g. Java 7 vs. 8, Python 2 vs. 3), sometimes different implementations of the "same" thing (e.g. GNU Emacs vs. XEmacs), and sometimes it might even do both. <dftxbs3e>how can I run a build for all packages in GNU Guix? <guix-vits>dftxbs3e: like the `emerge @world` in Gentoo? <dftxbs3e>guix-vits, probably? I do not have a lot of experience with Gentoo <dftxbs3e>I want to build all packages that exist to test if they work on powerpc64-linux <dftxbs3e>guix-vits, there's no substitutes for powerpc64-linux <dftxbs3e>it's not about that, it's about actually asking GNU Guix to build ALL packages <dftxbs3e>you can request one package and their dependencies, but I want to request all packages <dftxbs3e>heh, I've been looking there already, too. Couldnt find anything <dftxbs3e>I've been looking at how Cuirass does it, but it's unclear. Doesnt seem like the official GNU Guix's ci.guix.gnu.org configuration is published anywhere <guix-vits>"Similarly, the following command builds all the available packages: <guix-vits> `guix package -A | cut -f1,2 --output-delimiter=@` " <efraim>add in '--no-grafts --fallback' too <efraim>actually that might overrun the max command line length, but we'll see <efraim>I'd start with the ones that already have special cases for mips64el or aarch64 <efraim>or target specific packages like 'guix' itself <guix-vits>dftxbs3e, efraim: possibly change -A to something that lists only installed ones? <dftxbs3e>currently running `guix environment guix --ad-hoc git emacs` <efraim>in the past I've used 'guix package -A | cut -f1,2 --output-delimiter=@ | xargs ./pre-inst-env guix build --no-grafts --fallback --keep-going' <efraim>and make sure to launch the daemon with the remember failures option, otherwise you'll keep building the same failed packages <efraim>I would then stop it now and then so I could restart it and let it print the known failures so I could tackle those <apteryx>leoprikler: strace emacs 27 when trying to 'generate-autoload-file': openat(AT_FDCWD, "/gnu/store/zpmsyn471y4hpgsbz652h4szyskzc2bm-profile/share/emacs/site-lisp/autoload.elc", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <apteryx>so, it tries finding it but doesn't, for some reason. <apteryx>no actually, it found it here: openat(AT_FDCWD, "/gnu/store/zpmsyn471y4hpgsbz652h4szyskzc2bm-profile/share/emacs/27.0.50/lisp/emacs-lisp/autoload.elc", O_RDONLY|O_CLOEXEC) = 5 <apteryx>fstat(5, {st_mode=S_IFREG|0444, st_size=29029, ...}) = 0 <kirisime>Hello guix, is it possible to set up a guix channel that's behind ssh authentification? <apteryx>by the way, Guix System can be used quite easily as a Jenkins slave machine :-) <apteryx>kirisime: I don't think so. There was a discussion about it in the past, and I think ended in the change not being wanted for inclusion in Guix. Perhaps it can be found as a Guix channel, but I don't know! <kirisime>apteryx: Thanks, I guess my only option is to then have a second publicly accessible channel for stuff I can distribute. <dftxbs3e>is that logical? gentoo-ppc64 /tmp/guix-build-gobject-introspection-1.60.2.drv-1/build # file tmp-introspectaa5qdy4v/GLib-2.0 <dftxbs3e>tmp-introspectaa5qdy4v/GLib-2.0: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, interpreter /gnu/store/8gxcx59aw8kg2n4mmg1zny5wcy5rh842-glibc-2.29/lib/ld64.so.1, for GNU/Linux 2.6.32, not stripped <dftxbs3e>gentoo-ppc64 /tmp/guix-build-gobject-introspection-1.60.2.drv-1/build # ldd tmp-introspectaa5qdy4v/GLib-2.0 <dftxbs3e>file says it's dynamic, ldd says it's not <bavier1>dftxbs3e: what does 'readelf -d ...' say <bavier1>dftxbs3e: so it's an shared library, not an executable <dftxbs3e>okay sure, a build seems to expect ldd to work here, and return 0, at least <nly>has anybody looked at how much source code all guix packages amount to? <bavier1>nly: `guix environment --ad-hoc cloc -- cloc /path/to/guix` <nly>ah, i mean't the source inside the packages, the emacs source rather than guix pkg for emacs <nly>i guess it's this: guix build $(guix package -A | cut -f1) -n --source <bavier1>nly: the last time I did something like that I remember it being a few GiBs <nly>yes, that sounds right, i get an estimate around 50GB <nly>I wonder if i can store the actual source repos with versions within 4TB <nly>i guess guix will have to be patched to use local sources also <bavier1>nly: you could possibly patch the mirrors list <bavier1>but the sources would also be cached in the store <nly>thanks bavier1, it sounds like a fun project :) <jackhill>but support for sources or substitutes requireing authentication is not <apteryx>jackhill: I see! thanks for the heads up. <bavier1>Blackbeard: alright, mostly; will be better once I figure out why GDM keeps failing to start after a reconfigure ;) <Blackbeard>Is it possible to go back one generation with reconfigue too? <pkill9>where should i start with diagnosing poulseaudio issues? <guix-vits>Blackbeard: if i got the manual, `guix system reconfigure CONFIG` creates a new generation. Rollback to generation-X and do anything that creates a new generation -- and everything newer than X will be forgotten and replaced by this new-gen. <janneke>hmm: guix build: error: cannot kill processes for uid `999': failed with exit code 1 ? <nun>Also, what would be the standard location for defining custom services? The system configuration? <palpares>what action do you trigger within org-mode when someone asks: what are your availability in the next 4 weeks ? <nun>calling thinkfan without the modprobe calls throws an error that the option isn't enabled. <cbaines>nun, Ok, looks like modprobe can be found here on a Guix system: /run/current-system/profile/bin/modprobe <cbaines>maybe something like (system* "/run/current-system/profile/bin/modprobe" "thinkpad_acpi" "fan_control=1") would work if you add it to the start gexp for the shepherd service. <lfam>Hey efraim, I'm wondering why you changed the rust-yaml-rust-0.4 to not skip the build? <lfam>I don't have an opinion about it, I'm just trying to learn about how Rust packaging should be done ***bavier1 is now known as bavier`
<bandali>apteryx, hey, sorry, it's been a hectic week; i'm catching up with the backlog rn <sirgazil>Bah, I can't open files in Thunar (XFCE) either. I'm running out of desktop/WM options... <sirgazil>Blackbeard: I used it on Debian before, and it was not good for multilingual work. say works better (although I prefer the lisp configuration on stumpWM) <bandali>apteryx, so you said you have a patch somewhere; have you been able to find it? :-) <sirgazil>But there is something common between sway+nutilus and XFCE+Thunar: MP3 open correctly with the default music player, but other files fail to open, even though there are default apps available for them. <bandali>also, i'm not sure about that pdmp-related error off top of my head; i wonder if leoprikler may know more <sirgazil>Blackbeard: For example displaying non-roman characters in the mode-line. I could never fix that. <sirgazil>Blackbeard: I'm a desktop user anyways, I don't like to spend a lot of times configuring window managers. I tried sway because I needed something else while the GNOME leak is fixed. <sirgazil>Anyone using MATE? I don't want to install it just to find out that it has the same problem... <sirgazil>Poné un tilde en la Mode Line a ver que pasa :) <sirgazil>Yeah, stumpWM is very nice, though, just not enough for me.