mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-03 07:31:03 +01:00
restic: allow the convenience script to source environmentFile (#6947)
This commit is contained in:
parent
f15be4feb6
commit
2eabb26d08
3 changed files with 24 additions and 2 deletions
|
|
@ -508,8 +508,12 @@ in
|
|||
in
|
||||
pkgs.writeShellApplication {
|
||||
name = "restic-${name}";
|
||||
# https://github.com/koalaman/shellcheck/issues/1986
|
||||
excludeShellChecks = [ "SC2034" ];
|
||||
excludeShellChecks = [
|
||||
# https://github.com/koalaman/shellcheck/issues/1986
|
||||
"SC2034"
|
||||
# Allow sourcing environmentFile
|
||||
"SC1091"
|
||||
];
|
||||
bashOptions = [
|
||||
"errexit"
|
||||
"nounset"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue