mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 21:13:02 +02:00
refactor: Move git version info gather in into a build script
This commit is contained in:
parent
d8c03d43f4
commit
f0b2a0c362
13 changed files with 93 additions and 135 deletions
|
@ -130,9 +130,8 @@ buildDepsOnlyEnv =
|
|||
});
|
||||
|
||||
buildPackageEnv = {
|
||||
COMMIT_SHA = inputs.self.rev or inputs.self.dirtyRev or "";
|
||||
SHORT_COMMIT_SHA = inputs.self.shortRev or inputs.self.dirtyShortRev or "";
|
||||
CONDUWUIT_VERSION_EXTRA = inputs.self.shortRev or inputs.self.dirtyShortRev or "";
|
||||
GIT_COMMIT_HASH = inputs.self.rev or inputs.self.dirtyRev or "";
|
||||
GIT_COMMIT_HASH_SHORT = inputs.self.shortRev or inputs.self.dirtyShortRev or "";
|
||||
} // buildDepsOnlyEnv // {
|
||||
# Only needed in static stdenv because these are transitive dependencies of rocksdb
|
||||
CARGO_BUILD_RUSTFLAGS = buildDepsOnlyEnv.CARGO_BUILD_RUSTFLAGS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue