mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-24 00:42:39 +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;
|
||
|
}
|