1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-24 18:00:55 +01:00
nix/src/libflake
Sergei Zimmerman 363620dd24 libexpr: Statically allocate commonly used symbols
The motivation for this change is two-fold:

1. Commonly used Symbol values can be referred to
   quite often and they can be assigned at compile-time
   rather than runtime.

2. This also unclutters EvalState constructor, which was
   getting very long and unreadable.

Spiritually similar to https://gerrit.lix.systems/c/lix/+/2218,
though that patch doesn't allocate the Symbol at compile time.

Co-authored-by: eldritch horrors <pennae@lix.systems>
2025-08-31 13:24:06 +02:00
..
include/nix/flake meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
.version Meson build for libexpr and libflake 2024-07-02 09:23:24 -04:00
call-flake.nix Use correct parent outPath for relative path inputs 2025-05-18 00:38:17 +01:00
config.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
flake-primops.cc Move libflake/flake/* to libflake 2025-04-23 17:20:42 +02:00
flake.cc libexpr: Statically allocate commonly used symbols 2025-08-31 13:24:06 +02:00
flakeref.cc libflake: Fix flake id flake refs with revisions 2025-08-30 01:26:51 +03:00
lockfile.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
meson.build treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
package.nix Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
settings.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
url-name.cc Fix ParsedURL handling of %2F in URL paths 2025-08-28 22:20:04 +03:00