Commit 78738192 authored by Austin Seipp's avatar Austin Seipp
Browse files

tamarin-prover: set LOCALE_ARCHIVE in wrapper



Signed-off-by: default avatarAustin Seipp <aseipp@pobox.com>
parent 13c264a4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
{ 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