summary refs log tree commit diff
path: root/pkgs/applications/emulators/retroarch/cores.nix
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2023-09-25 23:54:45 +0100
committerThiago Kenji Okada <thiagokokada@gmail.com>2023-09-25 23:54:45 +0100
commitc9fc96a159d9fc039cb848b1f247c5c41859473d (patch)
treea154f751aa12bb261ef3f4fc75fdd43c0e4e39cb /pkgs/applications/emulators/retroarch/cores.nix
parent4bb18351808181ab8def61fa511194adc3988f4b (diff)
downloadnixpkgs-c9fc96a159d9fc039cb848b1f247c5c41859473d.tar
nixpkgs-c9fc96a159d9fc039cb848b1f247c5c41859473d.tar.gz
nixpkgs-c9fc96a159d9fc039cb848b1f247c5c41859473d.tar.bz2
nixpkgs-c9fc96a159d9fc039cb848b1f247c5c41859473d.tar.lz
nixpkgs-c9fc96a159d9fc039cb848b1f247c5c41859473d.tar.xz
nixpkgs-c9fc96a159d9fc039cb848b1f247c5c41859473d.tar.zst
nixpkgs-c9fc96a159d9fc039cb848b1f247c5c41859473d.zip
libretro.citra: make build reproducible
Diffstat (limited to 'pkgs/applications/emulators/retroarch/cores.nix')
-rw-r--r--pkgs/applications/emulators/retroarch/cores.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix
index 2f055299adf..d67ae6b5318 100644
--- a/pkgs/applications/emulators/retroarch/cores.nix
+++ b/pkgs/applications/emulators/retroarch/cores.nix
@@ -301,7 +301,11 @@ in
     core = "citra";
     extraBuildInputs = [ libGLU libGL boost ffmpeg nasm ];
     makefile = "Makefile";
-    makeFlags = [ "HAVE_FFMPEG_STATIC=0" ];
+    makeFlags = [
+      "HAVE_FFMPEG_STATIC=0"
+      # https://github.com/libretro/citra/blob/1a66174355b5ed948de48ef13c0ed508b6d6169f/Makefile#L90
+      "BUILD_DATE=01/01/1970_00:00"
+    ];
     meta = {
       description = "Port of Citra to libretro";
       license = lib.licenses.gpl2Plus;