From 365877f6a0d9cc57fae0f498703f49ac37938544 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 21 Aug 2023 12:15:23 +0800 Subject: [PATCH] files/mutable-files: update script --- modules/home-manager/files/mutable-files.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/files/mutable-files.nix b/modules/home-manager/files/mutable-files.nix index 54a2fc1f..ad9968c1 100644 --- a/modules/home-manager/files/mutable-files.nix +++ b/modules/home-manager/files/mutable-files.nix @@ -142,9 +142,11 @@ in '') cfg; - script = pkgs.writeShellScript "fetch-mutable-files" '' - ${lib.concatStringsSep "\n" mutableFilesCmds} - ''; + script = pkgs.writeShellApplication { + name = "fetch-mutable-files"; + runtimeInputs = with pkgs; [ archiver curl git gopass ]; + text = "${lib.concatStringsSep "\n" mutableFilesCmds}"; + }; in builtins.toString script; };