<gabri-el>hey, i'm having the error when i do the guix system reconfigure: guix system: error: symlink: Permission denied: "/var/guix/profiles/system-3-link.new", does someone knows something about it?
<gabri-el>should i do guix system reconfigure with root privileges?
<rekahsoft>Hi all, I am looking for some clarity regarding how to describe mounting a network file-system (in this case cephfs). I can manually mount the cephfs fs, but the shepherd service does not work. More concerning, when I stop the file-system-/mnt/cephfs service it kills the entire system.
<nckxmas>I think it sounds like an improvement lfam. Thanks. CUPS was the first time I touched that code and it's… OK, but it's not generic, and I think each non-trivial addition will require its own dance around these hard-coded lists.
<lfam>Yeah. Hopefully we don't have to add too much more in this direction
<lfam>I just felt like NTP is essential, and then GPM is a fine "why not"
<lfam>GPM will help people communicate about their problems, I hope
<nckxmas>I agree! They are both essential on all my machines.
<nckxmas>Even nominally headless ones run GPM ‘just in case’.
<lfam>People might have some important weird kludges in place
<nckxmas>Involving the standard current-guix-NNN and guix-profile-NNN links? OK…
<nckxmas>Anyway, deleted mine, too late for this run of course.
<nckxmas>Ooh, that's nasty. I was getting inexplicable OOM errors running the system tests. /tmp (a tmpfs) looks fine at first glance. Check df anyway: 12G used. Turns out Guix left three 3.7 to 4.8 GiB hidden ‘.hash-disk-image-rw’ files there.
<wehlutyk[m]>For the past two weeks I've been running into a weird problem when running `guix package -u` (I just have guix package manager on Pop OS, an Ubuntu derivative): `guix package: error: integer expected from stream`
<wehlutyk[m]>I was expecting it to go away on its own with later runs of `guix pull`, but it's still there
<nckxmas>cnx1: I think I see your point: you expected cow-store to write to /mnt/gnu/store, but it doesn't (because that would interfere with the actual guix system init, for one). It creates a hidden directory under /mnt (I think?) which is deleted when you stop the service. So simply making /mnt/gnu/store backed by real storage won't have the effect you thought it would.
<wehlutyk[m]>I didn't find anything in the IRC logs, mailing lists, or issues (though I might have missed something)
<Brandong[m]>I'm trying to package a luajit version of awesome, but guix build --check reveals that my package is not reproducible. I've been trying to bisect for a while now and discover what commit introduced a timestamp or whatever non-determinism, but couldn't find it, and now I've tried guix build --check awesome, just against the package def in guix itself (which I inherit), and it is apparently also not reproducible. I'm wondering if I'm doing
<Brandong[m]>something wrong or if the package just really isn't reproducible.
<jpoiret>Kolev: the weather (aka substitute availability) is pretty bad on master right now
<Brandong[m]>It seems strange because the awesome package in guix specifically has patches to try to eliminate non-determinism in the upstream source.
<lilyp>True, but those patches can be leaky if no one updates them
<lilyp>If you do find out the source (or at least have valuable diffoscope output), send it to bug-guix@
<AIM[m]>If I try to install just ghc-xmonad-contrib will the xmonad and ghc get installed? Like I'm having dependency version issues and I think aome may be due to containerization like thing that guix package manager does...
<paul_j>I have a small problem with network privileges which I have failed to find any information on the web. I have the network setup as standard, but for some reason when I try to make a wifi connection, it tells me I have "Insufficient Privileges". This setup was working but at some point is no longer functioning. Since the laptop normally sits in a docking station with an ethernet connection, I am not sure when the problem occurred. Have I
<paul_j>missed something with any of the recent changes? (sorry for the long question)...
<nckxmas>Propagation is transitive, but I still don't see ghc in that graph.
<AIM[m]>The problem seems to be that ghc version for xmonad and ghc-xmonad-contrib seems to be different!
<nckxmas>How are you determining that? ‘guix size ghc-xmonad-contrib’ and ‘guix size xmonad’ both return the exact same GHC here.
<nckxmas>paul_j: I'm not aware of any deliberate changes that would cause that; sounds more like a regression (bug) if it used to work for you.
<nckxmas>I've always had to run nmtui as root here, but don't use a desktop environment. I'd expect the latter to pop up a pretty password prompt at the very least.
<paul_j>nckxmas: thanks for the comments. I am just updating everything to see if there is something untoward there, then will reboot.
<paul_j>In the past I just opened nmtui, and selected a connection. I never needed to use a password. I am using dwm as a desktop manager, but I don't think that has any impact as I haven't updated it my own fork for some months
<paul_j>Activating nmtui as root does work as expected.
<paul_j>Of course I recognise this is an issue with my setup rather than with Guix, otherwise I am sure someone else would have come across the same problem!! :)
<Guest25>is there a way to run git clone on the destination when using `guix system`
<Guest25>i want a way to clone my dotfiles and populate the destination with them when using `guix system image` or `guix system init`
<mroh>How to run tests in gnu/tests/install.scm? `make check-system TESTS="install"` isn't it.
<mothacehe> yes but you have to use the test names specifically
<nckxmas>paul_j: Specifically, I added nmtui to my operating-system's setuid-programs. If you're positive that it used to work for you without privileges, feel free to open a bug!
<lilyp>Our post commit hooks to send commit notifications are borked
<brown121407>Hi! Is there a (simple-ish) way to run appimages on Guix?
<lilyp>brown121407: crank out patchelf and get to hacking in some runpaths
<brown121407>lilyp: I had hoped the only elves I had to deal with were Santa's... Thanks
<gbrlwck>is there a package to gcc cross-compile from x86_64 host to say riscv64 target in Guix system? for debian there's gcc-riscv64-linux-gnu but i seem to be unable to find something similar for guix
<lilyp>as for using Guix on a RISC V system natively, that's currently being bootstrapped
<gbrlwck>hrmmm... i'm working on getting MEScc to output RISC-V M1 (for the full-source bootstrap toolchain) and it would come in really handy if i could get gcc's asm output for riscv architecture on my host machine (since the RISCV one is slowish)
<Kolev>Agh! It's been stuck on “building /gnu/store/ps3dl1h6f305411xv3jz6jqqqcx1k957-mutter-41.0.drv...”!
<ixmpp>Hej, is there a way to modify a package's source/commit inline when using 'environment'
<constfun>hello all, im messing with `guix home` and am not sure if I'm not doing it right or these are bugs that i should file. my home-configuration file is like so https://paste.debian.net/1224815/ and I'm noticing two undesirable effects 1) the prepending of a dot before every target file is presumptuous, for example the "run" file i have ends up being
<constfun>linked as `~/.run` and not what I expect `~/run` 2) i cannot actually execute the `~/.run` file even though original has the execute bit set. Are these bugs that I should file?
<podiki[m]>nckxmas: that looks useful to me; would there be a need for a confirmation or warning? (I would figure not, but would that require a lot of redownloading at all?)
<nckxmas>No, these are just narinfos, they are tiny.
<Brandong[m]>Is it possible to share data between build phases? I'm in the situation that I would like to patch some env paths set by one phase of a package I'm inheriting from, but when I try to (getenv "FOO") it returns #f.
<nckxmas>Again, it's just a wrapper for rm -rf, but at least it respects XDG_CACHE_HOME and it's a bit friendlier to throw into a chat full of strangers.
<nckxmas>Hm. OK. Anyway, there's no grand environment reset anywhere as far as Guix is concerned.
<Brandong[m]>Thanks for confirming that, got me onto the right track. :) I'm not quite sure why my original add-after didn't work, but I assume calls to add-before run in the order they were executed so this should be just as good.
<efraim>new efl and enlightenment release. That'll be fun to test out before pushing
<PotentialUser-84>I have two questions. Stallman recommends GUIx. I don't understand linux or gnu. I'm not a programmer either. Is there Turkish in the guix? and does the internet auto-install like Ubuntu?
<lispmacs>I believe Guix has access to many locales - I'm not sure about Turkish speecifically
<lispmacs>I'm not quite sure what you mean by "does the internet auto-install"
<PotentialUser-84>I've been using windows for 30 years. and i hate bill gates. i love stallman so much i want to follow your advice i want to use linux gnu but i don't know what to do and i don't know english either
<PotentialUser-84>I've heard of gimp, I'll try it. thank you. Well, I don't know what to do if other programs I use in windows are needed. You programmers can solve all kinds of things but I'm just a user.
<lispmacs>PotentialUser-84: you will probably not be able to run any of your proprietary Windows games on the GNU OS, though there are some Windows software which is able to run on the "WINE" emulation layer
<singpolyma>I would suggest trying out some of these software on your exsting OS first rather than trying to change every part of your life at once
<singpolyma>Krita and GIMP will run fine on your current OS, I believe
<lispmacs>that is a good idea. if you have a spare laptop or something, you could install Guix on that as well, and try it out
<PotentialUser-84>I have work at hand right now I can't take the risk of changing the operating system. I guess it's impossible to try this until I get a new pc. because I need to learn. Unfortunately, I would like to join you, but I do not have the opportunity. Again, thank you for your interest.
<rekahsoft>Hi all, I'm looking for some guidance regarding propagated inputs and profile conflicts, specifically in the context of something like python, where runtime dependencies are propagated. Namely, application A is being packaged and depends on an already existing package dep@v0, however it depends on an odd version, so I package this as dep@v-odd which inherits from dep@v0. This is all good and well in the simple cas
<rekahsoft> however this causes issues, as now users of my package A have to ensure they have no packages that propagate dep@v0 in the same profile as it will conflict with my custom dep@v-odd. In the more complex case, say my package for application A has another dependency X@v0 which is also packaged upsteam. However, X@v0 depends on dep@v0, which results in an issue for my package for application A as dep@v0 and dep@v-odd
<rekahsoft>re propagated which means that my package cannot be installed in a profile. What is the best way to go about resolving such issues?
<lilyp>rekahsoft: "application A is packaged" ← propagation rules mostly govern libraries and stuff that looks like libraries; applications ought to not propagate anything
<rekahsoft>lilyp: that would make a lot more sense, however, looking at the various python applications that are packaged in the guix repo, many of them propagate their dependencies. I assume this is because they are used at runtime after the package is installed?
<ss2>I fired up xfce too, and there thunar quits saying “input/output error”.
<lilyp>that'd probably be an oversight on behalf of the packager
<lilyp>though for a python-specific guideline: if it starts with "python-", it is assumed it's a library
<lilyp>for applications like youtube-dl, propagation is a nono and the python-specific paths are wrapped
<ss2>I do see that in thunar-settings that it is not finding gvfs, despite it being in the system profile.
<lilyp>ss2: I fixed a similar issue in tramp (but only the tramp built into emacs, the emacs-tramp package is still borked in that regard); the package was checking for a running process and ignoring the .-real variants
<florhizome[m]><lilyp> "rekahsoft: "application A is..." <- we need some more clear guidance about propagation somewhere in the manual and/or cookbook.
<florhizome[m]>many gtk packages (but also qt, there with cmake) demand library dependencies packages to be installed via pkgconfig and a default with guix packagers seems to be to propagate those. and like this you get wayland indirectly propagated by xfce panel, bc it propagates gtk+ –.–
<rekahsoft>lilyp: Thank you very much for the clarification. Makes a lot more sense now. Another question: say I've installed a python application that is wrapped (so GUIX_PYTHONPATH is set in the wrapper). How does guix guarantee that the packages referred to in the wrapper script will be installed/available?)
<lilyp>florhizome[m]: I already made a suggestion w.r.t. pkg-config :)
<lilyp>rekahsoft: GUIX_PYTHONPATH is added onto PYTHONPATH in guix' python in a way that ensures version compatibility
<lilyp>so even if the package is not "installed", it's visible to the python interpreter
<lfam>Many people would try to use them anyways, so we just added them
<lfam>I've also noticed that 'profiles' as a concept seem hard to grasp
<lfam>It's unfortunate because they are key to advanced use of Guix
<lfam>But, there's no analogue in other operating systems besides Nix
<lilyp>It also doesn't help, that besides the environment/shell pair, there's no really good way of managing profiles other than the main ones.
<florhizome[m]>but if we could get more options for profiles I would rather have a single prefix to deal with profiles
<lfam>Anyways, like I said, sometimes the disruption of change is worth it! Don't let me discourage you from designing improvements. That's why we have begun the transition from `guix environment` to `guix shell`
<ss2>I’m just trying to load a modified package into my system profile, that is placed into a, which is properly sourced, but then reconfigure complains at the package being unknown. Are only packages from channels loaded?
<ss2>not that I’m getting too sloppy now and basicaly want to place dodgy package hacks into my profiles.
<Kolev>How much would it cost to pay someone to package Jellyfin for Guix?
<raghavgururajan>singpolyma: You're right I think. There is no define-public in (gnu build chromium-extenstion)
<yewscion>Hi All, I'm struggling with an issue related to https://issues.guix.gnu.org/52684 . I'm having some kind of mental block surrounding setting an environment variable (GUIX_PYTHON_PATH) in a package containing a plugin for another program, and I'm hoping someone can help me understand the most canonical way to do that.
<ss2>Avahi’s service definition doesn’t allow additional additional services to be published?
<raghavgururajan>singpolyma: I've done `(add-to-load-path "/home/rg/guix")` in repl. How do I check what you said?
<jpoiret>it's possible that IceCat doesn't launch with X11 but rather wayland by default
*mbakke started to remove instances of #$(package-version foo) in favor of #$(package-version (this-package-input "foo")), but just realized that package-arguments are thunked, so perhaps it does not matter?