Commit Graph

10 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
7ce9281980
Update internal flake.lock (#679)
* test/flake.lock: Update

Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/0e7413f7941015a388b58730a53bf2529f50ab14' (2024-07-23)
  → 'github:rustsec/advisory-db/201638b35a3e85b7794e84cc73f876d7a2b7ad51' (2024-08-16)
• Updated input 'crane':
    'github:ipetkov/crane/0081e9c447f3b70822c142908f08ceeb436982b8' (2024-07-23)
  → 'github:ipetkov/crane/4c6c77920b8d44cd6660c1621dea6b3fc4b4c4f4' (2024-08-06)
• Updated input 'fenix':
    'github:nix-community/fenix/31cd6d83e0e3900f10053daf33bd878792946282' (2024-07-24)
  → 'github:nix-community/fenix/73b4e46c0f6e93b104f5a9c9573bd2ad0e319061' (2024-08-18)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/eb5da56d839ae0a9e9f50774fa3eb78eb0964550' (2024-07-23)
  → 'github:rust-lang/rust-analyzer/fa003262474185fd62168379500fe906b331824b' (2024-08-17)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2e19d60f8f7ad31c7991ac040e7b24c4f1a59bbe' (2024-07-24)
  → 'github:NixOS/nixpkgs/38fb99e12ff992a05641086dba26d1a5849929d1' (2024-08-18)
• Updated input 'nixpkgs-darwin':
    'github:NixOS/nixpkgs/ea73e7ae9dea53d112cb08fb78f4e00d1f686c54' (2024-07-22)
  → 'github:NixOS/nixpkgs/1cbd3d585263dc620c483e138d352a39b9f0e3ec' (2024-08-17)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a6afdaab4a47d6ecf647a74968e92a51c4a18e5a' (2024-07-24)
  → 'github:oxalica/rust-overlay/456e78a55feade2c3bc6d7bc0bf5e710c9d86120' (2024-08-18)

* examples/build-std: fix build
2024-08-18 18:36:20 +00:00
Ivan Petkov
1791a5b98d
Drop non-existent input override for oxalica/rust-overlay (#663) 2024-07-14 16:36:42 +00:00
Simon Žlender
aa5dcd0518
Splice overrideToolchain (#652)
---------

Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-06-29 11:29:52 -07: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
Ivan Petkov
d4bddd0a8c
chore: update all examples with strictDeps = true; (#430) 2023-10-15 22:25:34 +00:00
Ivan Petkov
9d6bf09d32
chore: clean up some dead code 2023-10-15 11:38:35 -07:00
Rebecca Turner
7b92b595c9
Add devshell helper (#378) 2023-09-03 10:33:10 -07:00
Ivan Petkov
f31931d6f8
Update support to nixos-23.05 (#339)
Dropping support for nixos-22.11
2023-06-08 00:15:38 +00:00
Ivan Petkov
f491bee4f9
Add support for building standard library crates (#287)
* vendorCargoRegistries: accept `registries` from the caller if specified
* Add vendorMultipleCargoDeps
2023-04-02 17:57:17 +00:00