diff options
Diffstat (limited to 'src/libexpr/flake/meson.build')
-rw-r--r-- | src/libexpr/flake/meson.build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libexpr/flake/meson.build b/src/libexpr/flake/meson.build new file mode 100644 index 000000000..3ecc30f4e --- /dev/null +++ b/src/libexpr/flake/meson.build @@ -0,0 +1,8 @@ +libexpr_generated_headers += custom_target( + command : [ 'bash', '-c', 'echo \'R"__NIX_STR(\' | cat - @INPUT@ && echo \')__NIX_STR"\'' ], + input : 'call-flake.nix', + output : '@PLAINNAME@.gen.hh', + capture : true, + install : true, + install_dir : includedir / 'nix/flake', +) |