stellarium: fix version

This commit is contained in:
Weijia Wang 2023-11-07 21:23:26 +01:00
parent 7bc5f9bb51
commit 73698c7c06

View file

@ -70,7 +70,9 @@ stdenv.mkDerivation rec {
qtwayland
];
preConfigure = lib.optionalString stdenv.isDarwin ''
preConfigure = ''
export SOURCE_DATE_EPOCH=$(date -d 20${lib.versions.major version}0101 +%s)
'' + lib.optionalString stdenv.isDarwin ''
export LC_ALL=en_US.UTF-8
'';