diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-05-21 09:08:50 -0400 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-05-21 09:08:50 -0400 |
commit | 55bbfd9fc2c20d3f5af9bafca469c87315fac209 (patch) | |
tree | d2d3975f9cbbd3b55fc21c393c61570c7671d886 /pkgs/zone-files | |
parent | ebca5f0a25bbd7649083669bb838b29c9191716b (diff) |
dns: Use absolute includes
Diffstat (limited to 'pkgs/zone-files')
-rw-r--r-- | pkgs/zone-files/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/zone-files/default.nix b/pkgs/zone-files/default.nix index 840eed1..46c76d0 100644 --- a/pkgs/zone-files/default.nix +++ b/pkgs/zone-files/default.nix @@ -9,5 +9,8 @@ stdenv.mkDerivation rec { installPhase = '' mkdir $out cp $src/* $out/ + + # Rewrite relative include paths + sed $out/* -i -e 's,^$INCLUDE \([^/]\),$INCLUDE '$out'/\1,' ''; } |