[Nix-dev] Compare strings in filterAttrs

Vladimír Čunát vcunat at gmail.com
Thu Mar 24 15:31:05 CET 2016


On 03/24/2016 03:25 PM, 4levels wrote:
> I've been looking in the strings functions but I can't seem to find any
> string comparision functions.  The only one I find is the versionOlder
> function, but that doesn't seem to work to compare any 2 strings.

nix-repl> "foo" < "bar"
false

--Vladimir

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


More information about the nix-dev mailing list