mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
chore: regex from source
This commit is contained in:
parent
082b45be63
commit
402d2c7b45
1 changed files with 6 additions and 8 deletions
|
|
@ -15,14 +15,12 @@
|
||||||
let
|
let
|
||||||
src = lib.fileset.toSource {
|
src = lib.fileset.toSource {
|
||||||
root = ../.;
|
root = ../.;
|
||||||
fileset = lib.fileset.intersection (lib.fileset.fromSource (lib.sources.cleanSource ../.)) (
|
fileset = lib.fileset.unions [
|
||||||
lib.fileset.unions [
|
../assets
|
||||||
../assets
|
../Cargo.toml
|
||||||
../Cargo.toml
|
../Cargo.lock
|
||||||
../Cargo.lock
|
(lib.fileset.fromSource (lib.sources.sourceByRegex ../. [ "^yazi-.*" ]))
|
||||||
(lib.fileset.fileFilter (file: file.hasExt "rs" || file.hasExt "toml") ../.)
|
];
|
||||||
]
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue