mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-27 02:52:02 +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;
|
|
}
|