On Tue, Jun 2, 2015 at 9:33 AM, Vladimír Čunát <[email protected]> wrote:
> 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. > I'm trying to get the commit hash of *my own* software, which I'm installing on nixos, not the version of nixos that I'm installing into. Still, it looks like nixos has solved this problem, somehow. Thanks for the pointer. Colin
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
