mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-09 15:58:05 +02:00
.version: Add newline
This commit is contained in:
parent
9c9768572b
commit
cc27bd0633
2 changed files with 5 additions and 4 deletions
2
.version
2
.version
|
@ -1 +1 @@
|
|||
2.13.0
|
||||
2.13.0
|
||||
|
|
|
@ -9,14 +9,15 @@
|
|||
|
||||
let
|
||||
|
||||
version = builtins.readFile ./.version + versionSuffix;
|
||||
officialRelease = false;
|
||||
|
||||
version = strip (builtins.readFile ./.version) + versionSuffix;
|
||||
strip = nixpkgs.lib.removeSuffix "\n";
|
||||
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" ];
|
||||
|
|
Loading…
Reference in a new issue