<piyo>is this correct? "guix import nix /nix/store/785q54in628mk5vsw62ccz98pkf8rkiz-nixpkgs-16.03pre76763.be0abb3/nixpkgs ledger" I get a backtrace and error: guix/import/snix.scm:239:5: Throw to key `match-error' with args `("match" "no matching pattern" #f)'
<piyo>I already checked the output of "nix-env -i ledger" and it seems to work.
<davexunit>it can only do a small amount of work for you
<davexunit>there's no possible way to translate the bash build script, for example.
<piyo>:-/ As a guix newbie who finds writing a guix definition file(?) daunting, I am disappointed. BTW when the nix importer works minimally, I expect an guix definition file to be outputed. Where would it be saved?
<rain1>I had an idea for GUI program to help create a guix package definition
<piyo>Is there an example or log of using guix import nix anywhere?
<davexunit>piyo: perhaps the Nix language has changed such that our importer can no longer parse it.
<rain1>or even just paste the dependencies part to me in PM
<piyo>If my goal is to add it so that guix package -i ledger can work for a general, what would I need to do... is this explained in the manual? (eg I don't know where to put this file on the file system) Yes I do need to read Contributing in the manual...
<rain1>oh nevermind! I thought you created a guix package def with some tool
<mark_weaver>lfam: according to that email, the problem is only present in the 4300/6300 Opterons. The Libreboot docs specifically warn against those CPUs because of other bugs in the microcode that prevent virtualization from working with Libreboot.
<rain1>I started trying to make package for ledger
<lfam>You'd need to contact codemacs to ask him to put a license on it if you wanted to copy it. I'm sure he'd agree to do. He's sent us patches before
<lfam>I noticed he also packaged utfcpp, which is where I gave up on packaging ledger :p
<piyo>I hope rain1 is already trying this build this... ;-)
<lfam>By "copy it" I mean "copy it and send it to us for inclusion in the distribution" of course
<piyo>Is there a "quick start" manual for inclusion starting from nothing? i.e. I found this great package and it has a nix/dpkg definition. Where do I place files, please read Contributing for the rest, etc?
<piyo>I think I'm just going to chew on codemac's repo for a bit.
<lfam>piyo: Rather than referring to Nix or dpkg package definitions, I would read the documentation of the upstream software. They usually explain how to build it from source.
<lfam>And you should also read the part in our manual about build systems, so that you have some idea of which of our build systems to use in the package.
<lfam>You should also read Contributing, Defining Packages, Package Reference, etc.
<piyo>(cd $GUIX_PACKAGE_PATH/ && git clone https://github.com/codemac/guix-pkgs ../contrib/codemac/guix-pkgs && ln -s ../contrib/codemac/guix-pkgs/src/codemac codemac && guix package -i ledger) ## doing this on my raspberry pi 2 as well
<CompanionCube>ACTION wonders if it would be useful to try out / use dmd/shepherd in a non-GuixSD system
<efraim>nothing special I need to do like copy it somewhere?
<efraim>I think the wayland tests shouldn't be run in parallel
<efraim>so wayland-1.10 builds non-deterministically, and with parallel-tests #f it builds reliably
<rekado>so, xfce4-session does not seem to call "pkexec xfsm-shutdown-helper --shutdown" when systemd is detected.
<rekado>xfsm-shutdown-helper is the tool that simply calls "halt" to shut down.
<rekado>strace tells me that xfce sends "PowerOff" to "org.freedesktop.login1" via dbus and gets "org.freedesktop.DBus.Error.InteractiveAuthorizationRequired" back, which causes the whole thing to fail.
<Jookia>I built an application and it failed, TMPDIR=/mnt/scratch/tmp so during the chroot it had /tmp on /mnt/scratch/tmp - so in the guix environment trying 'make' it was looking for files in /tmp/guix... but couldn't find them
<davexunit>you can use --share=/tmp=$TMPDIR or whatever
***Guest90378 is now known as JRHaigh
<davexunit>but 'guix environment --container' mounts the $PWD
<Jookia>Yeah, but you have to tell people to do that or they'll get errors
<NiAsterisk>eval `gpg-agent --daemon` in .bash_profile seems to be too much, i get "gpp-agent already running, not starting another one" or something similar, and I would like to pindown why it's not working for me, but I can't. used to work on a different system.
<rain1>do you put anything about gpg in /etc/config.scm ?
<rekado>phant0mas: what do you mean by "can not find"? Are you sure it's related to the RUNPATH?
<rain1>is there a guide for setting up gpg on guix
<phant0mas>rekado: validating RUNPATH of 1 binaries in "/gnu/store/yvcc83j70qnnic7lvinilbnlj41aq15r-mig-1.6/libexec"...
<phant0mas>/gnu/store/yvcc83j70qnnic7lvinilbnlj41aq15r-mig-1.6/libexec/migcom: error: depends on 'libfl.so.2', which cannot be found in RUNPATH ("/gnu/store/0ys1wr0dnw99nqd58f4qqml4fs6swac4-glibc-bootstrap-0/lib")
<rekado>NiAsterisk: do you get any error messages logged to the *Messages* buffer?
<NiAsterisk>rain1: no, there isn't and it's like on any other GNU system
<wingo>to determine whether a user is active, it uses libsystemd (which we patch to use libelogind)
<Piece_Maker>heey guys, im interested to try guixSD on my laptop, but have a quick question before i dive in - if i want to setup a LUKS-encrypted drive, do i have to do it in the config.scm or do i do the encryption stuff first and then install as normal? (and if so, how do i go about editing the grub config, is that done in the scm or do i do that manually)
<wingo>and libsystemd gets the cgroup for the process then tries to map that to a session
<wingo>perhaps there is another interface elogind could provide, but if cgroups are the right thing (as opposed to traversing the pid tree) then we could do that