[Nix-dev] Git commit hashes

Vladimír Čunát vcunat at gmail.com
Tue Jun 2 18:33:44 CEST 2015


Hi.

On 06/02/2015 06:15 PM, Colin Putney wrote:
> I'm running a small cluster with several custom-built services, and I'd
> like to include git commit hashes in my logs so that I can easily find
> the source code that's producing them. I thought this would be
> straight-forward, but it's turning out to be surprisingly difficult. 

Do you know config.system.nixosVersion?
That variable should be usable when generating config for nixos services.


Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150602/9747f55b/attachment-0001.bin 


More information about the nix-dev mailing list