amd-blis: add patch to make output reproducible

Fixes the datestamt to SOURCE_DATE_EPOCH

+18
+13
pkgs/by-name/am/amd-blis/build-date.patch
··· 1 + diff --git a/configure b/configure 2 + index d96114619..119040151 100755 3 + --- a/configure 4 + +++ b/configure 5 + @@ -1913,7 +1913,7 @@ set_default_version() 6 + echo "${script_name}: determining default version string." 7 + 8 + # Use what's in the version file as-is. 9 + - version="AOCL-BLAS $(cat "${version_file}") Build $(date +%Y%m%d)" 10 + + version="AOCL-BLAS $(cat "${version_file}") Build $(date -d "@$SOURCE_DATE_EPOCH" +%Y%m%d)" 11 + } 12 + 13 +
+5
pkgs/by-name/am/amd-blis/package.nix
··· 33 33 hash = "sha256-hqb/Q1CBqtC4AXqHNd7voewGUD675hJ9IwvP3Mn9b+M="; 34 34 }; 35 35 36 + patches = [ 37 + # Set the date stamp to $SOURCE_DATE_EPOCH 38 + ./build-date.patch 39 + ]; 40 + 36 41 inherit blas64; 37 42 38 43 nativeBuildInputs = [