tamarin-prover: set LOCALE_ARCHIVE in wrapper

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp
2023-03-12 19:06:58 -05:00
parent 13c264a4d0
commit 787381926a
@@ -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