Loading pkgs/by-name/am/amd-blis/build-date.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line diff --git a/configure b/configure index d96114619..119040151 100755 --- a/configure +++ b/configure @@ -1913,7 +1913,7 @@ set_default_version() echo "${script_name}: determining default version string." # Use what's in the version file as-is. - version="AOCL-BLAS $(cat "${version_file}") Build $(date +%Y%m%d)" + version="AOCL-BLAS $(cat "${version_file}") Build $(date -d "@$SOURCE_DATE_EPOCH" +%Y%m%d)" } pkgs/by-name/am/amd-blis/package.nix +5 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,11 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-hqb/Q1CBqtC4AXqHNd7voewGUD675hJ9IwvP3Mn9b+M="; }; patches = [ # Set the date stamp to $SOURCE_DATE_EPOCH ./build-date.patch ]; inherit blas64; nativeBuildInputs = [ Loading Loading
pkgs/by-name/am/amd-blis/build-date.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line diff --git a/configure b/configure index d96114619..119040151 100755 --- a/configure +++ b/configure @@ -1913,7 +1913,7 @@ set_default_version() echo "${script_name}: determining default version string." # Use what's in the version file as-is. - version="AOCL-BLAS $(cat "${version_file}") Build $(date +%Y%m%d)" + version="AOCL-BLAS $(cat "${version_file}") Build $(date -d "@$SOURCE_DATE_EPOCH" +%Y%m%d)" }
pkgs/by-name/am/amd-blis/package.nix +5 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,11 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-hqb/Q1CBqtC4AXqHNd7voewGUD675hJ9IwvP3Mn9b+M="; }; patches = [ # Set the date stamp to $SOURCE_DATE_EPOCH ./build-date.patch ]; inherit blas64; nativeBuildInputs = [ Loading