Ivan Petkov
b7db46f0f1
Update internal flake.lock ( #443 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'advisory-db':
'github:rustsec/advisory-db/71d80e811f2e29a4b82d3e545ad6591e35227e03' (2023-10-14)
→ 'github:rustsec/advisory-db/57d5993efb037c1f9518b7be7ab3a01b4ad475af' (2023-10-24)
• Updated input 'crane':
'github:ipetkov/crane/4c9740c567910b3d7d0c4e9d248440406483fb86' (2023-10-19)
→ 'github:ipetkov/crane/758ae442227103fa501276e8225609a11c99718e' (2023-10-20)
• Updated input 'fenix':
'github:nix-community/fenix/6de79c0b8dfb584d5423bec1612fcc357b32f60f' (2023-10-18)
→ 'github:nix-community/fenix/794fbbbaa9e7eba6fb0ae20b35941a2c795e4dc3' (2023-10-24)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/d6afb4fa239fe7b5b34e5cefa9e58148fdff65b8' (2023-10-16)
→ 'github:rust-lang/rust-analyzer/2f6961aaaf65cff82e43ca9171fd7a824a7d81ca' (2023-10-23)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/80c1aab725151632ddc2a20caeb914e76dd0673c' (2023-10-18)
→ 'github:NixOS/nixpkgs/04f431fe64a5ba8ff129cbbbfec489cfe903982c' (2023-10-24)
• Updated input 'nixpkgs-darwin':
'github:NixOS/nixpkgs/88a11a83389232bb305ff0bfb4ec191f38d3b511' (2023-10-18)
→ 'github:NixOS/nixpkgs/31b322916ae1683d02fd3f4333e66e51f95181ae' (2023-10-23)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/a2ccfb2134622b28668a274e403ba6f075ae1223' (2023-10-18)
→ 'github:oxalica/rust-overlay/a3e829c06eadf848f13d109c7648570ce37ebccd' (2023-10-22)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-24 16:56:53 +00:00
Ivan Petkov
758ae44222
installCargoArtifactsHook: change default installation mode to use-zstd ( #442 )
2023-10-20 22:28:41 +00:00
Aidan Gauland
f8f1b3fc5b
cargoLib.cargoDeny: init ( #440 )
...
---------
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2023-10-20 21:45:03 +00:00
Ivan Petkov
6b229eec8a
fix: correct installFromCargoBuildLogHook docs
2023-10-20 07:11:01 -07:00
Ivan Petkov
bc5fa8cd53
ci: skip cross-musl on macOS
2023-10-18 18:05:53 -07:00
Ivan Petkov
35db201cd9
Update internal flake.lock ( #438 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/bd2e69ee84552b2befe2594060513ea9e01bfeea' (2023-10-18)
→ 'github:ipetkov/crane/4c9740c567910b3d7d0c4e9d248440406483fb86' (2023-10-19)
• Removed input 'crane/flake-compat'
• Removed input 'crane/flake-utils'
• Removed input 'crane/flake-utils/systems'
• Removed input 'crane/rust-overlay'
• Removed input 'crane/rust-overlay/flake-utils'
• Removed input 'crane/rust-overlay/nixpkgs'
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-19 01:05:35 +00:00
Ivan Petkov
4c9740c567
ci: add workflow for updating the internal flake.lock
2023-10-18 17:57:50 -07:00
Ivan Petkov
61cfec4d84
chore: drop all public dependencies except for nixpkgs
( #437 )
2023-10-19 00:57:24 +00:00
Ivan Petkov
81646638f9
ci: pin all example inputs with a single testing flake.lock ( #436 )
2023-10-19 00:30:52 +00:00
Ivan Petkov
bd2e69ee84
Update flake.lock ( #435 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'flake-compat':
'github:edolstra/flake-compat/4f910c9827911b1ec2bf26b5a062cd09f8d89f85' (2023-10-02)
→ 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/0c7ffbc66e6d78c50c38e717ec91a2a14e0622fb' (2023-10-02)
→ 'github:NixOS/nixpkgs/12bdeb01ff9e2d3917e6a44037ed7df6e6c3df9d' (2023-10-15)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/611ccdceed92b4d94ae75328148d84ee4a5b462d' (2023-10-03)
→ 'github:oxalica/rust-overlay/a2ccfb2134622b28668a274e403ba6f075ae1223' (2023-10-18)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-18 16:53:38 +00:00
Ivan Petkov
c97a0c0d83
feature: incremental zstd mode ( #398 )
...
---------
Co-authored-by: Dawid Ciężarkiewicz <dpc@dpc.pw>
2023-10-17 19:30:35 -07:00
Ivan Petkov
da6b58e270
chore: Update CHANGELOG
2023-10-17 17:25:19 -07:00
Ivan Petkov
eb5034b6ee
replaceCargoLockHook: run as prePatchHook not postUnpack ( #434 )
2023-10-17 03:31:33 +00:00
Ivan Petkov
ff6e2c1f24
ci: also use fast-flake-check for examples ( #433 )
2023-10-16 19:56:16 -07:00
Ivan Petkov
f2b70c85d5
devShell: add clippy and rustfmt from the current toolchain ( #432 )
2023-10-17 00:24:15 +00:00
Ivan Petkov
159f71f4f0
craneUtils: build with rustPlatform ( #431 )
...
* This should hopefully result in fewer surprises if someone is using a
really ancient toolchain for their code since we'll use whatever is in
nixpkgs to build craneUtils instead
2023-10-17 00:12:57 +00:00
Ivan Petkov
d4bddd0a8c
chore: update all examples with strictDeps = true;
( #430 )
2023-10-15 22:25:34 +00:00
Ivan Petkov
deec116f40
crateNameFromCargoToml: add hint for finding the source of the warning ( #429 )
2023-10-15 21:56:40 +00:00
Ivan Petkov
6f5679eb04
ci: only push to cachix on the main branch ( #427 )
2023-10-15 14:34:44 -07:00
Ivan Petkov
8cb0282cb7
chore: Update CHANGELOG
2023-10-15 13:22:47 -07:00
simonzkl
47f84c5b60
removeReferencesToVendoredSources: sign aarch64-darwin binaries ( #418 )
...
---------
Co-authored-by: Simon Zlender <simonz@btcx.com>
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2023-10-15 20:09:08 +00:00
Ivan Petkov
e5ec5d9e10
ci: only build uncached derivations ( #426 )
2023-10-15 20:07:14 +00:00
Ivan Petkov
cede884ea0
ci: disable cross-rust-overlay on darwin
...
* Seems to get stuck rebuilding GCC all the time will revisit this later
2023-10-15 12:45:10 -07:00
Ivan Petkov
9d6bf09d32
chore: clean up some dead code
2023-10-15 11:38:35 -07:00
ISibboI
a8b2251989
Make cached cargo artifacts writable in buildPackage when using use-zstd
( #413 )
...
---------
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2023-10-15 19:08:32 +00:00
Ivan Petkov
4dcf584de1
mkCargoDerivation: replace Cargo.lock with contents of cargoLock
( #425 )
...
* The vendoring helpers already accept a `cargoLock` override, so
automatically linking it in the derivation (if set) makes it a bit
easier without having the caller manually do the link themselves
2023-10-15 01:42:24 +00:00
Ivan Petkov
ce0a13f8ba
cargoAudit: ignore yanked crates by default ( #423 )
...
* Checking for yanked crates requires network access (to ping the
crates.io index) which won't work from inside the sandbox
2023-10-14 21:50:48 +00:00
Ivan Petkov
9ab34e9194
chore: fix test outputHashes ( #424 )
2023-10-14 21:50:14 +00:00
Ivan Petkov
117ac48319
chore: update all test deps ( #420 )
2023-10-13 02:57:37 +00:00
dependabot[bot]
01192a9b52
chore(deps): bump webpki from 0.22.0 to 0.22.4 in /examples/end-to-end-testing ( #419 )
2023-10-13 02:25:10 +00:00
Leonardo Eugênio
88b2a5fc4e
Add example of E2E testing ( #368 )
2023-10-12 18:59:36 -07:00
Ivan Petkov
f2143cd27f
Update CHANGELOG
2023-10-03 19:00:30 -07:00
Dawid Ciężarkiewicz
0da36bc7dd
fix: cargo docs
breaking in buildDepsOnly
of workspaces ( #410 )
2023-10-03 18:59:04 -07:00
Ivan Petkov
2e1d9a1ad2
Update flake.lock ( #412 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'flake-compat':
'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
→ 'github:edolstra/flake-compat/4f910c9827911b1ec2bf26b5a062cd09f8d89f85' (2023-10-02)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5148520bfab61f99fd25fb9ff7bfbb50dad3c9db' (2023-09-17)
→ 'github:NixOS/nixpkgs/0c7ffbc66e6d78c50c38e717ec91a2a14e0622fb' (2023-10-02)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/b87a14abea512d956f0b89d0d8a1e9b41f3e20ff' (2023-09-18)
→ 'github:oxalica/rust-overlay/611ccdceed92b4d94ae75328148d84ee4a5b462d' (2023-10-03)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-03 17:23:37 +00:00
Ivan Petkov
581245bf12
ci: change pages deploy script
...
* Currently failing with `Error loading key "(stdin)": error in
libcrypto`, perhaps stripping any carriage returns will solve the
problem
2023-10-02 10:15:55 -07:00
dependabot[bot]
7fde5aa622
chore(deps): bump cachix/install-nix-action from 22 to 23 ( #408 )
2023-10-02 00:19:16 +00:00
dependabot[bot]
87c6f23083
chore(deps): bump actions/checkout from 3 to 4 ( #409 )
2023-10-01 17:09:00 -07:00
danjl1100
03e442fb3d
Replace toml
dependency with toml_edit
to preserve comments ( #407 )
...
---------
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2023-10-01 20:54:37 +00:00
Marijan Petričević
a863ce3c79
fix #404 - lib/cargoTarpaulin: lowercase --out xml argument ( #405 )
2023-10-01 11:22:09 -07:00
Jelle Besseling
af842d7319
Fix postInstall name ( #406 )
...
The link to the manual specifies that it should be postInstall, not postInstallPhase
2023-10-01 01:41:26 +00:00
Ivan Petkov
3de322e06f
Update CHANGELOG
2023-09-23 16:24:05 -07:00
Ivan Petkov
67f100acc0
buildPackage: fix issue with inheriting default depsOnly artifacts ( #397 )
2023-09-23 23:23:33 +00:00
Ivan Petkov
9dae37b4a5
Update CHANGELOG
2023-09-21 22:08:45 -07:00
Jörg Thalheim
16f5732c14
allow to pass outputHashes to crane ( #266 )
...
This makes it possible to evaluate crane in a nixos test without network
as well as allow to backup all fetched input derivations properly in a
binary cache, whereas fetchGit will fallback to downloading from a
repository, which also requires a `git` binary to be present.
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2023-09-22 04:08:53 +00:00
Ivan Petkov
2431a7a02c
examples: drop tarpaulin from quickstart flake
2023-09-21 20:49:27 -07:00
Graham Christensen
681ad00166
flake: add a description
...
Crane is one of the most popular libraries on FlakeHub, but it won't appear as "featured" on the homepage because there is no description. I thought I'd help fix that if you want it!
2023-09-18 16:53:35 -07:00
Ivan Petkov
97e5e36a22
Update flake.lock ( #390 )
...
flake.lock: Update
Flake lock file updates:
• Updated input 'flake-utils':
'github:numtide/flake-utils/f9e7cf818399d17d347f847525c5a5a8032e4e44' (2023-08-23)
→ 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/e7f35e03abd06a2faef6684d0de813370e13bda8' (2023-09-02)
→ 'github:NixOS/nixpkgs/5148520bfab61f99fd25fb9ff7bfbb50dad3c9db' (2023-09-17)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/98ccb73e6eefc481da6039ee57ad8818d1ca8d56' (2023-09-03)
→ 'github:oxalica/rust-overlay/b87a14abea512d956f0b89d0d8a1e9b41f3e20ff' (2023-09-18)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-18 04:26:59 +00:00
Ivan Petkov
38ff0748f4
ci: update gh cli flag
2023-09-17 20:46:51 -07:00
Ivan Petkov
ba6a26c734
Auto-approve flake update PRs ( #389 )
...
* ci: auto-approve flake update automation
* ci: update flake every 2 weeks (instead of 4)
2023-09-18 03:32:33 +00:00
Ivan Petkov
e3c6ce4ef6
Add FAQ about proc-macro rebuilds in dev
mode ( #388 )
2023-09-18 03:22:10 +00:00