[Nix-dev] Checksum of an attrset?
Rickard Nilsson
rickard.nilsson at telia.com
Thu Jul 19 14:07:52 CEST 2012
Hi,
I need to generate some scripts that emits custom initctl events. Now, I
can name the events "someprefix-${attrset.x}", but I would much rather
name them something truly unique (for a given attrset). Is there some
function in nix/nixpkgs that can create a checksum from an attrset? Then I
could use the name "someprefix-${checksum attrset}".
Or do you have any other suggestions for achieving something similar?
Regards,
Rickard Nilsson
More information about the nix-dev
mailing list