From 498701505d7ac872c4e56cb4857d0a0860565a2c Mon Sep 17 00:00:00 2001 From: isabel Date: Fri, 19 Jul 2024 20:39:27 +0100 Subject: [PATCH] mangal: fix build --- .git-blame-ignore-revs | 3 +++ pkgs/by-name/ma/mangal/package.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 012889bb2e82..0c5869db6b61 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -141,3 +141,6 @@ acd0e3898feb321cb9a71a0fd376f1157d0f4553 # poptracker: format with nixfmt-rfc-style (#326697) ff5c8f6cc3d1f2e017e86d50965c14b71f00567b + +# mangal: format with nixfmt-rfc-style #328284 +3bb5e993cac3a6e1c3056d2bc9bf43eb2c7a5951 diff --git a/pkgs/by-name/ma/mangal/package.nix b/pkgs/by-name/ma/mangal/package.nix index 65e26ee20556..c1d7c1540508 100644 --- a/pkgs/by-name/ma/mangal/package.nix +++ b/pkgs/by-name/ma/mangal/package.nix @@ -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) \