Merge pull request #221175 from wegank/tamarin-prover-glibc

tamarin-prover: only use glibcLocales on linux

Changed files
+3 -1
pkgs
applications
science
logic
tamarin-prover
+3 -1
pkgs/applications/science/logic/tamarin-prover/default.nix
···
-
{ haskellPackages, mkDerivation, fetchFromGitHub, lib
+
{ haskellPackages, mkDerivation, fetchFromGitHub, lib, stdenv
# the following are non-haskell dependencies
, makeWrapper, which, maude, graphviz, glibcLocales
}:
···
executableToolDepends = [ makeWrapper which maude graphviz ];
postInstall = ''
wrapProgram $out/bin/tamarin-prover \
+
'' + lib.optionalString stdenv.isLinux ''
--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