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 success Lorenz Leutgeb committed 7 months ago
commit 654e970e6acbd08a3179811a83112918457ae50a
parent ee49e28766ce7c703b95e22d177cce046072f03d
1 passed (1 total) View logs
1 file changed +4 -1
modified flake.nix
@@ -71,7 +71,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 = ./.;