diff options
author | Théophane Hufschmitt <theophane.hufschmitt@tweag.io> | 2023-03-17 15:51:08 +0100 |
---|---|---|
committer | Théophane Hufschmitt <theophane.hufschmitt@tweag.io> | 2023-05-24 14:11:50 +0200 |
commit | 3ebe1341abe1b0ad59bd4925517af18d9200f818 (patch) | |
tree | 66e6ef77c7c60ac559c7aac06f1054427a0afcb1 /src/libexpr/primops.cc | |
parent | 6e4570234d5ac63a9483fb7f7aabaa1d17561a3a (diff) |
Make `RewritingSink` accept a map of rewrites
Giving it the same semantics as `rewriteStrings`.
Also add some tests for it
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index cfae1e5f8..572e76ec6 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -6,7 +6,7 @@ #include "globals.hh" #include "json-to-value.hh" #include "names.hh" -#include "references.hh" +#include "path-references.hh" #include "store-api.hh" #include "util.hh" #include "value-to-json.hh" |