diff options
author | Qyriad <qyriad@qyriad.me> | 2024-07-07 05:47:41 -0600 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-07-08 17:52:02 +0000 |
commit | accfd8aa9d786831e6e08e92162891e99e11c08a (patch) | |
tree | 6204766bdc72f73c87d454f30a106c012259c2e0 /tests/functional/export.sh | |
parent | d461cc1d7b2f489c3886f147166ba5b5e0e37541 (diff) |
libexpr: stop lying about DrvInfo's constness
DrvInfo's query methods all use mutable fields to cache, but like.
that's basically the entire interface for DrvInfo. Not only that, but
these formerly-const-marked functions can even throw due to eval errors!
Changing this only required removing some `const` markers in nix-env,
and changing a single inline `queryInstalled()` call to be an lvalue
instead.
Change-Id: I796807118f3b35b0e93668b5e28210d9e521b2ae
Diffstat (limited to 'tests/functional/export.sh')
0 files changed, 0 insertions, 0 deletions