mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
geogebra: make language
configurable
This commit is contained in:
parent
3270545094
commit
9516bbf172
@ -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 New Issue
Block a user