diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-12-07 17:02:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 17:02:18 +0100 |
commit | 5dce1a5af6ffd911657ee1be2403a4f694c67477 (patch) | |
tree | 106bfbb36b5459fa91340e0411881f952e891e78 | |
parent | d602762dc7ad7f8b52a39415a032859aaf4fc388 (diff) | |
parent | af8136afd4440bbabb4ea214bfd3dc15ffebf469 (diff) |
Merge pull request #7414 from hercules-ci/version-newline
.version: Add newline
-rw-r--r-- | .version | 2 | ||||
-rw-r--r-- | flake.nix | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1 +1 @@ -2.13.0
\ No newline at end of file +2.13.0 @@ -9,14 +9,14 @@ let - version = builtins.readFile ./.version + versionSuffix; + officialRelease = false; + + version = nixpkgs.lib.fileContents ./.version + versionSuffix; versionSuffix = if officialRelease then "" else "pre${builtins.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}_${self.shortRev or "dirty"}"; - officialRelease = false; - linux64BitSystems = [ "x86_64-linux" "aarch64-linux" ]; linuxSystems = linux64BitSystems ++ [ "i686-linux" ]; systems = linuxSystems ++ [ "x86_64-darwin" "aarch64-darwin" ]; |