krebs.tinc.*.hostsArchive: fix file mode
This commit is contained in:
parent
8d5222c2f7
commit
4c2184a0f1
@ -110,8 +110,12 @@ let
|
||||
hostsArchive = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.runCommand "retiolum-hosts.tar.bz2" {} ''
|
||||
${pkgs.coreutils}/bin/ln -s ${tinc.config.hostsPackage} hosts
|
||||
${pkgs.gnutar}/bin/tar -hcjf $out hosts
|
||||
cp \
|
||||
--no-preserve=mode \
|
||||
--recursive \
|
||||
${tinc.config.hostsPackage} \
|
||||
hosts
|
||||
${pkgs.gnutar}/bin/tar -cjf $out hosts
|
||||
'';
|
||||
readOnly = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user