Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/patchelf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ac07356b0859
Choose a base ref
...
head repository: NixOS/patchelf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2ba64817ec6f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 23, 2019

  1. Use lastModified

    edolstra committed Oct 23, 2019
    Copy the full SHA
    2ba6481 View commit details
Showing with 7 additions and 1 deletion.
  1. +7 −1 release.nix
8 changes: 7 additions & 1 deletion release.nix
Original file line number Diff line number Diff line change
@@ -14,7 +14,13 @@ let
tarball =
pkgs.releaseTools.sourceTarball rec {
name = "patchelf-tarball";
version = builtins.readFile ./version + (if officialRelease then "" else "pre${toString patchelfSrc.revCount or 0}_${patchelfSrc.shortRev or "0000000"}");
version = builtins.readFile ./version +
(if officialRelease then "" else
"." +
((if patchelfSrc ? lastModified
then builtins.substring 0 8 patchelfSrc.lastModified
else toString patchelfSrc.revCount or 0)
+ "." + patchelfSrc.shortRev));
versionSuffix = ""; # obsolete
src = patchelfSrc;
preAutoconf = "echo ${version} > version";