lix/src/nix-env
jade dde51af97d Use std::strong_ordering for version comparison
The actual motive here is the avoidance of integer overflow if we were
to make these use checked NixInts and retain the subtraction.

However, the actual *intent* of this code is a three-way comparison,
which can be done with operator<=>, so we should just do *that* instead.

Change-Id: I7f9a7da1f3176424b528af6d1b4f1591e4ab26bf
2024-07-12 16:48:28 +02:00
..
buildenv.nix Format Nix code with nixfmt 2024-04-08 13:00:00 -07:00
nix-env.cc Use std::strong_ordering for version comparison 2024-07-12 16:48:28 +02:00
user-env.cc Remove 100s of CPU time (10%) from build times (1465s -> 1302s) 2024-05-29 22:16:15 -07:00
user-env.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00