mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
flake: Keep crates/**/*.txt files for build
Fix builds broken due to `include_str!` failing to read a text file.
This commit is contained in:
committed by
Fintan Halpenny
parent
9954a79490
commit
0095fdc585
@@ -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 = ./.;
|
||||
|
||||
Reference in New Issue
Block a user