mangal: fix build

This commit is contained in:
isabel 2024-07-19 20:39:27 +01:00
parent 3bb5e993ca
commit 498701505d
No known key found for this signature in database
GPG Key ID: 7F2F6BD6997FCDF7
2 changed files with 4 additions and 1 deletions

View File

@ -141,3 +141,6 @@ acd0e3898feb321cb9a71a0fd376f1157d0f4553
# poptracker: format with nixfmt-rfc-style (#326697)
ff5c8f6cc3d1f2e017e86d50965c14b71f00567b
# mangal: format with nixfmt-rfc-style #328284
3bb5e993cac3a6e1c3056d2bc9bf43eb2c7a5951

View File

@ -28,7 +28,7 @@ buildGoModule rec {
postInstall = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
# Mangal creates a config file in the folder ~/.config/mangal and fails if not possible
export MANGAL_CONFIG_PATH=`mktemp -d`
export HOME=$(mktemp -d)
installShellCompletion --cmd mangal \
--bash <($out/bin/mangal completion bash) \
--zsh <($out/bin/mangal completion zsh) \