home-manager/files/mutable-files: update fetch script (again)

This commit is contained in:
Gabriel Arazas 2024-03-02 12:44:02 +08:00
parent c73f9e0c1e
commit 56463dec13
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -178,13 +178,14 @@ in
'')
cfg;
script = pkgs.writeShellApplication {
name = "fetch-mutable-files";
runtimeInputs = with pkgs; [ archiver curl git gopass ];
text = lib.concatStringsSep "\n" mutableFilesCmds;
};
runtimeInputs = lib.makeBinPath (with pkgs; [
archiver curl git gopass
]);
in
"${script}/bin/fetch-mutable-files";
pkgs.writeShellScript "fetch-mutable-files" ''
export PATH=${runtimeInputs}
${lib.concatStringsSep "\n" mutableFilesCmds}
'';
ExecStartPost =
let