aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/restricted.nix
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-07-07 05:47:41 -0600
committerQyriad <qyriad@qyriad.me>2024-07-08 17:52:02 +0000
commitaccfd8aa9d786831e6e08e92162891e99e11c08a (patch)
tree6204766bdc72f73c87d454f30a106c012259c2e0 /tests/functional/restricted.nix
parentd461cc1d7b2f489c3886f147166ba5b5e0e37541 (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/restricted.nix')
0 files changed, 0 insertions, 0 deletions