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
Ivan Petkov
ef5d11e3c2
Update CHANGELOG
2023-08-22 17:26:23 -07:00
Ivan Petkov
fd51c85af2
ci: allow manual triggers of flakehub publish
2023-08-22 17:23:49 -07:00
Ivan Petkov
6513bc64ee
Add flakehub integration ( #371 )
2023-08-22 17:21:41 -07:00
Ivan Petkov
7809d36971
downloadCargoPackageFromGit: resolve symlinks in crate directory ( #367 )
2023-08-12 01:26:37 +00:00
Leonardo Eugênio
1b8653ad52
Trunk: use native dart-sass ( #360 )
...
Replace the javascript version of dart-sass with a native binary version.
Should improve built times and reduce disk usage.
---------
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2023-08-11 00:38:14 +00:00
Ivan Petkov
ff2e879b26
update all Cargo.locks ( #364 )
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4a56ce9727a0c5478a836a0d8a8f641c5b9a3d5f' (2023-08-02)
→ 'github:NixOS/nixpkgs/5068bc8fe943bde3c446326da8d0ca9c93d5a682' (2023-08-07)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/99df4908445be37ddb2d332580365fce512a7dcf' (2023-08-03)
→ 'github:oxalica/rust-overlay/b520a3889b24aaf909e287d19d406862ced9ffc9' (2023-08-07)
2023-08-11 00:13:17 +00:00
Ivan Petkov
b5d9d42ea3
README: fix headings
2023-08-07 08:46:02 -07:00
Ivan Petkov
6c25eff4ed
Update CHANGELOG
2023-08-07 08:42:56 -07:00
Ivan Petkov
1a551ae11b
Update flake.lock ( #361 )
2023-08-03 19:06:09 +00:00
Ivan Petkov
8b08e96c9a
inheritCargoArtifactsHook: fix doNotLinkInheritedArtifacts handling ( #357 )
...
* This ensures that when doNotLinkInheritedArtifacts is set, artifact
symlinks are deeply resolved
2023-07-07 23:28:38 +00:00
Ivan Petkov
bfc1c3dca5
docs: update FAQs around rebuilds and other errors ( #355 )
...
* docs: Add FAQ about invalid crate metadata
* docs: update constant rebuilds FAQ
2023-07-07 00:47:12 +00:00
Ivan Petkov
fc6a236548
Update flake.lock ( #350 )
2023-07-03 16:00:21 -07:00
Hung Tran
4d350bb94f
deps: update cargo-utils dependencies, should fix builds from nightly rust ( #346 )
...
---------
Co-authored-by: htran <htran@egihosting.com>
2023-06-29 16:51:22 -07:00
Ivan Petkov
33cfcdf33b
Fix tests to run on darwin ( #348 )
2023-06-29 23:50:17 +00:00
Ivan Petkov
116b32c30b
inheritCargoArtifactsHook: allow disabling symlink behavior ( #345 )
2023-06-21 01:13:46 +00:00
Ivan Petkov
bd65e0e473
inheritCargoArtifactsHook: symlink dependency rlib and rmeta files ( #344 )
...
* cargoTarpaulin: do not clean by default
---------
Co-authored-by: Philipp Mildenberger <philipp@mildenberger.me>
Co-authored-by: Philipp Mildenberger <philipp.mildenberger@artfabrik.at>
2023-06-19 21:50:17 +00:00
Roman Volosatovs
9f6e7286c5
fix: do not install bindep artifacts by default ( #298 )
...
- Add support for installing crates utilizing `bindeps` feature
by only installing binaries of workspace packages
---------
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2023-06-18 23:41:59 +00:00