tamarin-prover: set LOCALE_ARCHIVE in wrapper

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2023-02-27 23:20:09 -06:00
parent 13c264a4d0
commit 787381926a

View File

@ -1,6 +1,6 @@
{ haskellPackages, mkDerivation, fetchFromGitHub, lib
# the following are non-haskell dependencies
, makeWrapper, which, maude, graphviz
, makeWrapper, which, maude, graphviz, glibcLocales
}:
let
@ -76,6 +76,7 @@ mkDerivation (common "tamarin-prover" src // {
executableToolDepends = [ makeWrapper which maude graphviz ];
postInstall = ''
wrapProgram $out/bin/tamarin-prover \
--set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" \
--prefix PATH : ${lib.makeBinPath [ which maude graphviz ]}
# so that the package can be used as a vim plugin to install syntax coloration
install -Dt $out/share/vim-plugins/tamarin-prover/syntax/ etc/syntax/spthy.vim