attic/build.rs: Fix filename in workaround comment

This commit is contained in:
Zhaofeng Li 2024-06-01 13:47:27 -06:00
parent ec0469cad0
commit ff3ce2c0b8

View file

@ -24,7 +24,7 @@ fn build_bridge() {
.flag("nix/config.h") .flag("nix/config.h")
.flag("-idirafter") .flag("-idirafter")
.flag(hacky_include.path().to_str().unwrap()) .flag(hacky_include.path().to_str().unwrap())
// In Nix 2.19+, nix/args/root.hh depends on being able to #include "root.hh" (which is in its parent directory), for some reason // In Nix 2.19+, nix/args/root.hh depends on being able to #include "args.hh" (which is in its parent directory), for some reason
.flag("-I") .flag("-I")
.flag(concat!(env!("NIX_INCLUDE_PATH"), "/nix")) .flag(concat!(env!("NIX_INCLUDE_PATH"), "/nix"))
.compile("nixbinding"); .compile("nixbinding");