<Blackbeard>why do I keep getting the massage that source files are newer than compiled .go files, when I just cleaned and ran make
<crab1>why am I getting "No rule to make target 'prefix-retro-latest'", why does guix try to specify a target? Aren't targets specified in the Makefile? So how does "prefix-name-version" make sense, since it's not going to be a target in the Makefile?
<nckx>I didn't mention the implicit (to us…) string-append, hope that didn't lead you astray.
<crab1>no, I understood, this was oversight on my part
<crab1>guix is more unfamiliar to me than scheme :)
<Blackbeard>nckx: if everything went right, I just send my first patch with git send-email :)
<crab1>if I have to define MANDIR=$PREFIX/man, should I repeat the (assoc-ref ...) or reference the rebound $PREFIX directly somehow?
<nckx>crab1: Do you? The Makefile has MANDIR ?= $(PREFIX)/man/man1 already.
<nckx>Blackbeard: Nice. I'll keep an eye on my mail box.
<crab1>I am getting the error "cannot create regular file '/gnu/store/prefix-retro-latest/man/man1/retro.1': no such file or directory" and for some reason I figured that putting them in .../man/ instead of .../man/man1 would fix the issue but I'm unsure
<nckx>If that's a literal error your PREFIX is wrong. Did you substitute ‘prefix’ for a hash yourself?
<nckx>I'll continue assuming so and that your PREFIX is correct:
<crab1>wdym by "substitute prefix for a hash yourself"?
<nckx>The ‘install-manpages’ starts off with ‘install -c -m 644 man/retro.1 $(MANDIR)/retro.1’, assuming MANDIR exists. You need to add a short (add-before 'install 'create-output-directories (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (man (string-append out "/share/man/man1"))) (mkdir man) #t)…) phase.
<nckx>I… should not have pasted that as an IRC message. Oh well.
<Blackbeard>nckx: does it take longer to get a response in this case? I always got an acknowledgement response right away
<nckx>Mumi (issues.) is just a front-end. The connection with debbugs (where issues gets all its data) has been cut. I'm not sure why, but I think the debbugs team thought we were causing too much load.
<nckx>rekado_ thought this shouldn't happen so I guess it's down for investigation.
<nckx>Don't quote me on any of that though, it's just a half-remembered glance at the backlog.
<Blackbeard>nckx: but now that you mention it, I think I made a mistake and did not send 4clojure
<nckx>Blackbeard: It's not a rule but I prefer adding most packages in somewhat alphabetical order in the .scm file, not always to the end. It makes merging them much easier. Just something to keep in mind for your next patches. These are fine.
<nckx>I mean, don't do that next time, but it didn't break anything.
<Blackbeard>no I corrected it. I have an org-file where I document all the workflow to send a patch. I just wrote the correct email
<nckx>I've sent a follow-up to your 4 patches with the correct order. That's my fault: when you asked about sending them separately I didn't think about patch context, since I never add my packages to the end like that.
<nckx>Blackbeard: For new packages please do. It's not possible to do it well: most .scm files aren't in alphabetical order (there are exceptions like perl.scm). So I add a package in the first spot it fits.
<nckx>If two new packages still end up right under each other, please do send them as one bug.
<nckx>But at least it should happen less frequently.
<crab1>I've added in the create-output-directories phase and it is failing with "error in procedure mkdir: No such file or directory", no other information is really given, it is apparent where it happened and that's about it
<brendyyn>drainful: I've used that before, but I wasn't sure if it downloaded any proprietary java code or not, or is it completely stand-alone?
<nckx>drainful: Probably. Any free software that doesn't recommend non-free software to users for use on their own machines, and otherwise complies with the FSDG, can be included in Guix. That doesn't mean it will be; that would depend on the software and discussion.
<nckx>Talking (exclusively) to non-free server software alone doesn't bar it from inclusion.
<drainful>brendyyn: All of the software in the git repository is freely licensed. I don't believe there are any other components
<nckx>Blackbeard: It has a huge effect on people's lives and if they need to get that off their chest I think that's fine in moderation (see what I did there) but you're certainly right that Guix is more fun.
<brendyyn>nckx: yeah its fine. basically it was a proprietary game, then users made their own free client for it regardless of the game developers rules and a large % of users started using it, so its not like they would ban them. democracy wins :)
<nckx>usney: I don't actually use the graphical openings that much, but I assume it just uses the XDG MIME database. You can change those associations (just don't ask me how), it's how desktop environments manage their ‘Open with…’ preference.
<usney>qbittorrent was crashing a lot on pureos but the one from guix package manager works a lot better plus it can understand my config folder which sometimes newer versions of software can have problems with.
<usney>I mean the config folder for any software when you install really new software over it
<usney>I've had this issue in the past but not lately
<nckx>To be honest, ‘the Guix version works better and crashes less than the native package’ isn't something we hear often but it feels good to hear it.
<nckx>Blackbeard: That's entirely up to you, as long as it makes some kind of sense. I write them so my comments are readable, e.g. ‘expat ; foo.c, bar.h, and everything in zurp/ | gpl2 ; everything else’.
<usney>it has not approved gnu/linux distros in the download list. I am just trying out lightweight gnu/linux distros to get some ideas and possibly take the config files too to make my light desktop work better or look nicer! :)
<nckx>We prefer the ‘project name’, which is (deliberately) vague but usually means the tarball name, or sf.net/project/foo, or github.com/bob/foo, … I really thought there was something in the manual about naming but I don't find much.
<civodul>sorry for the delay and for the back-and-forth :-/
<ecbrown>hi all, i'd like to "insert" a simple script (written in GNU R) into a Guix artifact (e.g. a docker image) so that i could call the script at runtime: e.g. ... -- Rscript the-script.R wondering if there's a way to do this in Guix (i confess mostly i've written recipes for building .tar.gz
<civodul>you mean you want to build a package from a local repo, right?
<efraim>I'm trying to figure out Julia and I'm trying outside of Guix first to even figure out how it works without network access and I want to clone a repo from a directory on my filesystem into another directory
<rekado_>yay, Glenn offered us rsync access to debbugs! Unfortunately, I can’t access yet because of the firewall…
<janneke>efraim: it might make sense to document or hint at these possibities somewhere
<efraim>I was about to say 'source ~/.profile', but then I remembered I just added it there
<efraim>janneke: the GIT ones are added to $GUIX_PROFILE/etc/profile
<janneke>i had this 'THE-HURD' readme, but i'm not sure if that was a good idea, and it was about creating bootstrap binaries and the wole debian vm setup which is all eh, not the most important thing right now
*efraim can't remember which its vs it's is possessive
<reepca`>"its" is possessive, "it's" is contraction
***reepca` is now known as reepca
<efraim>not a good candidate for 'the exception makes the rule' but it is the outlier
<dutchie>efraim: "its" is a possesive pronoun, so no apostrophe just like in "his" or "hers"
<efraim>dutchie: that's a good way to remember it! never thought of it that way
<dutchie>well, i suppose "hers" is not quite the same. but i remember it by analogy to "his"
<rekado>divansantana: issues.guix.gnu.org has not been updating for a few days because of unresolved problems with connecting to debbugs.gnu.org. A path forward has been found and issues.guix.gnu.org will soon be updated again.
<ecbrown>my rule is, "it is" is it's, anything else is its
<efraim>I can't think of a good way to slot it into the conversation, but apostraphe-s is possessive, not "Look out! Here comes the 's'!"
<janneke>in 8 weeks i managed to exchange 1 email with a zoho support compliance drone and 1 email with a somewhat technical person who asked a question that was answered in my original report; i also tried a tweet the past week
<janneke>str1ngs: it's dead; the only sign of life is the red led next to the power plug
<str1ngs>janneke: there is an out of band mode. called maskrom. there is a way to put it into maskrom I'll link the URI
<str1ngs>janneke: once you have that packaged. connect the usb to your computer. then do rkdevloptool ld . and if you can see the device then it's in a maskrom mode. which would explain the no power on light
<bricewge>raghavgururajan: I think udevil is ought to be a user service. There is no user service support on guix ATM
<apfel>hi there, i want to use virt-manager to manage libvirtd on a remote guix installation. This works via SSH and requires netcat-openbsd to be in PATH. But the remote command is not run with a login shell. I now source /etc/profile in .bashrc. Is there another to do this in guix? Maybe a global symlink to /bin? I did find something like this for guix pack, but not guix system
<bricewge>raghavgururajan: So you should probably just use a shepherd user instance. Just replace udiskie by udevil in the file I shared
<raghavgururajan>nckx Oh shoot! Yes, I will have to email them to you. I just dived into packaging udevil.
<nckx>Blackbeard: Yesterday, you asked me about ‘unsafe variables’. If you accepted them, emacs ought to be configured to follow Guix's indentation rules.
<Blackbeard>Ohh licenses should be determined by the header file not the license file
<guix-vits>TZander: "indent-tabs-mode: nil" in games.scm
<nckx>In the mail you linked above, having the ( in (name directly under the ‘a’ in (package is correct, and that's what C-M-q (with point at ‘(define-public emacs-org-roam’ does here. Does it do that for you?
<nckx>Blackbeard: Yes, you should always check licence headers. Unfortunately. If one file in the source tree lacks the ‘or at your option, any later version’ wording it doesn't matter what the rest (or COPYING) say, it's GPLvN-only.
<nckx>Blackbeard: Life hack: whenever patching anything, check your work against Debian's ‘Copyright File’ (it's in the right-hand column of pages like these <https://packages.debian.org/sid/sl>). They generally do their homework (but do your own too).
<nckx>If you use DuckDuckGo it's as easy as ‘!deb <package name>’.
<nckx>Blackbeard: Sure, but they are just the ‘licence text’, not the actual ‘licence statement’. Confusing, I know, and there's a grey area since many projects don't have explicit headers.
<nckx>Licencing is a mess and sadly things like GitHub aren't encouraging better practices.
<Blackbeard>In México (I think) the LICENSE file would be the one that the judge uses. Because here when you give permission to use authorship rights you gotta put it in a contract
<Blackbeard>But it is a gray area too. Legally you should have the signature of the author to be able to use the work
<crab1>I feel like this is probably a oommon problem, but I'm trying to use sway via sddm, and it opens to a blank screen with the standard X shaped cursor and no keyboard shortcuts do anything, I do have the default sway config in ~/.config/sway/config, I'm not sure what's going on here and I'm not sure how to troubleshoot, anyone have any direction?
<Blackbeard>The only thing you could argue is that it is a common practice in the software world to use this type of LICENSE files
<crab1>cwm is working fine, I have not tried anything that uses wayland so I'm not certain whether it's a wayland issue or a sway issue
<guix-vits>crab1: do you've an old i3wm config in your ~/ ?
<rekado>issue #40629 lets you install packages from JSON definitions. Sadly it’s too late for April 1 to announce that Guix drops Scheme and will be using JSON going forward.
<nckx>Blackbeard: Ideally, the author says ‘this is my software, and you can distribute it under <terms>, for details see <COPYING>’. That's what a licence header does. If it's missing, the mere presence of a generic licence file is certainly a sign of intent, but it's unpleasantly implicit. ‘I opened the box and there was a copy of the GPL, I guess the contents of the box are all GPL?’. But you don't have that on paper!
<crab1>It seems that sway was launched, I got the same visual as before except my mouse cursor was no longer the "X" and the background was the same as whatever tty I was last in. I did more key mashing and nothing happened, but I went to another tty and a couple instances of urxvt appeared in top, I'm not sure what's going on here
<crab1>I even saw the mouse switch to the "I" that indicates you can click here to type stuff, but nothing else showed up
<Blackbeard>usney: there is exwm that uses emacs as a window manager
<lfam>Weird that dmesg includes "shepherd: Service ssh-daemon could not be started." and then a few seconds later "shepherd: Service ssh-daemon has been started."
<lfam>I wonder if we can remove the advertising messages from ntpd's output
<lfam>Can somebody try logging in to Guix System over SSH and tell me if there is anything in '/var/log/messages' from elogind or dbus?
<lfam>On my system, the only messages are from sshd
<lfam>I figured out why things broke for me. I had removed my custom '~/.profile', and that file set a custom value for XDG_RUNTIME_DIR. I still think this should work out of the box without hacks like that
<lfam>It would be great if somebody with a working Guix System could tell me if elogind does anything when they log in and if they have a directory at /run/user/NNN
<raghavgururajan>nckx For the above package ^, is it possible to create service-type?
<reepca>huh, so I've discovered that our configure script will consider only the highest-version guile "development files" installed, and will only consider the first guile binary it finds in $PATH. So if you have guile 3 installed and you run 'guix environment guix', it will put guile-2.2 at the front of $PATH but still find guile-3.0 development files. It will then complain about the mismatch. Weird.
<lispmacs[work]>so, was just wondering... if there was a hash collision one day, would the whole Guix project vanish suddenly in a cloud of smoke?
<alextee[m]>anyone know where the <linux/errno.h> header is?
<alextee[m]>maybe i need to have linux-libre in my profile for it to be found
<reepca>well, if two store items end up with the same hash-part, it's not automatically terrible, since /gnu/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-foo-1.0 and /gnu/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bar-1.0 would still be distinct. They'd need to have the same basename ("package name"). In which case, assuming the collision was random and not malicious, the behavior likely wouldn't change drastically - it'd be like some package being
<reepca>randomly overwritten with a newer/older version