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/tools/get-version-suffix | |
parent | 3b616e378a81129ad69a56322506d6f45e6358b3 (diff) | |
download | nixpkgs-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar nixpkgs-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar.gz nixpkgs-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar.bz2 nixpkgs-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar.lz nixpkgs-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar.xz nixpkgs-0b091e1286c8a6f449b81f572573b08f1a3e06a5.tar.zst nixpkgs-0b091e1286c8a6f449b81f572573b08f1a3e06a5.zip |
Mark builds from git explicitly
Diffstat (limited to 'nixos/modules/installer/tools/get-version-suffix')
-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 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 |