~abcdw

http://trop.in

~abcdw/rde-discuss

Last active 4 days ago

~abcdw/rde-devel

Last active 10 days ago

~abcdw/rde-announce

Last active 24 days ago
View more

Recent activity

Re: Guix home on foreign distribution; handling XDG env 4 days ago

From Andrew Tropin to ~abcdw/rde-discuss

On 2021-09-22 16:04, Gerry Agbobada wrote:

> Hello,
>
>
>> And the same for XDG_CONFIG_DIRS and XCURSOR_PATH, so it only adds some
>> pathes, but not override.
>
> The issue is that all those paths are left empty by default on Fedora (33/34/35) in the shipped /etc/profile.d files,
> and when they are empty, most programs just use the default values that I added in my `.bash_profile`.
>
> The setup in $GUIX_HOME appends the custom values to an empty original one, and once those environment
> variables are defined, Fedora stopped looking for data and cursors in the default folders entirely.

Re: Guix home on foreign distribution; handling XDG env 4 days ago

From Andrew Tropin to ~abcdw/rde-discuss

On 2021-09-22 11:00, Gerry Agbobada wrote:

> Hello,
>
> This question/remark is more oriented towards users of guix home on foreign distributions. 
> I'm using guix home on Fedora, and guix home really put my system in shambles (I had no cursor, 
> and I couldn't log in to KDE or GNOME, on X11 or Wayland, at all). 
> It took me a while to understand that the reason was that overriding the XDG environment variables
> without having the "default" as fallbacks made all programs unable to find their data
> (such as GSettingsSchemas for GTK apps), or cursors.

Hi Gerry, I have something like that in ~/.guix-home/setup-environment

--8<---------------cut here---------------start------------->8---

Re: Naming conventions 11 days ago

From Andrew Tropin to ~abcdw/rde-devel

On 2021-09-15 12:20, Maxime Devos wrote:

> Andrew Tropin schreef op di 11-05-2021 om 16:36 [+0300]:
>> [...]
>> 
>> One of the reasons why I do not like macros is that we can't just:
>> (define home-mcron-configuration mcron-configuration)
>
> Use define-syntax and identifier-syntax instead, then it will work.
> Example for the 'package' macro:
>
> (use-modules (guix packages) (gnu packages base))
> (define-syntax my-package (identifier-syntax package))
> (define my-hello

[rde updates] 2021-08 24 days ago

From Andrew Tropin to ~abcdw/rde-announce

* Contributions

Not so much new exciting features this month, everything is as it was
promised!)  There was some work on refactoring and upstreaming Guix Home
to Guix, and the progress is quite good, main parts already in
wip-guix-home branch[fn:1],

* Education

Two more streams this month, one of them[fn:2] is about Emacs and it got some
attention from the community, actually nothing very special, but some
ideas on how good working environment should look like.

The second one covers the basics of development environments, and

Re: [BUG] Bash function exports break reconfigure (not build) 28 days ago

From Andrew Tropin to ~abcdw/rde-devel

On 2021-08-30 01:17, Gerry Agbobada wrote:

> Hello again,
>
> I’ve been hitting a bug due to using `guix home` on a foreign distro :
>
> Fedora package for `which` utility include a file that automatically gets sourced on login in `/etc/profile.d/which2.sh`:
>
> #+BEGIN_SRC bash
> # shellcheck shell=sh
> # Initialization script for bash, sh, mksh and ksh
>
> which_declare="declare -f"
> which_opt="-f"

Re: [BUG] guix home reconfigure errors if GUIX_OLD_HOME is unset 28 days ago

From Andrew Tropin to ~abcdw/rde-devel

On 2021-08-28 13:03, Gerry Agbobada wrote:

> Hello,
>
> I think I found a bug that happens on the first generation of home environment, it looks like having `GUIX_OLD_HOME` unset is an edge case that is not properly handled by "update-symlinks".
>
> I'm using the channel
> "rde       https://git.sr.ht/~abcdw/rde        07d0c32"
>
> I got this (end of) backtrace on `guix home reconfigure path/to/environment`
> #+BEGIN_QUOTE
> In unknown file:
>            6 (primitive-load "/gnu/store/4h7v0q399f1484bvd1lfda5md8hp5mna-update-symlinks")
> In ice-9/eval.scm:

Re: How to specify a file-like object like (origin) for packages ? 30 days ago

From Andrew Tropin to ~abcdw/rde-discuss

On 2021-08-27 23:55, Gerry Agbobada wrote:

> Hi,
>
> On Fri, Aug 27, 2021, at 17:45, Andrew Tropin wrote:
>> Elaborate more on what specifically you want to achieve, please.
>> 
>> The thread on setting up repl and load-paths is here:
>> https://lists.sr.ht/~abcdw/rde-devel/%3CCAMZ1umZOpC-xJrHenqZjQHMwZPExMnxyoaT39v7mo-DgmcR3nA%40mail.gmail.com%3E#%3C87zgxsw1f8.fsf@trop.in%3E
>
> I meant to have a way to directly use/modify a fork of rde, so that
> I can easily make a patch to submit. Should I make `rde` a local
> channel with a "file://" URL ?
>

Re: How to specify a file-like object like (origin) for packages ? 30 days ago

From Andrew Tropin to ~abcdw/rde-discuss

On 2021-08-27 15:18, Gerry Agbobada wrote:

> Hello,
>

Hi Gerry,

>
> I am currently toying with the idea of using guix home to manage my
> environment to replace my current GNU Stow based solution. I mostly
> need 1 thing right now to switch, and that is the possibility to
> install Fish plugins from internet (mostly github repos, but I guess
> it could change).
>