mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
ed77460cc1
- Add libbacktrace - Remove mesa - Circumvent git dependency
20 lines
584 B
Diff
20 lines
584 B
Diff
diff --git a/src/scmversion/gen_scmversion.sh b/src/scmversion/gen_scmversion.sh
|
|
index 9c1dacab..d1f895ee 100755
|
|
--- a/src/scmversion/gen_scmversion.sh
|
|
+++ b/src/scmversion/gen_scmversion.sh
|
|
@@ -10,10 +10,10 @@ else
|
|
fi
|
|
|
|
|
|
-HASH=$(git rev-parse HEAD)
|
|
-BRANCH=$(git rev-parse --abbrev-ref HEAD | tr -d '\r\n')
|
|
-TAG=$(git describe --tags --dirty --exclude latest --exclude preview --exclude legacy --exclude previous-latest | tr -d '\r\n')
|
|
-DATE=$(git log -1 --date=iso8601-strict --format=%cd)
|
|
+HASH="@gitHash@"
|
|
+BRANCH="@gitBranch@"
|
|
+TAG="@gitTag@"
|
|
+DATE="@gitDate@"
|
|
|
|
cd $CURDIR
|
|
|