nixos-rebuild: remove accidentally lost check
We should not set version to .git. when we don't know the commit.
This commit is contained in:
@@ -564,7 +564,9 @@ getVersion() {
|
||||
fi
|
||||
fi
|
||||
|
||||
echo ".git.$rev"
|
||||
if [ -n "$rev" ]; then
|
||||
echo ".git.$rev"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user