diff options
author | Profpatsch <mail@profpatsch.de> | 2019-12-08 13:40:38 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2019-12-08 13:55:01 +0100 |
commit | 5e0baa153e62f8a66462622474e5cd0ee4206b22 (patch) | |
tree | 0f1682c3b137feebd5cf3e50814203ff784db1eb /modules/user/openlab | |
parent | f3bc66cbbc4e14940c5b05b1078d1b40fb9807ee (diff) |
treewide: use `runCommandLocal` where applicable
`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.
Diffstat (limited to 'modules/user/openlab')
-rw-r--r-- | modules/user/openlab/speedtest.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/openlab/speedtest.nix b/modules/user/openlab/speedtest.nix index e8770410..6b6d72e3 100644 --- a/modules/user/openlab/speedtest.nix +++ b/modules/user/openlab/speedtest.nix @@ -6,7 +6,7 @@ let bin = drv: name: "${lib.getBin drv}/bin/${name}"; cfg = config.vuizvui.user.openlab.speedtest; - py = pkgs.runCommand "speedtest.py" {} '' + py = pkgs.runCommandLocal "speedtest.py" {} '' cat ${./speedtest.py} \ | sed -e 's|^PING_BIN =.*$|PING_BIN = "${config.security.wrapperDir}/ping"|' \ > $out |