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
17d9e9dedd
Update internal flake.lock ( #639 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'advisory-db':
'github:rustsec/advisory-db/21c622592e8334057d6b56ea7249020ae74affa5?narHash=sha256-b413fI9LPrum1RXnddiQyiNjlIkZ5/Q8jBscMIYeW0Y%3D' (2024-05-21)
→ 'github:rustsec/advisory-db/af76d4423761499f954411bb3071dcc72e6b0450?narHash=sha256-LHjTqlOLgtv43GVkeM7Hb5HcZG5i/vNHnWgYaUzu%2BJg%3D' (2024-06-05)
• Updated input 'crane':
'github:ipetkov/crane/7443df1c478947bf96a2e699209f53b2db26209d?narHash=sha256-TjUX7WWRcrhuUxDHsR8pDR2N7jitqZehgCVSy3kBeS8%3D' (2024-05-19)
→ 'github:ipetkov/crane/a21d14679fb306ab8fa6ae0255eb9dc185039367?narHash=sha256-dHwxCMe/Ki1xOAnbF9jQTXSFAMujpTnwWMbXvxcb5Uo%3D' (2024-06-09)
• Updated input 'fenix':
'github:nix-community/fenix/b6fc5035b28e36a98370d0eac44f4ef3fd323df6?narHash=sha256-pYcjP6Gy7i6jPWrjiWAVV0BCQp%2BDdmGaI/k65lBb/kM%3D' (2024-05-22)
→ 'github:nix-community/fenix/ab655c627777ab5f9964652fe23bbb1dfbd687a8?narHash=sha256-ixopuTeTouxqTxfMuzs6IaRttbT8JqRW5C9Q/57WxQw%3D' (2024-06-08)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/21ec8f523812b88418b2bfc64240c62b3dd967bd?narHash=sha256-NJgrwLiLGHDrCia5AeIvZUHUY7xYGVryee0/9D3Ir1I%3D' (2024-05-19)
→ 'github:rust-lang/rust-analyzer/48bbdd6a74f3176987d5c809894ac33957000d19?narHash=sha256-%2BlRAmz92CNUxorqWusgJbL9VE1eKCnQQojglRemzwkw%3D' (2024-06-05)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4e08cafd686c7b2a191a82e593762c3a095f88eb?narHash=sha256-E2fIxlfUVjxJM%2BRm7Y9c0xQjpzbCTTGgvViHy3tF7N8%3D' (2024-06-02)
→ 'github:NixOS/nixpkgs/ae70e52bc33a8641b26548aec2418c2ac81329b9?narHash=sha256-g4ElKga%2BDO85wG2zWhyJ/YqykxbK6pAf3A1BkOZOjKI%3D' (2024-06-09)
• Updated input 'nixpkgs-darwin':
'github:NixOS/nixpkgs/75000c2cf4422c8a1776284314921ac1289c02c9?narHash=sha256-T%2B0Q1QHBDCoa4yBJrY7cG3vDEhqm4PwOLmNI6mzEwVc%3D' (2024-05-30)
→ 'github:NixOS/nixpkgs/0d2739fb1cc99ff7ec1afdf1c331dbc9552000a9?narHash=sha256-HTFLVJQK2nWYxbeR1tEgXhHYeQj19sPlyxC1Q1t7UEw%3D' (2024-06-07)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/66a43411079d0d1b1b776c0a6ced20a5df896edb?narHash=sha256-PDPMpBVv%2B6XdV4FvBWk002IBGofDIWCpo9ewks0kStM%3D' (2024-05-24)
→ 'github:oxalica/rust-overlay/1f536afad5c18ea4ae6bb592c3fef038e1e33568?narHash=sha256-9Z95F8lnY/5sOf7Z4IdABKz1ulB0ueNrZU864rQj280%3D' (2024-06-09)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-09 16:51:10 +00:00
Ivan Petkov
a21d14679f
Update cross compile example ( #638 )
...
* Sometimes we also need to set the TARGET_CC environment variable to
allow cross compiling crates which also need to build a program to run
on the build platform itself
2024-06-09 01:15:24 +00:00
Ivan Petkov
55e7754ec3
ci: switch to using macos-latest
2024-06-04 14:18:50 -07:00
Ivan Petkov
7e86136dc7
Update flake.lock ( #637 )
...
* flake.lock: Update
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/94035b482d181af0a0f8f77823a790b256b7c3cc?narHash=sha256-kjQkA98lMcsom6Gbhw8SYzmwrSo%2B2nruiTcTZp5jK7o%3D' (2024-05-02)
→ 'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0?narHash=sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY%3D' (2024-05-30)
* Fix darwin examples
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-04 02:46:27 +00:00
Ivan Petkov
ad21f86e47
Drop support for nixpkgs-23.11 ( #635 )
2024-06-02 20:52:54 -07:00
Ivan Petkov
b65673fce9
Update CHANGELOG
2024-06-02 20:02:20 -07:00
Ivan Petkov
9787dc25b2
lib: use makeScopeWithSplicing' instead of makeScope ( #634 )
2024-06-03 02:48:19 +00:00
dependabot[bot]
ae1453ffd0
chore(deps): bump cachix/install-nix-action from 26 to 27
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-02 01:02:03 +00:00
dependabot[bot]
a2521dfe89
chore(deps): bump cachix/cachix-action from 14 to 15 ( #633 )
2024-06-02 00:41:09 +00:00
Rebecca Turner
480dff0be0
Fix xargs signIfRequired
( #631 )
...
`signIfRequired` is a shell function, not an executable, so we can't
call it with `xargs`.
---------
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-05-29 23:24:23 +00:00
Ivan Petkov
19ca94ec2d
Update CHANGELOG
2024-05-26 10:49:12 -07:00
Ivan Petkov
35bc915249
cleanCargoToml: also clean variants using underscores ( #626 )
2024-05-26 17:41:17 +00:00
Ivan Petkov
701dbc191c
removeReferencesToVendoredSources: cache vendorDir crawling ( #625 )
...
There is no reason to repeatedly crawl the vendor directories for each
installed file, we can easily cache the results once up front.
2024-05-25 23:45:24 +00:00
Ivan Petkov
109987da06
Update internal flake.lock ( #624 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'advisory-db':
'github:rustsec/advisory-db/35e7459a331d3e0c585e56dabd03006b9b354088' (2024-04-27)
→ 'github:rustsec/advisory-db/21c622592e8334057d6b56ea7249020ae74affa5' (2024-05-21)
• Updated input 'crane':
'github:ipetkov/crane/442a7a6152f49b907e73206dc8e1f46a61e8e873' (2024-05-04)
→ 'github:ipetkov/crane/7443df1c478947bf96a2e699209f53b2db26209d' (2024-05-19)
• Updated input 'fenix':
'github:nix-community/fenix/f8f16c1f2c83bea4e51e6522d988ec8bfcc8420e' (2024-05-07)
→ 'github:nix-community/fenix/b6fc5035b28e36a98370d0eac44f4ef3fd323df6' (2024-05-22)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/c4618fe14d39992fbbb85c2d6cad028a232c13d2' (2024-05-05)
→ 'github:rust-lang/rust-analyzer/21ec8f523812b88418b2bfc64240c62b3dd967bd' (2024-05-19)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/65b861e661276be6eda989fe513acca26ee6e61f' (2024-05-09)
→ 'github:NixOS/nixpkgs/8f2fa4e35c0257d5961ca0705a3d23ccdfc19e20' (2024-05-24)
• Updated input 'nixpkgs-darwin':
'github:NixOS/nixpkgs/0c592f9a288bdf764b6f24c757277c0e49757a46' (2024-05-07)
→ 'github:NixOS/nixpkgs/bea35f40af16d5d5697a1733b91958596f0fad94' (2024-05-23)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/5c4bc8a0a70093a31a12509c5653c147f2310bd2' (2024-05-09)
→ 'github:oxalica/rust-overlay/66a43411079d0d1b1b776c0a6ced20a5df896edb' (2024-05-24)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-24 16:53:10 +00:00
Ivan Petkov
7443df1c47
Update CHANGELOG
2024-05-19 15:00:51 -07:00
Ivan Petkov
b7a1655564
Fix crate vendoring to not run the default fixup
phase ( #619 )
2024-05-19 21:59:49 +00:00
Ivan Petkov
a4e51f5755
Update CHANGELOG
2024-05-18 18:07:34 -07:00
Ivan Petkov
a7146b0440
flake: deprecate crane.lib.${system} ( #617 )
2024-05-19 01:07:07 +00:00
Ivan Petkov
5b0b062ff0
buildTrunkPackage: disable version checks by default ( #616 )
2024-05-19 00:06:59 +00:00
Ivan Petkov
54fe6fed44
vendorCargoDeps: allow arbitrary overrides when vendoring sources ( #615 )
2024-05-18 23:39:46 +00:00
Ivan Petkov
27025ab71b
Update internal flake.lock ( #611 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'advisory-db':
'github:rustsec/advisory-db/1d1431ceb4d312c0d5c98be63d518b5d472a1149' (2024-04-24)
→ 'github:rustsec/advisory-db/35e7459a331d3e0c585e56dabd03006b9b354088' (2024-04-27)
• Updated input 'crane':
'github:ipetkov/crane/f6c6a2fb1b8bd9b65d65ca9342dd0eb180a63f11' (2024-04-21)
→ 'github:ipetkov/crane/442a7a6152f49b907e73206dc8e1f46a61e8e873' (2024-05-04)
• Updated input 'fenix':
'github:nix-community/fenix/5c3ff469526a6ca54a887fbda9d67aef4dd4a921' (2024-04-24)
→ 'github:nix-community/fenix/f8f16c1f2c83bea4e51e6522d988ec8bfcc8420e' (2024-05-07)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/e31c9f3fe11148514c3ad254b639b2ed7dbe35de' (2024-04-22)
→ 'github:rust-lang/rust-analyzer/c4618fe14d39992fbbb85c2d6cad028a232c13d2' (2024-05-05)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ecc5586a0b9716f457f7974cbc890d68b3e92282' (2024-04-24)
→ 'github:NixOS/nixpkgs/65b861e661276be6eda989fe513acca26ee6e61f' (2024-05-09)
• Updated input 'nixpkgs-darwin':
'github:NixOS/nixpkgs/d4df7c26d03e94dbdabbd350cb89c9565cae07bb' (2024-04-22)
→ 'github:NixOS/nixpkgs/0c592f9a288bdf764b6f24c757277c0e49757a46' (2024-05-07)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/8a2edac3ae926a2a6ce60f4595dcc4540fc8cad4' (2024-04-24)
→ 'github:oxalica/rust-overlay/5c4bc8a0a70093a31a12509c5653c147f2310bd2' (2024-05-09)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-09 17:12:43 +00:00
Ivan Petkov
442a7a6152
crane-utils: bump dependencies ( #609 )
2024-05-04 23:12:35 +00:00
Ivan Petkov
7561856e5e
examples: fix quick-start-simple warning against accidental rebuilds ( #607 )
2024-05-04 19:56:48 +00:00
Ivan Petkov
92d2b4b64a
Use resolver = 2 in all Cargo.tomls ( #608 )
2024-05-04 19:56:00 +00:00
Ivan Petkov
33d5862dbb
crateNameFromCargoToml: support selecting a name from metadata
( #606 )
2024-05-04 19:36:42 +00:00
Ivan Petkov
dbc8bc7fe9
examples: tweak quick-start-simple to warn against accidental rebuilds ( #605 )
2024-05-04 11:04:08 -07:00
x10an14
23c2d75556
cargoDoc: support docInstallRoot to influence installation behavior ( #603 )
...
---------
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-05-04 17:49:24 +00:00
Jean
cd1bb8fb22
Remove cargoExtraArgs from cargoAudit ( #602 )
...
---------
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-05-04 17:20:06 +00:00
Ivan Petkov
c5ee4371ee
Update CHANGELOG
2024-05-04 10:07:24 -07:00
Ivan Petkov
276437b6bc
Update CHANGELOG
2024-05-04 10:06:45 -07:00
Ivan Petkov
d707d41f53
Update CHANGELOG
2024-05-04 10:02:30 -07:00
Ivan Petkov
234eee4fa4
Update flake.lock ( #604 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/2e359fb3162c85095409071d131e08252d91a14f' (2024-04-17)
→ 'github:NixOS/nixpkgs/94035b482d181af0a0f8f77823a790b256b7c3cc' (2024-05-02)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-03 16:59:22 +00:00
Ivan Petkov
3124551aeb
chore: update end-to-end-example deps ( #601 )
2024-05-01 04:05:27 +00:00
Ivan Petkov
00f6a63411
chore: update envrc and ignore .direnv
2024-04-30 20:56:19 -07:00
Nick Boultbee
cc1c68d5a3
Fix typo in cargoNextestExtraArgs
docs ( #599 )
2024-05-01 01:33:35 +00:00
Ivan Petkov
a5eca68a2c
Update internal flake.lock ( #598 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'advisory-db':
'github:rustsec/advisory-db/0bc9a77248be5cb5f2b51fe6aba8ba451d74c6bb' (2024-04-03)
→ 'github:rustsec/advisory-db/1d1431ceb4d312c0d5c98be63d518b5d472a1149' (2024-04-24)
• Updated input 'crane':
'github:ipetkov/crane/9caad1eb0c69a13ee6467035353b71a76c85ea53' (2024-04-07)
→ 'github:ipetkov/crane/f6c6a2fb1b8bd9b65d65ca9342dd0eb180a63f11' (2024-04-21)
• Updated input 'fenix':
'github:nix-community/fenix/6f702a6dc8db259225a2f34510c077fe33c1f52e' (2024-04-09)
→ 'github:nix-community/fenix/5c3ff469526a6ca54a887fbda9d67aef4dd4a921' (2024-04-24)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/7a8374c162c64c17e865b98aad282d16b16e96d6' (2024-04-08)
→ 'github:rust-lang/rust-analyzer/e31c9f3fe11148514c3ad254b639b2ed7dbe35de' (2024-04-22)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/73844014f48f8f968f98366b33bbdcf693d6d407' (2024-04-09)
→ 'github:NixOS/nixpkgs/ecc5586a0b9716f457f7974cbc890d68b3e92282' (2024-04-24)
• Updated input 'nixpkgs-darwin':
'github:NixOS/nixpkgs/053ca46068a9a092c8909dd4daa7a099b16e4d91' (2024-04-07)
→ 'github:NixOS/nixpkgs/d4df7c26d03e94dbdabbd350cb89c9565cae07bb' (2024-04-22)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/e7354bb9e5f68b2074e272fd5f5ac3f4848860ba' (2024-04-09)
→ 'github:oxalica/rust-overlay/8a2edac3ae926a2a6ce60f4595dcc4540fc8cad4' (2024-04-24)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-24 17:19:12 +00:00
Ivan Petkov
f6c6a2fb1b
Add workspace example ( #597 )
2024-04-21 22:23:03 +00:00
Ivan Petkov
55f4939ac5
docs: add a primer on .override and .overrideAttrs ( #596 )
2024-04-21 17:39:41 +00:00
Ivan Petkov
61da6eb597
Update issue templates
2024-04-21 09:44:36 -07:00
Ivan Petkov
eae7b998d3
Add issue templates
2024-04-21 09:38:48 -07:00
Ivan
3dda6d40ca
Fix bug with comment for inline table key ( #583 )
...
---------
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-04-21 04:19:57 +00:00
Simon Žlender
9b32adff97
mkDummySrc: ignore clippy warnings in dummyrs ( #587 )
...
---------
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-04-21 03:57:27 +00: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
45ea0059fb
Update flake.lock ( #593 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/080a4a27f206d07724b88da096e27ef63401a504' (2024-04-02)
→ 'github:NixOS/nixpkgs/2e359fb3162c85095409071d131e08252d91a14f' (2024-04-17)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-18 17:01:41 +00:00
Ivan Petkov
220387ac8e
Update internal flake.lock ( #582 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/171e22f974b1230e6765ea685f1eb799eb38d36a' (2024-04-03)
→ 'github:ipetkov/crane/9caad1eb0c69a13ee6467035353b71a76c85ea53' (2024-04-07)
• Updated input 'fenix':
'github:nix-community/fenix/97d6dbee004b24057fa2a6f2e4a5c535259d8aed' (2024-04-03)
→ 'github:nix-community/fenix/6f702a6dc8db259225a2f34510c077fe33c1f52e' (2024-04-09)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/c3b8c2a25413e2aa58295d18c12902a624471b74' (2024-04-02)
→ 'github:rust-lang/rust-analyzer/7a8374c162c64c17e865b98aad282d16b16e96d6' (2024-04-08)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1487bdea619e4a7a53a4590c475deabb5a9d1bfb' (2024-04-03)
→ 'github:NixOS/nixpkgs/73844014f48f8f968f98366b33bbdcf693d6d407' (2024-04-09)
• Updated input 'nixpkgs-darwin':
'github:NixOS/nixpkgs/f8de91f6ad163406f09d715dee450e0e795d21ba' (2024-04-03)
→ 'github:NixOS/nixpkgs/053ca46068a9a092c8909dd4daa7a099b16e4d91' (2024-04-07)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/74deb67494783168f5b6d2071d73177e6bccab65' (2024-04-03)
→ 'github:oxalica/rust-overlay/e7354bb9e5f68b2074e272fd5f5ac3f4848860ba' (2024-04-09)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-09 16:53:49 +00:00
Ivan Petkov
9caad1eb0c
Update CHANGELOG
2024-04-07 11:11:57 -07:00
Ivan Petkov
b47c4078b0
vendorCargoDeps: handle unused patch dependencies ( #581 )
2024-04-07 10:45:14 -07:00
Ivan Petkov
1e44708c0b
chore: bump crane-utils deps ( #580 )
2024-04-05 20:48:03 +00:00
Ivan Petkov
534860a39c
chore: bump Cargo.locks ( #579 )
2024-04-05 20:21:41 +00:00