mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-29 21:42:23 +03:00
12 lines
207 B
Nix
12 lines
207 B
Nix
{ filterCargoSources
|
|
, lib
|
|
}:
|
|
|
|
src: lib.cleanSourceWith {
|
|
# Apply the default source cleaning from nixpkgs
|
|
src = lib.cleanSource src;
|
|
|
|
# Then add our own filter on top
|
|
filter = filterCargoSources;
|
|
}
|