[Nix-dev] Compare strings in filterAttrs

4levels 4levels at gmail.com
Thu Mar 24 15:57:57 CET 2016


Oh my, Vladimir, that just did the trick!  I tried <= before but that fails.

Thanks a million!

Erik

On Thu, Mar 24, 2016 at 3:31 PM Vladimír Čunát <vcunat at gmail.com> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160324/1e5832c5/attachment.html 


More information about the nix-dev mailing list