fix: syntax error - misplaced parenthesis

This commit is contained in:
poyhen 2024-11-11 00:04:05 +03:00 committed by GitHub
parent 359c119582
commit 9274ae42fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.