mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
Replace foo
with __NIX_STR
in cxx-big-literal
Looks a little nicer when you check the generated sources.
This commit is contained in:
parent
3120fef01b
commit
ea8faf8e9a
@ -1,5 +1,5 @@
|
||||
%.gen.hh: %
|
||||
@echo 'R"foo(' >> $@.tmp
|
||||
@echo 'R"__NIX_STR(' >> $@.tmp
|
||||
$(trace-gen) cat $< >> $@.tmp
|
||||
@echo ')foo"' >> $@.tmp
|
||||
@echo ')__NIX_STR"' >> $@.tmp
|
||||
@mv $@.tmp $@
|
||||
|
Loading…
Reference in New Issue
Block a user