summary refs log tree commit diff
path: root/nixos/modules/installer/tools/get-version-suffix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/installer/tools/get-version-suffix')
-rw-r--r--nixos/modules/installer/tools/get-version-suffix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/get-version-suffix b/nixos/modules/installer/tools/get-version-suffix
index 461fbf4d3d8..b8972cd57d2 100644
--- a/nixos/modules/installer/tools/get-version-suffix
+++ b/nixos/modules/installer/tools/get-version-suffix
@@ -17,6 +17,6 @@ getVersion() {
 if nixpkgs=$(nix-instantiate --find-file nixpkgs "$@"); then
     getVersion $nixpkgs
     if [ -n "$rev" ]; then
-        echo "pre-$rev"
+        echo ".git.$rev"
     fi
 fi