From 0b091e1286c8a6f449b81f572573b08f1a3e06a5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 1 May 2014 15:04:37 +0200 Subject: [PATCH] Mark builds from git explicitly --- nixos/modules/installer/tools/get-version-suffix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/installer/tools/get-version-suffix b/nixos/modules/installer/tools/get-version-suffix index 461fbf4d3d8f..b8972cd57d22 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