mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
nixos/hadoop: fix errors in HTTPFS
This commit is contained in:
parent
8331b56701
commit
57225575df
1 changed files with 8 additions and 3 deletions
|
@ -72,6 +72,13 @@ in
|
|||
'';
|
||||
};
|
||||
inherit restartIfChanged;
|
||||
openFirewall = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Open firewall ports for HTTPFS
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -159,9 +166,7 @@ in
|
|||
wantedBy = [ "multi-user.target" ];
|
||||
inherit (cfg.hdfs.httpfs) restartIfChanged;
|
||||
|
||||
environment = {
|
||||
HTTPFS_TEMP = cfg.hdfs.httpfs.tempPath;
|
||||
};
|
||||
environment.HTTPFS_TEMP = cfg.hdfs.httpfs.tempPath;
|
||||
|
||||
preStart = ''
|
||||
mkdir -p $HTTPFS_TEMP
|
||||
|
|
Loading…
Reference in a new issue