From f39f1e58a29756606e1d56cf7de0ff7934631462 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Sat, 15 Jun 2019 10:33:12 +0200 Subject: [PATCH] borgbackup: fix some minor issues --- borgbackup.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/borgbackup.nix b/borgbackup.nix index 0be617d..579bdd8 100644 --- a/borgbackup.nix +++ b/borgbackup.nix @@ -1,8 +1,8 @@ -{ pkgs, stdenv, ... }: +{ pkgs, ... }: let borgPassCommand = pkgs.writeScript "borgPassCommand" '' - #!${stdenv.shell} + #!${pkgs.stdenv.shell} set -euo pipefail # Make sure everything but the password ends up on stderr exec 3>&1 >&2 @@ -33,7 +33,7 @@ in }; encryption = { mode = "repokey"; - passCommand = borgPassCommand; + passCommand = "${borgPassCommand}"; }; compression = "auto,lz4"; startAt = "hourly";