Merge pull request #266136 from wegank/stellarium-fix

stellarium: fix version
This commit is contained in:
Weijia Wang 2023-11-08 12:12:26 +01:00 committed by GitHub
commit 67fc292e5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
'';