Re: What is the difference between the directories in / and in /run/current-system/profile?

2024-04-29 Thread Nathan Dehnel
Thanks for the info On Mon, Apr 29, 2024 at 11:34 AM Felix Lechner wrote: > > Hi Nathaniel, > > On Sat, Apr 27 2024, Nathan Dehnel wrote: > > > These directories are in both locations. > > As you already figured out, they contain different things. > > > What

What is the difference between the directories in / and in /run/current-system/profile?

2024-04-27 Thread Nathan Dehnel
$ comm -1 -2 <(ls /) <(ls /run/current-system/profile) bin etc var These directories are in both locations. What does it mean for a file to be in one place vs the other?

Re: GRUB fallback on boot failure

2023-05-29 Thread Nathan Dehnel
to boot? On Mon, May 29, 2023 at 6:29 PM Felix Lechner wrote: > > Hi Nathan, > > On Sat, May 27, 2023 at 3:52 PM Nathan Dehnel wrote: > > > > My understanding is this is done by adding the > > following to /etc/default/grub: > > > > export GRUB_F

GRUB fallback on boot failure

2023-05-27 Thread Nathan Dehnel
Is it possible in guix to try to boot the latest generation and then go down the list of previous generations and try to boot them until one of them works? My understanding is this is done by adding the following to /etc/default/grub: export GRUB_FALLBACK="1 2...{number of entries}"

herd service "conflicts / will not be respawned" issue ?

2022-12-20 Thread Nathan Dehnel
>Conflicts with (). I believe this lists services that cannot run at the same time as this service. There are no conflicts, so the list is empty. >Will not be respawned. I think this is controlled by (respawn? #t) in the service definition.

export LC_ALL=C

2022-10-24 Thread Nathan Dehnel
>Unfortunatelly I lost this email. Assuming it was posted to this mailing list, you can go to https://lists.gnu.org/archive/html/help-guix/ and search for it by some text the email contained.

How to grant a program permission to access /run/dbus/system_bus_socket

2022-09-08 Thread Nathan Dehnel
nathan@guixlaptop ~/guix-configs $ nixGLIntel bitwarden Fontconfig error: Cannot load default config file: No such file: (null) (node:27126) DeprecationWarning: file property is deprecated and will be removed in v5. (Use `bitwarden --trace-deprecation ...` to show where the warning was created)

Store path in package definition

2022-08-26 Thread Nathan Dehnel
Would something like this work? (string-append (assoc-ref %outputs "out") "/passff.py") https://guix.gnu.org/cookbook/en/html_node/Extended-example.html#Build-system-arguments

Re: How to get en_US.UTF-8 locale in guix shell

2022-08-22 Thread Nathan Dehnel
I figured it out, I had to REMOVE the glibc package from my profile. On Fri, Aug 19, 2022 at 6:23 PM Nathan Dehnel wrote: > > After following these instructions > https://guix.gnu.org/manual/en/html_node/Application-Setup.html#locales_002dand_002dlocpath > locale -a only returns

How to get en_US.UTF-8 locale in guix shell

2022-08-19 Thread Nathan Dehnel
After following these instructions https://guix.gnu.org/manual/en/html_node/Application-Setup.html#locales_002dand_002dlocpath locale -a only returns C POSIX as the locales inside a guix shell. What else do I need to do? glibc-locales is installed both inside and outside the shell.

Substitute not being used

2022-07-25 Thread Nathan Dehnel
I have telegram-desktop installed and I've never seen a substitute download for it. It always builds from source.

Re: What to do if headers are not found

2022-07-03 Thread Nathan Dehnel
That did work! Much appreciated. On Sun, Jul 3, 2022 at 3:52 PM Andreas Enge wrote: > > Am Sun, Jul 03, 2022 at 03:40:22PM -0500 schrieb Nathan Dehnel: > > That didn't work, unfortunately. > > If you try "guix build util-linux", you will see that there are three

Re: What to do if headers are not found

2022-07-03 Thread Nathan Dehnel
That didn't work, unfortunately.

What to do if headers are not found

2022-07-02 Thread Nathan Dehnel
This is a package I'm making. Configure can't find libmount.h, which comes from util-linux, even though I have added it to propagated-inputs, as the manual suggests. How can I fix this or further investigate? (define-module (gooby-channel packages snapper) #:use-module (guix licenses)

add a substitute server and thoughts for improvement

2022-04-10 Thread Nathan Dehnel
I suggest checking out "guix weather", "guix upgrade --dry-run", and "guix upgrade --do-not-upgrade="

Re: with every guix pull icedove updating I have to set up icedove again

2022-03-30 Thread Nathan Dehnel
> and choose the right profile? > If yes, than which profile should I choose? > > > > > Am 29.03.22 um 21:47 schrieb Nathan Dehnel: > > I also have this problem. It forgets which profile I'm using or > > something. I have to launch the profile manager and select the profile > > for it to use. >

with every guix pull icedove updating I have to set up icedove again

2022-03-29 Thread Nathan Dehnel
I also have this problem. It forgets which profile I'm using or something. I have to launch the profile manager and select the profile for it to use.

Professional audio setup (JACK, PipeWire)

2022-03-23 Thread Nathan Dehnel
I had a similar error a while ago: https://github.com/rncbc/qjackctl/issues/96

Re: How to put a file in /gnu/store and set its permissions

2021-12-07 Thread Nathan Dehnel
Thanks. Though that code causes "guix system: error: symlink: File exists: "/etc/ssh"" when I use it, and by the looks of it, would still be putting the key in the store, which is insecure. On Sun, Dec 5, 2021 at 8:44 PM Gary Johnson wrote: > > Nathan Dehnel writes: &g

Re: How to put a file in /gnu/store and set its permissions

2021-12-05 Thread Nathan Dehnel
Thanks. I guess then I need to know how to put a file in /etc/ssh without putting it in the store. On Sat, Dec 4, 2021 at 11:13 PM Leo Famulari wrote: > > On Sat, Dec 04, 2021 at 04:47:12PM -0600, Nathan Dehnel wrote: > > https://guix.gnu.org/manual/en/html_node/G_002dExpr

How to put a file in /gnu/store and set its permissions

2021-12-04 Thread Nathan Dehnel
https://guix.gnu.org/manual/en/html_node/G_002dExpressions.html This says to set #:recursive? #t and guix will preserve its permissions in the store. I have done this: (define guixrig_host_rsa_key (local-file "ssh/guixrig_host_rsa_key" #:recursive? #t)) The file this expression puts in the

Re: guix pull: error: getting attributes of path: No such file or directory

2021-09-08 Thread Nathan Dehnel
I seem to have fixed it by running guix gc -D on a bunch of objects in /gnu/store. On Wed, Sep 8, 2021 at 4:59 PM Nathan Dehnel wrote: > > I installed guix on gentoo with this > https://github.com/trofi/nix-guix-gentoo and ran guix pull, and I got > this error: > > ;;; note

guix pull: error: getting attributes of path: No such file or directory

2021-09-08 Thread Nathan Dehnel
I installed guix on gentoo with this https://github.com/trofi/nix-guix-gentoo and ran guix pull, and I got this error: ;;; note: source file /usr/share/guile/site/2.2/json.scm ;;; newer than compiled /usr/lib64/guile/2.2/site-ccache/json.go ;;; note: source file

How do I specify a btrfs subvolume?

2021-03-14 Thread Nathan Dehnel
This is extremely confusing: https://guix.gnu.org/manual/en/html_node/Btrfs-file-system.html I made my best attempt at creating and mounting a subvolume at /media/offsite-backup: (file-systems (cons* (file-system (mount-point "/") (device (uuid

Re: /dev/bcache/by-uuid directory empty

2020-12-22 Thread Nathan Dehnel
I got stuck. https://www.mail-archive.com/bug-guix@gnu.org/msg00180.html According to this, if you use gnu-build-system, all packages added to inputs get added to PKG_CONFIG_PATH, but for some reason it's not happening for util-linux, which causes a build error. On Fri, Dec 18, 2020 at 10:31 AM Natha

Re: /dev/bcache/by-uuid directory empty

2020-12-18 Thread Nathan Dehnel
> You may well be the first to (try to) use bcache on Guix System. > > Nathan Dehnel 写道: > > The manual https://www.kernel.org/doc/Documentation/bcache.txt > > states > > that udev is necessary, and it is enabled: > > It says: > > --8<---cut here--

/dev/bcache/by-uuid directory empty

2020-12-17 Thread Nathan Dehnel
I have modprobed bcache and registered the caches + backing drives necessary to mount a volume on bcache: root@guixrig ~/guix-configs/guixrig# ls /dev/bcache* /dev/bcache0 /dev/bcache2 /dev/bcache4 /dev/bcache6 /dev/bcache8 /dev/bcache1 /dev/bcache3 /dev/bcache5 /dev/bcache7 /dev/bcache9

Unable to edit pulseaudio config file

2020-06-11 Thread Nathan Dehnel
I made a modified config file in /home/nathan/.config/pulse/default.pa, and then added this to config.scm, per the manual: https://guix.gnu.org/manual/en/html_node/Sound-Services.html (service pulseaudio-service-type (pulseaudio-configuration (script-file (file-append pulseaudio

Cannot setup git with libsecret

2020-02-28 Thread Nathan Dehnel
I'm trying to set up git with libsecret. According to this https://stackoverflow.com/questions/13385690/how-to-use-git-with-gnome-keyring-integration/14528360#14528360 I don't know where to start. Apparently I can use "git config --global credential.helper libsecret"? Or maybe I have to use the

Cannot mount NFS share as user or root

2020-02-17 Thread Nathan Dehnel
bash-5.0$ mount /media/store mount: /media/store: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program /etc/config.scm: (file-system (mount-point "/media/store") (device "gentooserver:/") (type "nfs4")

How to fix broken user guix?

2020-02-15 Thread Nathan Dehnel
bash-5.0$ guix pull Updating channel 'nonguix' from Git repository at 'https://gitlab.com/nonguix/nonguix'... guix pull: error: Git error: failed open - '/home/nathan/.cache/guix/checkouts/l74zueb3lgylhgxnuzx3d5fzraztxvzu2s4466wlqqvmz7hdct3a/.git/FETCH_HEAD' is locked: Permission denied

"no code for module"

2019-12-28 Thread Nathan Dehnel
I made a package which is basically a clone of the "hello" package example. (use-modules (guix packages) (guix download) (guix build-system gnu) (guix licenses)) (define-public deadbeef (package (name "deadbeef") (version "1.8.2") (source (origin

Is Shepherd socket-activated?

2019-12-02 Thread Nathan Dehnel
Is Shepherd socket-activated like Systemd? Or does its design allow it to be modified to add that feature? Referring to this: http://0pointer.de/blog/projects/socket-activation.html

GuixSD install, bootable on multiple architectures

2018-10-01 Thread Nathan Dehnel
I had an idea for an operating system that is portable across CPU architectures. You would have a set of bootloaders for each architecture (let's say, x86 and PowerPC). The x86 bootloader would be stored in the EFI partition, and the PowerPC bootloader would be stored in the OpenFirmware