From 02b699e99bc21d8b70acb958ffc763b1f7c7d6fa Mon Sep 17 00:00:00 2001 From: lucasew Date: Tue, 23 Aug 2022 20:02:47 -0300 Subject: [PATCH] keepass: minor refactor Signed-off-by: lucasew --- pkgs/applications/misc/keepass/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/keepass/default.nix b/pkgs/applications/misc/keepass/default.nix index bc281bea16ac..f9c78dfc6fbf 100644 --- a/pkgs/applications/misc/keepass/default.nix +++ b/pkgs/applications/misc/keepass/default.nix @@ -1,7 +1,8 @@ { lib, fetchurl, buildDotnetPackage, substituteAll, makeWrapper, makeDesktopItem, unzip, icoutils, gtk2, xorg, xdotool, xsel, coreutils, unixtools, glib, plugins ? [] }: - -with builtins; buildDotnetPackage rec { +let + inherit (builtins) add length readFile replaceStrings unsafeDiscardStringContext toString map; +in buildDotnetPackage rec { pname = "keepass"; version = "2.49";