mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-11-21 23:53:12 +01:00
fix: syntax error - misplaced parenthesis (#193)
This commit is contained in:
parent
359c119582
commit
b887cf1c10
@ -27,13 +27,13 @@ add the following code to one of your Nix modules:
|
|||||||
(let base = pkgs.appimageTools.defaultFhsEnvArgs; in
|
(let base = pkgs.appimageTools.defaultFhsEnvArgs; in
|
||||||
pkgs.buildFHSUserEnv (base // {
|
pkgs.buildFHSUserEnv (base // {
|
||||||
name = "fhs";
|
name = "fhs";
|
||||||
targetPkgs = pkgs: (
|
targetPkgs = pkgs:
|
||||||
# pkgs.buildFHSUserEnv provides only a minimal FHS environment,
|
# pkgs.buildFHSUserEnv provides only a minimal FHS environment,
|
||||||
# lacking many basic packages needed by most software.
|
# lacking many basic packages needed by most software.
|
||||||
# Therefore, we need to add them manually.
|
# Therefore, we need to add them manually.
|
||||||
#
|
#
|
||||||
# pkgs.appimageTools provides basic packages required by most software.
|
# pkgs.appimageTools provides basic packages required by most software.
|
||||||
(base.targetPkgs pkgs) ++ with pkgs; [
|
(base.targetPkgs pkgs) ++ (with pkgs; [
|
||||||
pkg-config
|
pkg-config
|
||||||
ncurses
|
ncurses
|
||||||
# Feel free to add more packages here if needed.
|
# Feel free to add more packages here if needed.
|
||||||
|
Loading…
Reference in New Issue
Block a user