From 1f55fe36787515a05a061cb50b753cf4fd01f5e1 Mon Sep 17 00:00:00 2001 From: Jacob Moody Date: Sun, 9 Jul 2023 14:05:42 -0500 Subject: [PATCH] drawterm: enable strict deps and parallel builds --- pkgs/tools/admin/drawterm/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/admin/drawterm/default.nix b/pkgs/tools/admin/drawterm/default.nix index 4955fc8f6613..8451d8b687ff 100644 --- a/pkgs/tools/admin/drawterm/default.nix +++ b/pkgs/tools/admin/drawterm/default.nix @@ -15,7 +15,7 @@ , config }: -stdenv.mkDerivation rec { +stdenv.mkDerivation { pname = "drawterm"; version = "unstable-2023-06-27"; @@ -25,6 +25,8 @@ stdenv.mkDerivation rec { sha256 = "ebqw1jqeRC0FWeUIO/HaEovuwzU6+B48TjZbVJXByvA="; }; + enableParallelBuilding = true; + strictDeps = true; nativeBuildInputs = [ installShellFiles ] ++ { linux = [ pkg-config wayland-scanner ]; unix = [ makeWrapper ]; @@ -47,12 +49,11 @@ stdenv.mkDerivation rec { mv drawterm drawterm.bin install -Dm755 -t $out/bin/ drawterm.bin makeWrapper ${pulseaudio}/bin/padsp $out/bin/drawterm --add-flags $out/bin/drawterm.bin - ''; - }."${config}" or (throw "unsupported CONF") + '' - installManPage drawterm.1 + ''; + }."${config}" or (throw "unsupported CONF") + '' + installManPage drawterm.1 ''; - meta = with lib; { description = "Connect to Plan 9 CPU servers from other operating systems."; homepage = "https://drawterm.9front.org/";