mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-12-30 18:48:50 +01:00
fix: code error
This commit is contained in:
parent
4b595a2c48
commit
fed3044a71
@ -17,7 +17,7 @@ NixOS 不遵循 FHS 标准,因此你从网上下载的二进制程序在 NixOS
|
|||||||
# ......o
|
# ......o
|
||||||
|
|
||||||
# create a fhs environment by command `fhs`, so we can run non-nixos packages in nixos!
|
# create a fhs environment by command `fhs`, so we can run non-nixos packages in nixos!
|
||||||
(pkgs.buildFHSUserEnv (base // {
|
(pkgs.buildFHSUserEnv (pkgs.appimageTools.defaultFhsEnvArgs // {
|
||||||
name = "fhs";
|
name = "fhs";
|
||||||
targetPkgs = pkgs: (
|
targetPkgs = pkgs: (
|
||||||
# pkgs.buildFHSUserEnv 只提供一个最小的 FHS 环境,缺少很多常用软件所必须的基础包
|
# pkgs.buildFHSUserEnv 只提供一个最小的 FHS 环境,缺少很多常用软件所必须的基础包
|
||||||
|
Loading…
Reference in New Issue
Block a user