1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-25 02:10:54 +01:00
nix/src
Robert Hensing 65255edc9b DerivationInfo -> PackageInfo
This does not yet resolve the coupling between packages and
derivations, but it makes the code more consistent with the
terminology, and it accentuates places where the coupling is
obvious, such as

         auto drvPath = packageInfo.queryDrvPath();
         if (!drvPath)
             throw Error("'%s' is not a derivation", what());

... which isn't wrong, and in my opinion, doesn't even look
wrong, because it just reflects the current logic.
However, I do like that we can now start to see in the code that
this coupling is perhaps a bit arbitrary.
After this rename, we can bring the DerivingPath concept into type
and start to lift this limitation.
2024-01-16 15:28:03 +01:00
..
build-remote Allow dynamic derivation deps in inputDrvs 2023-09-07 10:39:37 -04:00
libcmd DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
libexpr DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
libfetchers Merge pull request #9736 from obsidiansystems/mingw-makefiles 2024-01-11 10:58:55 -05:00
libmain Use buildprefix in a few more places 2023-11-29 19:49:07 -05:00
libstore Avoid unnecessary copy of goal log 2024-01-13 19:32:37 +00:00
libutil absPath: just take a std::string_view 2024-01-15 08:21:54 -05:00
nix DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-build DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-channel Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-collect-garbage Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-copy-closure Restrict some code to StoreDirConfig 2023-11-04 19:05:36 -04:00
nix-env DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-instantiate DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-store Organize content addressing, use SourceAccessor with Store::addToStore 2023-12-18 10:41:54 -05:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00