Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
flake: Keep `crates/**/*.txt` files for build
✗ CI failure Lorenz Leutgeb committed 7 months ago
commit 0095fdc58557b0c195ed97ed4c7e663f63dfbb03
parent 9954a79490ebaead25c1789157aaf5b923b66b9f
2 failed (2 total) View logs
1 file changed +4 -1
modified flake.nix
@@ -73,7 +73,10 @@
        ]
        ||
        # Default filter from crane (allow .rs files)
-
        (rustup.craneLib.filterCargoSources path type);
+
        (rustup.craneLib.filterCargoSources path type)
+
        ||
+
        # *.txt files might be included with `include_str!`
+
        (builtins.isList (builtins.match ''/?crates/(.*/.*\.txt)'' path));

      src = lib.cleanSourceWith {
        src = ./.;