From b887cf1c105ef2ffa11e76266be994b4709427b7 Mon Sep 17 00:00:00 2001 From: poyhen Date: Mon, 11 Nov 2024 04:37:48 +0300 Subject: [PATCH] fix: syntax error - misplaced parenthesis (#193) --- docs/best-practices/run-downloaded-binaries-on-nixos.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/best-practices/run-downloaded-binaries-on-nixos.md b/docs/best-practices/run-downloaded-binaries-on-nixos.md index 224112e..e3124ba 100644 --- a/docs/best-practices/run-downloaded-binaries-on-nixos.md +++ b/docs/best-practices/run-downloaded-binaries-on-nixos.md @@ -27,13 +27,13 @@ add the following code to one of your Nix modules: (let base = pkgs.appimageTools.defaultFhsEnvArgs; in pkgs.buildFHSUserEnv (base // { name = "fhs"; - targetPkgs = pkgs: ( + targetPkgs = pkgs: # pkgs.buildFHSUserEnv provides only a minimal FHS environment, # lacking many basic packages needed by most software. # Therefore, we need to add them manually. # # pkgs.appimageTools provides basic packages required by most software. - (base.targetPkgs pkgs) ++ with pkgs; [ + (base.targetPkgs pkgs) ++ (with pkgs; [ pkg-config ncurses # Feel free to add more packages here if needed.