Sergei Zimmerman
6587e7bcff
libexpr: Add and use lambda
getter
2025-06-12 19:42:50 +00:00
Seth Flynn
d0a2323829
lockFlake(): Allow registry lookups for overridden inputs
...
Fixes #13144
2025-05-28 00:24:41 -04:00
Sergei Zimmerman
114de63d88
Fix various typos in source code
...
This only touches code comments, class names, documentation,
enumeration names and tests.
2025-05-25 20:14:11 +00:00
Eelco Dolstra
efcb9e36a9
Remove global fetcher cache
...
The cache is now part of fetchers::Settings.
2025-05-17 19:54:32 +02:00
Eelco Dolstra
d00682beb2
Backward compatibility hack for dealing with dir
in URL-style flakerefs
2025-05-09 10:10:42 +02:00
Sergei Zimmerman
d8c97d8073
treewide: Use StringSet alias consistently instead of std::set<std::string>
...
The intention is to switch to transparent comparators from N3657 for
ordered set containers for strings and using the alias consistently
would simplify things.
2025-05-02 17:40:29 +00:00
Jörg Thalheim
5b59be914d
Replace symlink_exists with pathExists
...
As it turns out the orignal implementation of symlink_exists cannot be
used in Nix because it did now std::filesystem::filesystem_error.
The new implementation fixes that but is now actually the same as
pathExists except for the path type.
2025-05-01 14:22:35 +02:00
Eelco Dolstra
953ec00794
getFlake(): Don't use registries for refetching
...
`newLockedRef` is already resolved so there is no need to re-resolve
it.
2025-04-25 13:46:42 +02:00
Eelco Dolstra
68de26d38a
lockFlake(): Allow registry lookups for the top-level flake
...
Fixes #13050 .
2025-04-24 18:59:10 +02:00
Eelco Dolstra
bc67e47298
Move libflake/flake/* to libflake
2025-04-23 17:20:42 +02:00