From 5e0baa153e62f8a66462622474e5cd0ee4206b22 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 8 Dec 2019 13:40:38 +0100 Subject: treewide: use `runCommandLocal` where applicable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `runCommandLocal` was added to nixpkgs in https://github.com/NixOS/nixpkgs/pull/74642 to speed up trivial `runCommand` derivations by always building them locally. We have a few places where that’s good to use. --- modules/user/aszlig/services/vlock/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/aszlig/services') diff --git a/modules/user/aszlig/services/vlock/default.nix b/modules/user/aszlig/services/vlock/default.nix index 439c1b07..c76e176f 100644 --- a/modules/user/aszlig/services/vlock/default.nix +++ b/modules/user/aszlig/services/vlock/default.nix @@ -3,7 +3,7 @@ let cfg = config.vuizvui.user.aszlig.services.vlock; - messageFile = pkgs.runCommand "message.cat" {} '' + messageFile = pkgs.runCommandLocal "message.cat" {} '' echo -en '\e[H\e[2J\e[?25l' > "$out" "${pkgs.vuizvui.aszlig.aacolorize}/bin/aacolorize" \ "${./message.cat}" "${./message.colmap}" \ -- cgit 1.4.1