nix: exclude generated directory frontend link from Haskell sources

This commit is contained in:
Moritz Angermann committed 2026-10-15 18:29:02 +09:00
1 parent ea28cd62bc
commit 71beade0fa
1 file changed
+10 -2
+10 -2
View File
@@ -71,9 +71,17 @@
package *
extra-lib-dirs: ${pkgs'.libiconv}/lib
'';
src = pkgs.haskell-nix.haskellLib.cleanGit {
src = pkgs.haskell-nix.haskellLib.cleanSourceWith {
name = "simplex-chat";
src = ./.;
src = pkgs.haskell-nix.haskellLib.cleanGit {
name = "simplex-chat";
src = ./.;
};
# This generated website asset is deployed separately, not as Cabal
# data. Its checkout symlink is dangling until the website is built,
# while the v2 source packager dereferences every included symlink.
filter = path: type: !(type == "symlink" && pkgs.lib.hasSuffix
"/apps/simplex-directory-service/web/directory.js" (toString path));
};
sha256map = import ./scripts/nix/sha256map.nix;
modules = [