mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
mangal: fix build
This commit is contained in:
parent
3bb5e993ca
commit
498701505d
@ -141,3 +141,6 @@ acd0e3898feb321cb9a71a0fd376f1157d0f4553
|
||||
|
||||
# poptracker: format with nixfmt-rfc-style (#326697)
|
||||
ff5c8f6cc3d1f2e017e86d50965c14b71f00567b
|
||||
|
||||
# mangal: format with nixfmt-rfc-style #328284
|
||||
3bb5e993cac3a6e1c3056d2bc9bf43eb2c7a5951
|
||||
|
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user