summary refs log tree commit diff
path: root/nixos/modules/services/databases/hbase.nix
diff options
context:
space:
mode:
authorVanilla <osu_Vanilla@126.com>2021-11-20 15:29:34 +0800
committerVanilla <osu_Vanilla@126.com>2021-11-20 15:29:36 +0800
commit35ec24523b71f4a79409b3b3ded4e4f9c2c39046 (patch)
treeea88e5e13da60ea5d9f974aeec9d389ca19b9451 /nixos/modules/services/databases/hbase.nix
parent145cdd6e7e6fce0f973ffe48eac53a18d2f9eb19 (diff)
downloadnixpkgs-35ec24523b71f4a79409b3b3ded4e4f9c2c39046.tar
nixpkgs-35ec24523b71f4a79409b3b3ded4e4f9c2c39046.tar.gz
nixpkgs-35ec24523b71f4a79409b3b3ded4e4f9c2c39046.tar.bz2
nixpkgs-35ec24523b71f4a79409b3b3ded4e4f9c2c39046.tar.lz
nixpkgs-35ec24523b71f4a79409b3b3ded4e4f9c2c39046.tar.xz
nixpkgs-35ec24523b71f4a79409b3b3ded4e4f9c2c39046.tar.zst
nixpkgs-35ec24523b71f4a79409b3b3ded4e4f9c2c39046.zip
nixos/hbase: Fix missing top-level in hbase-site.xml
Diffstat (limited to 'nixos/modules/services/databases/hbase.nix')
-rw-r--r--nixos/modules/services/databases/hbase.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/hbase.nix b/nixos/modules/services/databases/hbase.nix
index 183c8a2f46d..181be2d6b0b 100644
--- a/nixos/modules/services/databases/hbase.nix
+++ b/nixos/modules/services/databases/hbase.nix
@@ -22,7 +22,10 @@ let
         configAttr));
 
   configFile = pkgs.writeText "hbase-site.xml"
-    (buildProperty (defaultConfig // cfg.settings));
+    ''<configuration>
+        ${buildProperty (defaultConfig // cfg.settings)}
+      </configuration>
+    '';
 
   configDir = pkgs.runCommand "hbase-config-dir" { preferLocalBuild = true; } ''
     mkdir -p $out