mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
geogebra: make language
configurable
This commit is contained in:
parent
3270545094
commit
9516bbf172
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, jre, makeDesktopItem, makeWrapper }:
|
||||
{ stdenv, fetchurl, jre, makeDesktopItem, makeWrapper, language ? "en_US" }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "geogebra-${version}";
|
||||
|
@ -34,7 +34,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeWrapper "$out/libexec/geogebra/geogebra" "$out/bin/geogebra" \
|
||||
--set JAVACMD "${jre}/bin/java" \
|
||||
--set GG_PATH "$out/libexec/geogebra"
|
||||
--set GG_PATH "$out/libexec/geogebra" \
|
||||
--add-flags "--language=${language}"
|
||||
|
||||
install -Dm644 "${desktopItem}/share/applications/"* \
|
||||
-t $out/share/applications/
|
||||
|
|
Loading…
Reference in a new issue