IRC channel logs

2018-07-31.log

back to list of logs

<mattl>Hey hey
<amz31>what's the recommended paste application?
<amz31>what can use to paste?
<amz31>,_o<
<amz31>any it's short
<amz31>amirouche@ubujul18:~/src/guile/guix/cuirass$ guix package -f build-aux/guix.scm
<amz31>guix package: error: failed to load 'build-aux/guix.scm':
<amz31>build-aux/guix.scm:42:2: In procedure scm_to_utf8_stringn: Wrong type argument in position 1 (expecting string): #f
<amz31>I just installed from manual using binary installation
<amz31>I may have missed a step in the binary install
<amz31>trying to do it from memory
<snape>amz31: we use paste.debian.net, usually
<snape>hmm someone had that error already
<snape>it's current-source-directory that returns #f
<snape>amz31: https://gnunet.org/bot/log/guix/2018-07-16#T1768708
<snape>(workaround: install the dependencies by hand)
<amz31>sneek: later tell pkill9 what would be the name of the project you mentioned to share guix configuration?
<sneek>Okay.
<amz31>sneek: later tell pkill9 what would be the name of the project you mentioned to share guix configuration for different laptops / architecture?
<sneek>Got it.
<amz31>sneek: tx for the summary
<amz31>that was my previous setup. I re-installed ubuntu to cypher my hard disk
<amz31>snape: tx for the summary
<snape>np
<snape>sneek: snape is not sneek
<sneek>Understood.
<snape>sneek: what is snape?
<sneek>Last time I checked snape is not sneek
<snape>sneek: recursion is sneek: what is recursion?
<sneek>I could be wrong, but recursion is The first step in learning recursion is to learn recursion.
<snape>sneek: bug is sneek: what is bug?
<OriansJ>sneek: is snape trying to recurse to hard?
<snape>I wanted sneek to enter into an infinite loop
<snape>but I obviously failed
<snape>sneek is too smart
<amz31>peace out
<vagrantc>g_bor[m]: thanks for the follow-up regarding arm-trusted-firmware-rk3399
<sneek>vagrantc, you have 1 message.
<sneek>vagrantc, g_bor says: It seems that you are missing a closing parenthesis after ((#:phases phases , but it was balanced at the end, causing no immediate syntax error, but leaving the syntax form open. I've sent you a mail with the correct patch. (Please notice that I did not build it, did not check the copyright lines, and did not made the modification to the ovmf package).
<iqubic>Does GuixSD support ZFS partitioned File Systems?
<atw>iqubic: At the moment only ext4 and btrfs are supported according to https://www.gnu.org/software/guix/manual/en/html_node/Preparing-for-Installation.html#DOCF19. I'm not sure if the distro can remain free and distribute ZFS based on https://www.fsf.org/licensing/zfs-and-linux
<brendyn>I think the source code can be distributed
<atw>interesting, perhaps Guix could remain free by distributing ZFS code but not substitutes?
<brendyn>Then everything that requires ZFS couldn't be built either
<iqubic>So if I want to turn my NixOS with ZFS installation into a GuixSD installation I'll have to re-partition my system?
<brendyn>Or add ZFS support
<iqubic>how hard would that be?
<iqubic>Actually, I have a different idea.
<iqubic>How hard would it be to copy my entire /home partition. and put it onto the new installation of GuixSD?
<iqubic>Also, does GuixSD support dual booting, with Windows 10? How about reading from ntfs formatted partitions?
<brendyn>You'd need to package ZFS and then add some stuff to gnu/build/file-systems.scm
<iqubic>brendyn: I don't really want to do that. I have a few other ideas of what I can do
<brendyn>people have figured out ways to dual boot
<vagrantc>there's a way to add a custom grub entry, if that can be used to boot windows...
<iqubic>but GRUB isn't the default boot loader is it?
<iqubic>So how hard is it to get a GRUB dual boot system?
<iqubic>How does on pronounce "guix"?
<brendyn>Officially its like geeks but I don't like the sound of it so I say it like gwiks
<g_bor[m]>Hello guix!
<g_bor[m]>I would like to do the following: start up a vm with a postgresql database with certain languages and extensions. How can I do that in GuixSD?
<rekado_>g_bor: Hi!
<rekado_>g_bor: I don’t know about the extensions, but you can write an operating system configuration that contains a postgresql service and then build a VM with “guix system vm”
<g_bor[m]>rekado_: Actually the extensions are the interesting part. I would like to later add more extensive configuration support for postgresql, as I use it a lot. It might be an independent overlay.
<g_bor[m]>I would like to have the power of functional configuration there, but one has to be careful with these stateful things :)
<rekado_>g_bor: does the service support extensions?
<amz32>hello #guix
<g_bor[m]>rekado_: didn't yet look into detail, this problem just came up.
<g_bor[m]>rekado_: actually postgresql uses extensions on a database granularity, so somehow a database and the languages and extensions on that database should be configured.
<g_bor[m]>And the should be some safeguard, so that it does not break a database that already has data...
<snape>hi guix!
<g_bor[m]>snape: hi!
<amz32>hi!
<snape>rekado_: what does 'uptime' return on Berlin?
<rekado_>snape: it’s been up for almost 5 days. That’s when I shut it down to install the HBA cards.
<snape>heh makes sense
<snape>that's when the database was wiped
<snape> https://bugs.gnu.org/32330
<g_bor[m]>snape: there seems to be something strange in eval 73. Then numbers don't add up.
<snape>g_bor[m]: yes, I've seen that
<snape>maybe those builds have been marked as 'stale' because they were invalid, or something
<efraim>looks like all of gstreamer died on staging
<snape>g_bor[m]: actually, I can't find any reason why 73 has only 5000 builds
<g_bor[m]>snape: Also, I've seen schedule, successful and failed builds. Do we have any information what is currently being built?
<snape>g_bor[m]: the grey button means 'scheduled/started'
<snape>I don't think there is a way to know which ones are scheduled and which ones are started
<snape>I need to have a look at the database to understand
<snape>but I don't have it
<rekado_>snape: I’ve sent you a URL yesterday through which you can download the database.
<snape>I haven't received any URL
<snape>rekado_:
<rekado_>snape: I’ve just sent you the URL as a direct message.
<snape>I don't receive your direct message
<snape>*messages
<snape>rekado_: can you see mine?
<rekado_>yes, I see yours.
<rekado_>ACTION shrugs
<roptat>hi guix!
<snape>rekado_: yeah email works :-)
<snape>it's weird though. Can you send direct messages to other people?
<roptat>so on cuirass, what do the colors mean? (green, red and gray)
<roptat>it's probably easy to add a legend at the bottom of the page, or a title on the links for each number
<snape>roptat: green: succeeded; red: failed or canceled; grey: scheduled or started
<rekado_>snape: yes, I can send messages to other people just fine. Don’t know what’s going on here.
<rekado_>roptat: the numbers should eventually link to lists of builds.
<roptat>that's the gsoc project?
<roptat>I haven't followed that very closely
<rekado_>yes.
<roptat>is there a description of the goals somewhere, and what has already been achieved?
<snape>rekado_: can you send an *up to date* copy of the database please? I need to see evaluation 73
<snape>:-)
<rekado_>okay, in a few minutes
<rekado_>snape: same location.
<snape>rekado_: got it, thank you!
<snape>Gosh, finding Cuirass bugs is a full time job
<snape>g_bor[m]: what might have happen, is that Cuirass was stopped during (map register jobs), line 572 in cuirass/base.scm
<snape>*happened
<snape>select count() from Builds where evaluation=73 -> 5980
<snape>select count() from Derivations where evaluation=73; -> 16059
<thomassgn>Hey! Trying to make a cronjob work, but I'm getting some error from guix system build config.scm. The new part is line 71 here: https://notabug.org/thomassgn/guixsd-configuration/src/master/config.scm#L71
<thomassgn>I can create a minimal example also. But the error I get is: ERROR: In procedure primitive-load:
<thomassgn>In procedure scm_lreadr: /gnu/store/ad0y0fi2gdn0vgrrs63zn17yvcnf64vb-mcron-job-builder:1:118: Unknown # object: #\\<
<thomassgn>and then a backtrace and so on.
<rekado_>battery-check-job is a procedure. Why?
<thomassgn>Here is the code impoertd as module, but it has been tested on it's own and seems to be working well. https://notabug.org/thomassgn/guixsd-configuration/src/master/modules/i3-battery-warning.scm
<thomassgn>um, I've been copying from the other cron jobs, I don't understand gexps... :-P
<roptat>thomassgn: it's hard to tell, but I think you didn't close (define (battery-check-job) ...
<rekado_>thomassgn: well, the procedure needs to be executed to return a gexp.
<rekado_>thomassgn: you simply added battery-check-job to the list of jobs, but it’s a procedure, not a gexp.
<roptat>(there's only 2 closing parens)
<thomassgn>allright, So changed it to a variable and get: config.scm:71:0: error: source expression failed to match any pattern
<thomassgn>ah, ok.
<rekado_>thomassgn: you have two expressions there: the use-modules thing (which has no effect) and the gexp.
<thomassgn>haha, I tried moving the use-module to inside the gexp, But would it be better to use-module at the top with the rest of my config you think?
<thomassgn>ok, it built now.
<thomassgn>also pushed the change to the repo I linked first.
<thomassgn>Curious if it will work as intended. :P
<rekado_>why is the job to be executed just a string?
<thomassgn>that's how the mcron infopages says...
<thomassgn>I thought it was strange to.
<thomassgn>Here is an excerpt from mcron 3.2.3: (job '(next-hour '(1 2)) "my-program")
<rekado_>a programme, but you want to call a procedure, no?
<thomassgn>yes.
<thomassgn>I guess it should be a procedure call, but would I need to quote it?
<thomassgn>like '(i3-...)
<rekado_>thomassgn: the manual only seems to be talking about applications, not about running plain Guile expressions.
<rekado_>thomassgn: you can, however, provide a thunk instead of a string.
<rekado_>here’s an example from the manual: (job '(next-day) (lambda () (system "my-program") (kill (getppid) SIGINT)))
<thomassgn>ah. So I'd just make the script into a ... script and run it like a binary or something? Maybe I should ask the mcron people. Wait, A thunk? so I would do something like (job '(next-day) (lambda () (i3-battery-warning:check&react)) ??
<rekado_>yes, though you might have to add the use-modules thing there.
<thomassgn>Cool. different question, I can use the shepherd schedule mcron to get a list of jobs, but currently it just say "Lambda expression" Can I name lambda's? It be a define then?
<snape>thomassgn: (define foo (lambda () "hello world")) is the same as (define (foo) "hello world")
<thomassgn>thanks.
<efraim>Final build of qtwebkit, without tests: 7.5 hours on aarch64
<efraim>And I think it managed to kill network-manager for its memory
<thomassgn>Hah, tried sudo herd stop mcron, and my system restarted... and now mcron is indeed stopped.
<thomassgn>weird, my config has: (mcron-service %ton-cronjobs), but guix system reconfigure config.scm gives me first "guix system: unloading service 'mcron'..." then "shepherd: Removing service 'mcron'..." and finally "herd schedule mcron" gives (of course) "Service mcron is not running."...
<thomassgn>thought it should be started by a reconfigure. Not removed. ?
<thomassgn>I see the reconfigure also says: "shepherd: Service mcron has been started."
<snape>"of course"? herd schedule mcron should work even when mcron isn't running
<snape>thomassgn
<snape>hmmmmmmm actually, that's on Shepherd master only
<snape>Guix's shepherd is late
<snape> https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=5ab8cbc9bcfce586a5389ad95a65f011d02bd289
<grothoff>I just installed GuixSD 0.15 on a new rackmounted AMD server that should host gnunet.org in the future. Installation was unproblematic, except I've yet been unable to find how to add the IP network configuration to config.scm instead of manually doing 'ip addr' commands (note that I am not using DHCP but static configs, DHCP instructions were found)
<roptat>grothoff: have you seen static-networking-service-type?
<pkill9>grothoff: what roptat said, see https://www.gnu.org/software/guix/manual/en/guix.html#Networking-Services
<sneek>Welcome back pkill9, you have 2 messages.
<sneek>pkill9, amz31 says: what would be the name of the project you mentioned to share guix configuration?
<sneek>pkill9, amz31 says: what would be the name of the project you mentioned to share guix configuration for different laptops / architecture?
<pkill9>amz31: dunno :P
<roptat>I'm stuck, jflex requires itself and java-cup to build, and java-cup require jflex to build...
<amz32>pkill9: do you remember the conversation? it's about a webapp to share guix system config.scm I think
<roptat>I'm literraly on the first commit of jflex, and it already requires itself T.T
<roptat>how is it possible?
<amz32>pkill9: if you can elaborate on the needs I can develop it
<roptat>actually, there's already so much code, it may not be the actual first commit
<pkill9>yeah i remember it a little
<amz32>pkill9: please do the product owner for me :)
<pkill9>what do you mean?
<pkill9>do the product owner?
<amz32>pkill9: product owner is the one that does specify the features of a project
<pkill9>ah
<roptat>ah maybe I'm saved: I may be able to build jflex using jlex
<pkill9>well, i think it would be simpler just to start out with something basic that doesn't require anything built, and see what is needed afterwards, so for example, just literally have a directory hierarchy of laptop manufacturers, then the laptop model, then an example config
<pkill9>and just serve that directory on the web
<pkill9>then refine it down from there
<pkill9>what i was thinking was basically providing exmaple configs with kernel arguments, xorg configs, etc for each laptop model
<pkill9>so for exmaple just incorporating all the little configurations from this page into a guix system config, and providing that: wiki.archlinux.org/index.php/Lenovo_ThinkPad_X240
<pkill9>same with this page https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X220
<pkill9>question is whether or not to provide non-free configs, i would say provide a choice
<grothoff>roptat: thanks!
<cryptocat1094>Oh~ Gnunet & Guix
<grothoff>How do I specify multiple Ipv4 addresses in the static-networking configuration?
<snape>grothoff: for several interfaces?
<snape>you can use several static-networking-service-type
<pkill9>amz32: ok i decided to start it, here is a pre-alpha version of it: http://pkill9.freeshell.org/
<grothoff>snape: on the same interface
<ecbrown>i think i've found some new evidence in why sshd is not starting at boot time. it does start when i have %base-services in my (services ...) but when i replace %base-services with %desktop-services, sshd does not start
<ecbrown>i have (services (service openssh-service-type ...) %desktop-services)
<ecbrown>i tried to do (services ... %base-services %desktop-services) but that bombs out with some ugly error
<grothoff>snape: https://cryptpad.fr/code/#/2/code/edit/HeJ-ZmS5heJynuylXuTu1bVk/ shows the network configuration I need to create statically... Docs seem to be a bit brief on this ;-)
<amz32>pkill9: it doesn't look as interesting as I thought. sorry. i think it's a very difficult problem aka. mapping hardware spec to software spec
<amz32>well it is interesting, but it might not have a solution
<rekado_>ecbrown: %base-services and %desktop-services are both lists.
<amz32>pkill9: if one could scan lsusb and lspci or whatever is relevant and give some hints on how to setup config.scm it would be nice
<rekado_>ecbrown: the “services” field expects a single list.
<rekado_>ecbrown: so you would need something like (services (cons (service openssh-service-type …) %desktop-services))
<rekado_>ecbrown: this means “cons” the single service onto the list of services in %desktop-services, yielding a new list.
<ecbrown>rekado_: based on the desktop.scm, i have (cons* ... %base-services %desktop-services)
<rekado_>ecbrown: this will not work.
<rekado_>ecbrown: it’s also not useful, because %desktop-services includes %base-services.
<rekado_>cons* takes any number of single items followed by a list.
<rekado_>you are giving it two lists.
<ecbrown>ok, just to address your first point, (cons (cons ... %base-services) %desktop-services)
<ecbrown>is that legal?
<rekado_>no
<rekado_>cons takes an item and a list, not two lists.
<ecbrown>i see
<rekado_>if you wanted to append two lists to create a single list you need to use “append”.
<pkill9>amz32: that would be neat, I think it's doable
<rekado_>but doing this with %base-services and %desktop-services is pointless, because the latter includes the former.
<pkill9>just collect all the hardware info from lspci/lsusb etc, and consult a database
<rekado_>(append (list 1 2 3) (list 4 5 6)) => (list 1 2 3 4 5 6)
<ecbrown>well i admit to pointless thrashing, not understanding why ssh would not start
<pkill9>amz32: to be honest, all these config fixes are mostly kinda hacks, ideally everything would work out of the box, which a lot of hardware now does
<pkill9>but then some small things haven't been fixed in whatever, e.g. having to set a kernel flag to get brightness keys working, or in my case in guix having to set a xorg configuration (set input driver to libinput) to get trackpoint scrolling to work
<brendyn>What is the % used to denote?
<ecbrown>rekado_: ok, i am trying (delete-duplicates! (append %base-services %desktop-services)) though i expect this is futile
<pkill9>i think i will make a collection of example configs for laptops that anyone can contribute to though
<pkill9>mostly just implementing archlinux/gentoo articles into guix configs
<ecbrown>and what do you know, that works
<ecbrown>i.e. syntactically, and i can now ssh into the gui box
<alezost>brendyn: I think % denotes global variables
***Apteryx is now known as apteryx
<ecbrown>rekado_: i really don't understand what is going on, as i see %base-services should be in %desktop-services, ccf. desktop.scm
<thomassgn>For some reason I can't start mcron on my system anymore... https://paste.pound-python.org/show/Bj9XWdNPXZZnWHtPLe2z/ I checked the logs and it seems to have problems with respawning to fast. I guess there is something wrong with the config I was trying out earlier, but I have no way of getting error messages. The closest I get is to see /gnu/store/...-shepherd-mcron.scm any ideas for troubleshooting this? (I
<thomassgn>see now I can start mcron, but without jobs, even the ones that were there before I started)
<thomassgn>and stopping mcron reboots my computer still. is that supposed to happen? 'sudo herd stop mcron' = instant shutdown... I might just leave this for now, I don't understand what's going on here.
<iqubic>How can I test if my hardware is GuixSD compatible?
<kballou>if importing/packaging python libraries from pypi, should test dependencies be included? as what kind of input? what's the protocol for this? is there a document for this as well?
<ecbrown>iqubic: install it and see if it works?
<iqubic>but if it doesn't wor, then I have hosed my system.
<ecbrown>i just bought a refurbished 250G disk for $10
<ecbrown>if you don't want to take the risk, then guix is also nice
<ecbrown>lemme guess, a laptop with broadcom wifi card?
<amz31>iqubic: not really
<amz31>iqubic: you can make backups of your home
<amz31>iqubic: you can make backups of your home directory
<amz31>kballou: well, when I used guixsd I rely on pipenv hence avoid guix to install python package without system dependencies
<thomassgn>iqubic: You could try booting a live usb disk of guixsd. That would tell you a lot. If you're not comfortable with commanldine only then you could also run a trisquel or other linux-libre distro...
<amz31>kballou: I don't know about test dependencies sorry
<amz31>iqubic: i've been doing mostly guile last few years in my free time but picked up pipenv
<ecbrown>not sure if a live usb is available for download, but i would suppose installing to a usb is an option
<thomassgn>kballou: when I've been packaging haskell (ghc) stuff I have the testing req's as plain inputs
<kballou>amz31: I believe pipenv would probably only install things in the `requirements.txt` or dependencies "install dependencies"... test dependencies and dev dependencies don't typically get shipped with pip(env) installs.
<thomassgn>ecbrown: the install disk is a live usb. It's not nice for anything but installing though
<thomassgn>:-P
<ecbrown>:-D
<kballou>thomassgn: regular `(inputs ...)? not `propogated-inputs` like the import script likes to make everything ?
<rekado_>thomassgn: re mcron shutting down your system: could you please report this to bug-guix@gnu.org with as much information as you have?
<thomassgn>kballou: I'm not an expert. So propagated might be better. I'd check the sources or docs to see what the difference is.
<thomassgn>rekado_: will do.
<kballou>IIRC, difference in target architecture, but I could be wrong
<iqubic>does GuixSD have support for EXWM? Emacs X Window Manager.
<snape>iqubic: yes
<snape>the package is 'emacs-exwm', and you just need to add 'exec exwm' at the end of your .xsession when it's installed.
<amz31>kballou: the problem of pipenv is not dev dependencies, they are specified in pipenv Pipfile, and available via pipenv install --dev once in the shell, pipenv is not a packing tool, it just fetch and install dependencies locally
<amz31>you can distribute a Library with pipenv but it's off topic
<amz31>you can NOT distribute a Library with pipenv but it's off topic
<kballou>amz31: oh, sure. I misunderstood.
<rekado_>kballou: the difference between “propagated-inputs” and “inputs” is that the former are installed into the profile, alongside the target package. Regular inputs don’t end up in the union directory that makes up the profile.
<kballou>rekado_: so, for test dependencies, we probably want those to be "inputs" as they are not likely needed _after_ the installation of the package?
<snape>kballou: inputs are needed _after_ the installation of the package, by the package, but they are not directly accessible to the user (i.e. in PATH)
<kballou>okay, I think I'm getting it now
<amz31>that's what pipsi does
<rekado_>not all inputs may be required after the installation.
<amz31>fwiw sorry
<rekado_>for some inputs no references are retained, so they can automatically be removed.
<kballou>Interesting
<rekado_>the difference between “native-inputs” and “inputs” is about cross-building. A package in “native-inputs” needs to be executable on the host architecture, whereas packages in “inputs” must be executable on the target architecture.
<kballou>I think it's starting to click now, thanks
<snape>kballou: so test dependencies should be native-inputs
<snape>usually
<ng0>does linux-libre strip out the module for shpchp? I'm helping someone with onboarding in GuixSD.
<ng0>because this should work: (initrd-modules (cons "shpchp" %base-initrd-modules))
<efraim>wasn't able to test calibre with the new qtwebkit, optipng looks like it's confused between armv7 and armv8
<ng0>I need to ask because I rarely use linux-libre with GuixSD.. only now I have to touch it again, for support.
<rekado_>ng0: you can look at the deblob scripts here: http://linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-4.N/
<ng0>ok, thanks
<efraim>grothoff: does this help? https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/berlin.scm#n124
<ng0>okay maybe we should stick to one communication channel, and I'll help here too? :D
<ng0>I'll reply to the latest email, and the I'll see if it just works out on irc
<snape>iqubic: re ZFS: it's not about Guix being free or not if it includes ZFS, it's about including ZFS not being legal
<iqubic>why wouldn't ZFS be considered legal?
<snape>GPL requires the augmented version of a program to be under the same license, ZFS would augment Linux, thus it should have the same license, but it can't because its license is not compatible with GPLv2
<iqubic>I see.
<iqubic>So there's no way to get ZFS on GuixSD?
<snape>privately, you can do whatever you want, including having your custom zfs package
<snape>GPL covers distribution, not what you do privately
<iqubic>but I don't know how to write that. I'm not skilled enough to do that.
<ng0>it is tricky. privately speaking. privately speaking I did not succeed so far due to the way the kernel is build at the moment (sources "thrown away"). take a look at how the kernel is build in NixOS if you want a hint.
<ecbrown>guixsd does support btrfs, so maybe there is some feature parity with zfs.
<ng0>I hope this was okay.
<grothoff>efraim: that one still seems to only configure one IPv4/network interface.
<grothoff>We need 2x IPv4, and 4x IPv6 (2x global, 2x link-local)
<thomassgn>rekado_: filed a bug for the mcron stop thing. Here: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32336
<thomassgn>wasn't sure what to include of information.
<emacsomancer>there other fs to watch is bcachefs; it looks it will be similar to zfs ( iqubic: I sympathise as a heavy zfs user)
<snape>iqubic: I forgot to say: it would augment Linux because it would imply loading into Linux a kernel module containing ZFS code.
<snape>of course not everybody agrees on it, and it causes controversy
<snape>but FSF view is: it's not legal
<emacsomancer>how easy is it to use `guix import` for nix packages? or is it easier just to use nix directly?
<ng0>nix directly is semi-broken with a hackish way to run it
<ng0>field notes: I'd suggest converting to guix recipes where possible
<ng0>you have a 50/50 chance depending on the package and its use of NixOS-specific nixcode
<emacsomancer>so complicated packages are probably unlikely to work via `guix import` ?
<ng0>no, I meant the direct use of nix on GuixSD
<emacsomancer>ah, so it's better to use `guix import` then?
<ng0>if it works.. I never used this with nixpkgs
<emacsomancer>ok
<ng0>I'll check
<ng0>we need more anchors in the info manual.
<emacsomancer>so on guixsd, nix itself is not working properly?
<ng0>it depends on the package.
<ng0>also, no
<ng0>because you need to find out yourself how to run it properly. idk if a proper service would be accepted.. so far I kept my hack for myself.
<ng0>I'm experimenting with a couple of package managers on GuixSD, and that's not material I see us welcoming in Guix master.
<ng0>the non-free elements in Nix need a trick to activate, so it could be okay.. but they have different guidelines wrt licenses and so on
<pkill9>does the guix-packaged nix use the subsitutes available on the nix build servers?
<ng0>(please remind me if I'm overstepping some line here.. so far it's okay I think)
<ng0>yes
<ng0>emacsomancer: import does hang..
<ng0>so maybe it just takes a long time
<pkill9>oh nice, i assumed it doesn't because it shares the guix store (i think, i'm probably wrong there)
<ng0>yes you are
<pkill9>so it uses /nix as well?
<ng0>but you need some hacks on system and user side before it uses /nix
<pkill9>ah
<ng0>it does use it, but it will remind you in not so obvious ways
<ng0>so it's more or less the "civilization starterkit" version of Nix. it gives you nix, and that's it.
<ng0>or as I could say in German: Nix on Guix gibt dir nix.
<ng0>always love the confusion when I speak to German people in my region about Nix :D
<emacsomancer>ng0: I suppose I'm trying to find out how I might get more complicated software on guixsd that's not available right now (or sometimes probably ever) in the guix repos. so nix doesn't necessarily sound like a good solution. what about other things like flatpak?
<ng0>well you can have custom packages once you understand how to create and use them.
<emacsomancer>sure. but i wouldn't know how to do that yet.
<ng0>my system is like 40% guix and 60% custom builds. I think no ones done flatpak. my idea so far is that I want to create default base system layout chroots for "normal" package managers to see how that works out
<emacsomancer>ng0: wouldn't it be easier to use bedrock linux at that point though?
<ng0>no, I have different goals
<emacsomancer>in what way?
<ng0>and package managers are not at the center of it
<ng0>anyway, the thing is we'll probably never officially support other package managers in Guix itself, at least that is the understanding I have from our guidelines and the amount of hoops you need to jump through
<emacsomancer>I see nix in the guix repos though, which is why I thought that might be a solution
<ng0>you can use Guix on top of another Distro and then use that package manager.. it's probably easier
<ng0>does anyone else know why we have it? for hydra?
<bavier>might be
<ng0>yep
<amz31>emacsomancer: that's what I do, I use guix on top another distro
<bavier>though, it was packaged much before hydra was
<emacsomancer>right. I had wanted to use shepherd though....
<ng0>consistency would be to drop it or declare what our view on integration is. because guix import nix seems not to work (anymore).
<rekado_>if there’s a bug report it would probably be fixed.
<ng0>I'll continue waiting, there is something going on.. I'm just building many other things at the same time
<mbakke>Oh no, it seems the dmeventd addition to LVM broke cryptsetup.
<ng0>emacsomancer: at the very least "guix import nix ~/re-src/nixpkgs curl" needs time to compute
<ng0>since we have Nix, and it doesn't "really" work without a system-service, do we want: a) a system-service? b) to point out what needs to be added / point to upstream documents? c) correct the description of our nix package? I have a couple of months of experience with it..
<ng0>I can go more into detail about the problems in an email if you want it?
<ng0>ok, bug's open
<amz31>ACTION running guix pull
<amz31>I to try to boot my project again
<amz31>whereis guile
<amz31>guile: /usr/lib/x86_64-linux-gnu/guile /usr/share/guile /gnu/store/4yyyakvsllrh9svfbh5l7d2xy0xw8l1g-profile/bin/guile
<amz31>but when I re the configure script of my project, it says there is no such thing as guile
<Formbi>maybe it doesn't know where to look
<amz31>what is the command to know which variables to add to the profile
<bavier>amz31: 'guix package --search-paths'
<amz31>when I do: guix package -i guile
<amz31>then: amirouche@ubujul18:~/src/guile/culturia.next$ ls /home/amirouche/.config/guix/current/bin/
<amz31>I only see guix and guix-daemon
<bavier>amz31: 'guix package' installs to ~/.guix-profile by default
<bavier>~/.config/guix/current is only used by 'guix pull'
<amz31>hmm ok