Ludovic Courtès writes: >> From eec2ab5f514ec6e156244898f8a635baf323ab70 Mon Sep 17 00:00:00 2001 >> From: Oleg Pykhalov >> Date: Tue, 5 Oct 2021 02:10:25 +0300 >> Subject: [PATCH] scripts: home: Make sure profile directory exists. […] > Also, wouldn’t it be easier to set HOME to a new directory? > >> + guix home reconfigure "${test_directory}/home.scm" We probably should clean temporary $HOME directory with 'rm -rf' or delete each file with 'rm' and then invoke 'rmdir' inside a Bash's 'trap'. I fill worry about removing operations on $HOME directories. Alternative is not to remove $HOME by calling some command and just exit from a namespace, which will remove $HOME mounted as tmpfs after exiting a process running the guix-home.sh test. […] > Could you send an updated patch? Also returned Andrew's 'guix home search' tests. And 'home-bash-service-type' is replaced with 'simple-service' to not to block the guix-home.sh test from merging in master until completion of discussion about file-like objects.