mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-11-29 03:24:19 +01:00
commit
9fa16069f5
@ -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