Skip to content

Commit

Permalink
tamarin-prover: set LOCALE_ARCHIVE in wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Seipp <[email protected]>
  • Loading branch information
thoughtpolice committed Mar 13, 2023
1 parent 13c264a commit 7873819
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/applications/science/logic/tamarin-prover/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ haskellPackages, mkDerivation, fetchFromGitHub, lib
# the following are non-haskell dependencies
, makeWrapper, which, maude, graphviz
, makeWrapper, which, maude, graphviz, glibcLocales
}:

let
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7873819

Please sign in to comment.