From 1e32f7f099569388f497b06a5418ede2786577e6 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Tue, 21 Mar 2023 12:21:26 +0100 Subject: [PATCH] guix: remove profile symlink before build --- contrib/guix/guix-build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/guix/guix-build b/contrib/guix/guix-build index cd263a9..28e5dfb 100755 --- a/contrib/guix/guix-build +++ b/contrib/guix/guix-build @@ -346,6 +346,8 @@ INFO: Building ${VERSION:?not set} for platform triple ${HOST:?not set}: ...bind-mounted in container to: '$(OUTDIR_BASE=/outdir-base && outdir_for_host "$HOST")' EOF + rm -f "$(profiledir_for_host "${HOST}")" + # Run the build script 'contrib/guix/libexec/build.sh' in the build # container specified by 'contrib/guix/manifest.scm'. #