IRC channel logs
IRC channel logs
2023-09-16.log
back to list of logs
Do you have a handy incantation for me? I'm unfortunately a big noob when it comes to scheme
I do not lol
here's the part of the manual I would read to come up with one
"Match Structures (Guile Reference Manual)"
This might take me a while
guix is like that sometimes...
Look at the output from dmesg and figure out what mentions of NVME you can see and try to write a regular expression to match them
probably NVME is good enough
Yeah, the regex is no problem
The scheme is
well if string-match returns a non false value it matched
I think I need to wait until I can have another machine for irc and internet, because right now I'm just rebooting and going in on my own lol
something like this
"debian Pastezone"
Nice
A little too long to remember when I reboot though
Understandable lol
it's not so bad once you get used to it
Gonna do a "boomer screenshot" of it and try
it may not return if it doesn't match
beware
okay, brb
it will return with an eof error
I get unbound variable string-match
Tried adding (use-module (ice-9 match)), but still unvound
string-match is part of the default namespace i thought...
I tried just calloing string-match on it's own also, but same thing
`guix shell guile --container -- guile` has string-match available to guile-user
perhaps the recovery shell is in a different module
or is a stripped down version
maybe
i think its regular guile
The line editing is certainly stripped down
No up arrow or anything like that
its character building
I think I'll give up for tonight, maybe try again tomorrow
Found this:
Seems strin-match is in a modules
Ok, I see. It is actually stated in 6.13 that you need to load (ice-9 regex)
I'll do one last reboot try tonight
Okay, this time the incantation worked, but doesn't seem like there was a match. The function never returned anything. Tried "NVME" both in upper and lower case
[1~
unfortunate to hear
I know I asked this before, but I don't think I found an answer. Can I get dhcp-client-service-type's default dhclient instance send the system's hostname with the request? Has someone done that?
dhcp-client-service-type does not have any real way to configure it, despite dhclient having a configuration file.
hi people !
I installed guix
Which DE or WM should I install ?
I installed emacs-next only
Now pulling
I tried several times to run a Desktop Environment but it has failed
Did the installation not prompt you about what DE you want?
drewjose: not that ... I mean I couldn't run a DE
hwpplayer1: Did you enable the desktop environment as a service-type?
I don't know that
RavenJoad: ^
Now I will install a WM after pull finished
(guix) Desktop Services
please wait
If you add a service-type to the services list, that will install everything you need, and put the magic in the right places to make the DE "just work".
okay
I will ask that later
first is getting the pulls
It is 43%
What library does Guix use to hash things?
RavenJoad Libgcrypt via Guile-Gcrypt
"Invoking guix hash (GNU Guix Reference Manual)"
Ok, cool. I don't need the cryptographic hashing, but that is what my quick searching through Guix's source turned up too.
are you doing something with guix internals?
drewjose: Nope. I am working on a personal project, a citation manager (a la Zotero). I need to hash documents to place them in a machine-usable named location.
Ah sounds cool!
Thanks! I appreciate Zotero, but know it won't be in Guix for a while, so I am writing this one.
if you are interested.
"GitHub - KarlJoad/gloa: Academic article managment with GNU Guile"
Is mooncake the new sneek?
I'm back
what does computing guix derivation mean ?
sneek: later tell RavenJode: absolutely not >:((
Will do.
I'm installing OpenBox
what should I do next ?
open a window?
how ?
startx ?
put "xterm" with a carriage return into .xinitrc
do you like to write full command ?
coming
you need a single line with "xterm" in .xinitrc
where is the .xinitrc file ?
~/.xinitrc
that will open a terminal window when X starts. then you can start and stop window managers to experiment until you find one you like
to start X, try making this executable
"View paste OLXA"
I can't see .xinitrc file
please create with your favorite editor
okay
What should I write into this init rc file ?
xterm with a return after it
okay
no quotes, no ampersand
let me try my best
then ?
that'll run when X starts
I wrote xterm into .xinitrc file
did you hit return?
so the cursor was in the next line when you saved it?
xterm and enter
great
now, starting X is a bit harder in Guix
but startx returns null
i know
command not found
what should I do next ? lechner ?
you will need to add xterm and xorg-server to your home or system profile, or to be in a guix shell that provides them
do you like to elaborate the issue ?
i.e. guix shell xorg-server xterm (and probably openbox
there isn't much to add to "file not found"
starting X is a little harder, though
what should I do now lechner ?
what's the last thing you did?
adding xterm into .xinitrc
guix shell xorg-server xinit
okay
now save these two scripts locally
"View paste OLXA"
and
"View paste IRMA"
It is downloading some files lechner
the latter is a shell script that I used until this morning. you make it executable with chmod +x (name of script)
the former is the same in Scheme but it is untested. i just wrote it today
It is finished now lechner
what should I do next ?
you used the download links at the bottom?
are you talking to me ?
yes
which links ?
how did you save the files?
I edited only one file and it was .xinitrc
now save these two scripts locally
"View paste OLXA"
and
"View paste IRMA"
How can I download them ?
I only have Emacs
I copied the first one
i see
is it xinit.scm ?
that's the one i haven't tested
and where should be the file which directory
just your home will do
xinit.scm ?
that's where mine are
what is the name of the file ?
xinit.scm
okay
try wget or curl on this
or this, if you need it again
the second one is just xinit.scm again
what is the IRMA config's file name
please make sure you got the code, and not some HTML
where should I put it ?
xinit.sh
okay
then ?
then chmod +x xinit.*
and then, in your home directory ./xinit.sh
maybe stick the fingers in your ears
okay
anything happening?
It says command not found
which shell are you using?
are you inside the Bash shell provided by guix shell?
Bash
which xinit
okay let me try again
I'm inside guix shell xorg-server xinit
how about which xinit
and maybe which Xorg
okay I will write which xinit
with a capital X
and Xorg
They are both exists
great
Then ?
is Emacs your login shell?
or did you type emacs in order to start it?
I have to tty and one is for Emacs Shell and the other one is system shell
I run Emacs in tty1
these are virtual, right?
and the other shell is inside tty2
yes
either one should work, but i'm not sure what will happen to your Emacs.
why don't you switch to the shell tty2 and type guix shell xorg-server xinit
I did
and then check for the commands with which and come back here
It says no such file or directory
inside guix shell xorg-server xinit ?
yes
are you using guix home?
./xinit.sh says no file or directory
Guix home ?
okay, just do guix install xorg-server xinit
okay
and re-source the profile, if needed (that's the dot in the second line)
then try which xinit again, please
there is a file xinit in store
but I can't run ./xinit.sh
or startx
what is the output of which xinit please?
or command -v xinit
that's not the same as ./xinit.sh
/home/hwpplayer1/.guix-profile/bin/xinit
great.
and then please ?
now let's talk about the plan. if all goes well, you will have an xterm but no window managers
there are only three things you can do, other than perhaps switch back to emacs via C-M-1
you can run commands in xterm, usually one at a time
i do not recommend using the ampersand at this stage
you can also hit C-d, which will terminate X
or you can move the mouse and see the cursor fill in when the mouse is inside the xterm
for C-d to terminate X you have to be inside the xterm. it actually terminates the shell, which terminates xterm, which terminates Xorg, which terminates xinit, which terminates ./xinit.sh
anyway, please just head over there and type ./xinit.sh
then you want to start a window manager, but i do not recommend the ampersand at this state
stage
then you can terminate the window manager with C-c
I couldn't understand
okay, just head over there and type ./xinit.sh please
.xinit.sh failed
how
parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
are you on a console?
emacs shell
only shell
not eshell
that wont work. you have to log into a getty on a linux virtual console. you can switch around with Ctrl-Alt-1 .. 2 ... and 3 and so on
sorry, it's F1 F2 and so on
yes
I know
you won't have to bother with guix shell anymore
the packages are in your user profile
maybe your XDG variables aren't set. just open ./xinit.sh in an editor and hardcode vt1 or vt2, depending on where you are
or will be
I'll be back
later tell hwpplayer1 / sorry, i have to go. tonight is a jewish festival called rosh hashanah, which is also sometimes called the birthday of the world. it lasts two days. i'll be back on monday. many folks here will be able to help you in the meantime
sneek / later tell hwpplayer1 / sorry, i have to go. tonight is a jewish festival called rosh hashanah, which is also sometimes called the birthday of the world. it lasts two days. i'll be back on monday. many folks here will be able to help you in the meantime
Okay.
Have a good one lechner!
hi, and thanks!
Hey, does anyone here use the EVDI package/kernel module? I've added it to 'kernel-loadable-modules' in my 'operating-system' declaration but it doesn't seem to build properly when I do 'guix system reconfigure'. Version 1.14.1 is the newest version of EVDI available, but the version packaged in Guix is 1.12.0. Maybe it needs to be updated for newer kernel versions?
For
it says to recompile profiles.go. This means nothing to me and there are no literal steps for me to follow or adapt. What do I do for this?
"info-dir ERROR: no code for module (guix build utils)"
US