diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-05-01 15:04:37 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-05-01 15:05:14 +0200 |
commit | 0b091e1286c8a6f449b81f572573b08f1a3e06a5 (patch) | |
tree | 6bd252bea0fd48e83db2bb9d7a84dd269c085c9a /nixos/modules/installer | |
parent | 3b616e378a81129ad69a56322506d6f45e6358b3 (diff) | |
download | nixlib-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar nixlib-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar.gz nixlib-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar.bz2 nixlib-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar.lz nixlib-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar.xz nixlib-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar.zst nixlib-0b091e1286c8a6f449b81f572573b08f1a3e06a5.zip |
Mark builds from git explicitly
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r-- | nixos/modules/installer/tools/get-version-suffix | 2 |
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 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 |