From fed3044a71382cc0ee37d91ddbbd2e8821ca683b Mon Sep 17 00:00:00 2001 From: Wx Date: Mon, 3 Jul 2023 03:22:48 +0800 Subject: [PATCH] fix: code error --- docs/zh/best-practices/run-downloaded-binaries-on-nixos.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/best-practices/run-downloaded-binaries-on-nixos.md b/docs/zh/best-practices/run-downloaded-binaries-on-nixos.md index d76fb23..6a02522 100644 --- a/docs/zh/best-practices/run-downloaded-binaries-on-nixos.md +++ b/docs/zh/best-practices/run-downloaded-binaries-on-nixos.md @@ -17,7 +17,7 @@ NixOS 不遵循 FHS 标准,因此你从网上下载的二进制程序在 NixOS # ......o # 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"; targetPkgs = pkgs: ( # pkgs.buildFHSUserEnv 只提供一个最小的 FHS 环境,缺少很多常用软件所必须的基础包