Commit Graph

9 Commits

Author SHA1 Message Date
Ivan Petkov
6f7504ad93
Drop dependency on nixpkgs (#692)
Callers should use `mkLib` with an instantiation of `pkgs` instead of
using `crane.lib.${system}` directly
2024-08-29 23:29:16 +00:00
Ivan Petkov
a3f0c63eed
Try to avoid IFD in vendorCargoDeps and crateNameFromCargoToml; also avoid recommending nesting cleanCargoSource and path (#641)
We don't need to nest `cleanCargoSource` and `path` just to populate a
default value for `name`. As they both ultimately delegate to
`builtins.path`, the nesting can lead to IFD in situations which are
otherwise avoidable
2024-06-10 20:53:46 -07:00
drishal
832e916eda
examples/cross-windows: fix issues related to openssl and libring (#588)
---------

Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-04-21 03:06:32 +00:00
Ivan Petkov
85e31d408a
examples: avoid re-instantiating nixpkgs where possible (#460)
* i.e. if we neither set localSystem/crossSystem, nor add overlays, we
  can directly utilize `nixpkgs.legacyPackages.${system}` directly and
  avoid re-evaluating nixpkgs an additional time
2023-11-26 18:37:43 +00:00
Ivan Petkov
2b1203872d
chore: clean up some dead code warnings (#449) 2023-11-05 18:42:08 +00:00
Ivan Petkov
ff6e2c1f24
ci: also use fast-flake-check for examples (#433) 2023-10-16 19:56:16 -07:00
Ivan Petkov
6fd78bc66a
Add path as a convenience wrapper around builtins.path (#273) 2023-03-19 20:57:15 -07:00
Ivan Petkov
746a603a61
templates: add .gitignore file (#254) 2023-02-25 23:01:57 +00:00
Ivan Petkov
ea3a813939
examples: add cross-windows (#218)
* ci: disable running examples
2023-01-07 01:11:42 +00:00