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
Ivan Petkov
8b4f7a4dab
various: switch to using runCommand to improve caching ( #384 )
...
For example, commands which extract a tarball should be cached (i.e
should use `runCommand` not `runCommandLocal`) because it allows builds
to download the unpacked result instead of having to write both to the
store
2023-09-04 00:33:25 +00:00
Ivan Petkov
66303545d7
Update flake.lock ( #382 )
...
Flake lock file updates:
• Updated input 'flake-utils':
'github:numtide/flake-utils/919d646de7be200f3bf08cb76ae1f09402b6f9b4' (2023-07-11)
→ 'github:numtide/flake-utils/f9e7cf818399d17d347f847525c5a5a8032e4e44' (2023-08-23)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5068bc8fe943bde3c446326da8d0ca9c93d5a682' (2023-08-07)
→ 'github:NixOS/nixpkgs/e7f35e03abd06a2faef6684d0de813370e13bda8' (2023-09-02)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/b520a3889b24aaf909e287d19d406862ced9ffc9' (2023-08-07)
→ 'github:oxalica/rust-overlay/98ccb73e6eefc481da6039ee57ad8818d1ca8d56' (2023-09-03)
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-03 12:04:55 -07:00
Rebecca Turner
7b92b595c9
Add devshell
helper ( #378 )
2023-09-03 10:33:10 -07:00
Ivan Petkov
ecf151658e
cargoDoc: do not install cargo artifacts by default ( #381 )
...
* Also install generated docs
2023-09-03 10:29:13 -07:00
dependabot[bot]
80432e1545
chore(deps): bump DeterminateSystems/update-flake-lock from 19 to 20 ( #380 )
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 19 to 20.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v19...v20 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 15:43:16 -07:00
Rebecca Turner
174604795d
Add workaround for cargo-nextest bug ( #376 )
...
Prevents this error:
```
(...)
dyld: Library not loaded: @rpath/libtest-77ee8c29c330e4a3.dylib
Referenced from: /private/tmp/holochain_repo/target/fast-test/deps/hdk_derive-73ec051829ad694a
Reason: image not found
error: creating test list failed
Caused by:
for `hdk_derive::proc-macro/hdk_derive`, running command `/private/tmp/holochain_repo/target/fast-test/deps/hdk_derive-73ec051829ad694a --list --format terse` failed
Caused by:
command ["/private/tmp/holochain_repo/target/fast-test/deps/hdk_derive-73ec051829ad694a", "--list", "--format", "terse"] exited with code <signal 6>
Error: Process completed with exit code 104.
```
https://github.com/nextest-rs/nextest/issues/267
2023-08-30 23:44:00 +00:00
Ivan Petkov
43db881168
various: change cargoExtraArgs
defaults to include --locked
( #373 )
2023-08-27 19:17:58 +00:00