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