1
0
Fork 0
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:
Jess 2025-05-03 01:23:57 +12:00 committed by GitHub
parent f15be4feb6
commit 2eabb26d08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 2 deletions

View file

@ -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"