Open
Description
Is your feature request related to a problem? Please describe.
I often want to take advantage of filterCargoSources
, etc. in a context where I have to jump through hoops to get pkgs
. Sometimes I jump through the hoops, other times I hack around them with something like
filterCargoSources = import "${crane}/lib/filterCargoSources.nix" {inherit (nixpkgs) lib;};
Describe the solution you'd like
It would be great if cargo.lib
contained the subset of cargo.mkLib pkgs
that doesn’t need pkgs
.