From 45cf5c7c6fac861415afe7318362c98395e5321c Mon Sep 17 00:00:00 2001 From: ccicnce113424 Date: Mon, 27 Apr 2026 02:42:57 +0800 Subject: [PATCH] nixos/dae: remove assertion that causes IFD This assertion attempts to check whether a path in a derivation exists, causing an IFD, which is not allowed in nixpkgs. This assertion is not necessary, as the path will be used to create a symlink, and if it does not exist, the symlink creation will fail. Fixes #513486. --- nixos/modules/services/networking/dae.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nixos/modules/services/networking/dae.nix b/nixos/modules/services/networking/dae.nix index bc907066749e..24fa4fa1a632 100644 --- a/nixos/modules/services/networking/dae.nix +++ b/nixos/modules/services/networking/dae.nix @@ -163,14 +163,6 @@ in }; assertions = [ - { - assertion = lib.pathExists (toString (genAssetsDrv cfg.assets) + "/share/v2ray"); - message = '' - Packages in `assets` has no preset paths included. - Please set `assetsPath` instead. - ''; - } - { assertion = !((config.services.dae.config != null) && (config.services.dae.configFile != null)); message = ''