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
|
||||
src = lib.fileset.toSource {
|
||||
root = ../.;
|
||||
fileset = lib.fileset.intersection (lib.fileset.fromSource (lib.sources.cleanSource ../.)) (
|
||||
lib.fileset.unions [
|
||||
../assets
|
||||
../Cargo.toml
|
||||
../Cargo.lock
|
||||
(lib.fileset.fileFilter (file: file.hasExt "rs" || file.hasExt "toml") ../.)
|
||||
]
|
||||
);
|
||||
fileset = lib.fileset.unions [
|
||||
../assets
|
||||
../Cargo.toml
|
||||
../Cargo.lock
|
||||
(lib.fileset.fromSource (lib.sources.sourceByRegex ../. [ "^yazi-.*" ]))
|
||||
];
|
||||
};
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue