diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-08 12:12:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 12:12:26 +0100 |
commit | 67fc292e5a1d4e31d51ac3e18e7662460d2e1870 (patch) | |
tree | 8057d20f50e23216bff9a3ac50eb12ac7b13e393 /pkgs/applications/science | |
parent | db4dcfafb3515e63e783145a5087f4328caf4c1b (diff) | |
parent | 73698c7c066e84c6165a9112a8d4858338357ac6 (diff) | |
download | nixpkgs-67fc292e5a1d4e31d51ac3e18e7662460d2e1870.tar nixpkgs-67fc292e5a1d4e31d51ac3e18e7662460d2e1870.tar.gz nixpkgs-67fc292e5a1d4e31d51ac3e18e7662460d2e1870.tar.bz2 nixpkgs-67fc292e5a1d4e31d51ac3e18e7662460d2e1870.tar.lz nixpkgs-67fc292e5a1d4e31d51ac3e18e7662460d2e1870.tar.xz nixpkgs-67fc292e5a1d4e31d51ac3e18e7662460d2e1870.tar.zst nixpkgs-67fc292e5a1d4e31d51ac3e18e7662460d2e1870.zip |
Merge pull request #266136 from wegank/stellarium-fix
stellarium: fix version
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/astronomy/stellarium/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/science/astronomy/stellarium/default.nix b/pkgs/applications/science/astronomy/stellarium/default.nix index d656c39d0bc..3b61c8dac2b 100644 --- a/pkgs/applications/science/astronomy/stellarium/default.nix +++ b/pkgs/applications/science/astronomy/stellarium/default.nix @@ -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 ''; |