Commit Graph

654 Commits

Author SHA1 Message Date
Ivan Petkov
8ff9c457d6
Update CHANGELOG 2024-11-18 16:02:11 -08:00
Ivan Petkov
a517cfe3bc
Update CHANGELOG 2024-11-18 15:57:14 -08:00
Ivan Petkov
77a3ea2b29
Update CHANGELOG 2024-11-18 15:51:37 -08:00
Ivan Petkov
597d78bba0
Update internal flake.lock (#741)
flake.lock: Update

Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/f3460e5ed91658ab94fa41908cfa44991f9f4f02?narHash=sha256-9xJoP1766XJSO1Qr0Lxg2P6dwPncTr3BJYlFMSXBd/E%3D' (2024-11-01)
  → 'github:rustsec/advisory-db/8e353a172f1baf11c0c917cfc9ae3c5eff8b9d06?narHash=sha256-HSx5EDsO07KULW4bNPVeGVAfpQqzwwS005vqISdOzNg%3D' (2024-11-17)
• Updated input 'crane':
    'github:ipetkov/crane/8658adcdad49b8f2c6cbf0cc3cb4b4db988f7638?narHash=sha256-Fvieht4pai%2BWey7terllZAKOj0YsaDP0e88NYs3K/Lo%3D' (2024-11-01)
  → 'github:ipetkov/crane/9132c6d1aecee0edfb45141a29a440ee33ce2121?narHash=sha256-ISld/MlY/mbsElnxU/mD9YA5xbyJQC0nl6e9qUtHaYU%3D' (2024-11-18)
• Updated input 'fenix':
    'github:nix-community/fenix/efeb50e2535b17ffd4a135e6e3e5fd60a525180c?narHash=sha256-2HBR3zLn57LXKNRtxBb%2BO%2BuDqHM4n0pz51rPayMl4cg%3D' (2024-11-03)
  → 'github:nix-community/fenix/e10ba121773f754a30d31b6163919a3e404a434f?narHash=sha256-tIXhc9lX1b030v812yVJanSR37OnpTb/OY5rU3TbShA%3D' (2024-11-16)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/f17a5bbfd0969ba2e63a74505a80e55ecb174ed9?narHash=sha256-KNHZUlqsEibg3YtfUyOFQSofP8hp1HKoY%2BlaoesBxRM%3D' (2024-11-02)
  → 'github:rust-lang/rust-analyzer/1b90e979aeee8d1db7fe14603a00834052505497?narHash=sha256-uHUUS1WPyW6ohp5Bt3dAZczUlQ22vOn7YZF8vaPKIEw%3D' (2024-11-15)
• Updated input 'flake-utils':
    'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a?narHash=sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ%3D' (2024-09-17)
  → 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b?narHash=sha256-l0KFg5HjrsfsO/JpG%2Br7fRrqm12kzFHyUHqHCVpMMbI%3D' (2024-11-13)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53?narHash=sha256-B5WRZYsRlJgwVHIV6DvidFN7VX7Fg9uuwkRW9Ha8z%2Bw%3D' (2024-10-30)
  → 'github:NixOS/nixpkgs/5083ec887760adfe12af64830a66807423a859a7?narHash=sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs%3D' (2024-11-18)
• Updated input 'nixpkgs-latest-release':
    'github:NixOS/nixpkgs/5012ef7926747f739c65bd2e1ceff96da30fb3b8?narHash=sha256-XGYmN3WdyGU8FasWLPjL1Yvm9L9GJ0h62fMgCOPyvo0%3D' (2024-11-03)
  → 'github:NixOS/nixpkgs/ad2c28c6c5cc04e09bed68db46db5718d40b5b9e?narHash=sha256-xk83zrDElaMXiHI8DH6sLLTix5%2BijPYmIusiQ16GDdc%3D' (2024-11-18)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/8d1b40f8dfd7539aaa3de56e207e22b3cc451825?narHash=sha256-Sgax33jGuvVHTjl1P78IwzlhAGyOxtx5Q26inKja8S4%3D' (2024-11-03)
  → 'github:oxalica/rust-overlay/0be641045af6d8666c11c2c40e45ffc9667839b5?narHash=sha256-Ou7vLETSKwmE/HRQz4cImXXJBr/k9gp4J4z/PF8LzTE%3D' (2024-11-18)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-18 22:21:50 +00:00
Ivan Petkov
9132c6d1ae examples: trunk-workspace: update for future compat
Looks like newer versions of trunk expect the current directory to be
the crate to compile, so adjust the example to take that into account
2024-11-18 13:37:01 -08:00
Ivan Petkov
182bbb447a buildTrunkPackage: print warning with current, valid hashes 2024-11-18 13:37:01 -08:00
Ivan Petkov
3096fc35ad buildTrunkPackage: correctly inherit buildPhaseCargoCommand 2024-11-18 13:37:01 -08:00
Ivan Petkov
30ad43e875 examples: drop nixpkgs-for-wasm-bindgen
The examples were already hard coding a concrete version of
wasm-bindgen-cli so having the extra input was both useless and
confusing
2024-11-18 13:37:01 -08:00
Ivan Petkov
9f515d0197 checks: drop trunk-outdated-bindgen test
We already have a test which hard codes which version of
wasm-bindgen-cli we're using, no need to have two
2024-11-18 13:37:01 -08:00
Rijk van Putten
ef80ead953
Add fileset helpers (#731)
---------

Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-11-08 12:39:11 -08:00
Ivan Petkov
e47c16b56e
removeReferencesToVendoredSourcesHook: avoid using /dev/fd directly (#737) 2024-11-08 18:36:43 +00:00
Ivan Petkov
f53b0b974f
buildTrunkPackage: set --release=true on newer trunk versions (#736) 2024-11-08 18:25:05 +00:00
Ivan Petkov
a4ca939054
Update internal flake.lock (#732)
flake.lock: Update

Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/57c4a0ce3a1a3cdbf9e7eaa16b5441345de50d13?narHash=sha256-%2BEO3jis98fMzG2/JPeFcmWgDxxm4RO0q/TSxiXHoAFs%3D' (2024-10-14)
  → 'github:rustsec/advisory-db/f3460e5ed91658ab94fa41908cfa44991f9f4f02?narHash=sha256-9xJoP1766XJSO1Qr0Lxg2P6dwPncTr3BJYlFMSXBd/E%3D' (2024-11-01)
• Updated input 'crane':
    'github:ipetkov/crane/f876e3d905b922502f031aeec1a84490122254b7?narHash=sha256-fROVjMcKRoGHofDm8dY3uDUtCMwUICh/KjBFQnuBzfg%3D' (2024-10-12)
  → 'github:ipetkov/crane/8658adcdad49b8f2c6cbf0cc3cb4b4db988f7638?narHash=sha256-Fvieht4pai%2BWey7terllZAKOj0YsaDP0e88NYs3K/Lo%3D' (2024-11-01)
• Updated input 'fenix':
    'github:nix-community/fenix/d6a9ff4d1e60c347a23bc96ccdb058d37a810541?narHash=sha256-Jkqaw9O7WXTf5SHrK7xr9HpVU/mEPVg0Sp6s3AENC90%3D' (2024-10-15)
  → 'github:nix-community/fenix/efeb50e2535b17ffd4a135e6e3e5fd60a525180c?narHash=sha256-2HBR3zLn57LXKNRtxBb%2BO%2BuDqHM4n0pz51rPayMl4cg%3D' (2024-11-03)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/0319586ef2a2636f6d6b891690b7ebebf4337c85?narHash=sha256-BOCZ5osPOMh2BPHnkK4sVdTGj7sn47rBn1nxjrzWe5U%3D' (2024-10-14)
  → 'github:rust-lang/rust-analyzer/f17a5bbfd0969ba2e63a74505a80e55ecb174ed9?narHash=sha256-KNHZUlqsEibg3YtfUyOFQSofP8hp1HKoY%2BlaoesBxRM%3D' (2024-11-02)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7881fbfd2e3ed1dfa315fca889b2cfd94be39337?narHash=sha256-GBJRnbFLDg0y7ridWJHAP4Nn7oss50/VNgqoXaf/RVk%3D' (2024-10-15)
  → 'github:NixOS/nixpkgs/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53?narHash=sha256-B5WRZYsRlJgwVHIV6DvidFN7VX7Fg9uuwkRW9Ha8z%2Bw%3D' (2024-10-30)
• Updated input 'nixpkgs-latest-release':
    'github:NixOS/nixpkgs/4a3f2d3195b60d07530574988df92e049372c10e?narHash=sha256-VgcLDu4igNT0eYua6OAl9pWCI0cYXhDbR%2BpWP44tte0%3D' (2024-10-18)
  → 'github:NixOS/nixpkgs/5012ef7926747f739c65bd2e1ceff96da30fb3b8?narHash=sha256-XGYmN3WdyGU8FasWLPjL1Yvm9L9GJ0h62fMgCOPyvo0%3D' (2024-11-03)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/9051466c82b9b3a6ba9e06be99621ad25423ec94?narHash=sha256-KDmYxpkFWa0Go0WnOpkgQOypVaQxbwgpEutET5ey1VQ%3D' (2024-10-18)
  → 'github:oxalica/rust-overlay/8d1b40f8dfd7539aaa3de56e207e22b3cc451825?narHash=sha256-Sgax33jGuvVHTjl1P78IwzlhAGyOxtx5Q26inKja8S4%3D' (2024-11-03)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-03 16:51:00 +00:00
dependabot[bot]
8658adcdad
chore(deps): bump cachix/install-nix-action from 29 to 30 (#730) 2024-11-01 16:48:11 -07:00
Ivan Petkov
498d9f122c
examples: use member wildcard to avoid breaking if crates are renamed (#728) 2024-10-27 20:17:42 +00:00
Ivan Petkov
f235b656ee
checks: add regression test that cleanCargoSource works with non-paths (#726) 2024-10-24 03:40:21 +00:00
Ivan Petkov
fa8b7445dd
Update internal flake.lock (#724)
flake.lock: Update

Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/a68ca4a1ec3950da7c82c522e8cfc424e28ca7f0?narHash=sha256-nnfwJjLA0uVIBgrGNYt9ButjBQFyj/I6MohQUHhJ78A%3D' (2024-10-02)
  → 'github:rustsec/advisory-db/57c4a0ce3a1a3cdbf9e7eaa16b5441345de50d13?narHash=sha256-%2BEO3jis98fMzG2/JPeFcmWgDxxm4RO0q/TSxiXHoAFs%3D' (2024-10-14)
• Updated input 'crane':
    'github:ipetkov/crane/a376dd1efac7bce448857c62961c6311be26cb09?narHash=sha256-DvFQd58W20BEqh0BUt33eZhzPKBXGO/r9aiSFIVMaWU%3D' (2024-10-01)
  → 'github:ipetkov/crane/f876e3d905b922502f031aeec1a84490122254b7?narHash=sha256-fROVjMcKRoGHofDm8dY3uDUtCMwUICh/KjBFQnuBzfg%3D' (2024-10-12)
• Updated input 'fenix':
    'github:nix-community/fenix/381781f96b880c2ced9019a9e2406b31ccea82b4?narHash=sha256-Ih4RD65WZZDgtla9Uh8zm6gQJ1zgkXkiU4HKtEwQjvI%3D' (2024-10-03)
  → 'github:nix-community/fenix/d6a9ff4d1e60c347a23bc96ccdb058d37a810541?narHash=sha256-Jkqaw9O7WXTf5SHrK7xr9HpVU/mEPVg0Sp6s3AENC90%3D' (2024-10-15)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/e1a76671af2fbc74c84c18ba18fcda5e653d7531?narHash=sha256-OTI1eKQ3WIkj6q8PROpPY1vhaxYRdiS1btSfBowQPps%3D' (2024-10-01)
  → 'github:rust-lang/rust-analyzer/0319586ef2a2636f6d6b891690b7ebebf4337c85?narHash=sha256-BOCZ5osPOMh2BPHnkK4sVdTGj7sn47rBn1nxjrzWe5U%3D' (2024-10-14)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fd698a4ab779fb7fb95425f1b56974ba9c2fa16c?narHash=sha256-wQ3RN0mwaLoED8Qu5dc%2Bu0v/pRSPyy50I0FTEyb5/f8%3D' (2024-10-02)
  → 'github:NixOS/nixpkgs/7881fbfd2e3ed1dfa315fca889b2cfd94be39337?narHash=sha256-GBJRnbFLDg0y7ridWJHAP4Nn7oss50/VNgqoXaf/RVk%3D' (2024-10-15)
• Updated input 'nixpkgs-latest-release':
    'github:NixOS/nixpkgs/36ac3afdab6742dfbb315eefda11154743c4cc0f?narHash=sha256-nwkaGWkfAMpt89bc0/FL2y1pQ4FiYbhqBIl9WDawwh8%3D' (2024-10-03)
  → 'github:NixOS/nixpkgs/4a3f2d3195b60d07530574988df92e049372c10e?narHash=sha256-VgcLDu4igNT0eYua6OAl9pWCI0cYXhDbR%2BpWP44tte0%3D' (2024-10-18)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/5e3eee4bc42a2504653bedfe95bceda9a1e85ae7?narHash=sha256-pJoN5Qd83coaoEJmpkxw%2Bcuh89IJORvLm8qyw3GMLIQ%3D' (2024-10-03)
  → 'github:oxalica/rust-overlay/9051466c82b9b3a6ba9e06be99621ad25423ec94?narHash=sha256-KDmYxpkFWa0Go0WnOpkgQOypVaQxbwgpEutET5ey1VQ%3D' (2024-10-18)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-18 17:37:04 +00:00
Ivan Petkov
f876e3d905
Update CHANGELOG 2024-10-12 16:35:44 -07:00
Ivan Petkov
84803e7a72
ci: drop unnecessary override 2024-10-12 16:34:58 -07:00
Ivan Petkov
c052ed5e84
buildDepsOnly: set CRANE_BUILD_DEPS_ONLY env var when running (#722) 2024-10-12 23:28:15 +00:00
Ivan Petkov
adfdd217c7
docs: add hint to stage .cargo/config.toml when using alt registries (#721) 2024-10-12 22:17:10 +00:00
Rebecca Turner
112a80c012
Add cargoDocTest (#720)
---------

Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-10-12 22:08:18 +00:00
Ivan Petkov
fd86b78f5f
vendorCargoRegistries: warn when registry names are not found (#716) 2024-10-07 16:39:36 -07:00
Ivan Petkov
37e4f9f097
Update internal flake.lock (#715)
flake.lock: Update

Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/f791f5a283bd59a78dbf85603409ccf8996e3856?narHash=sha256-pqW9wNSVT9JrhGzXZhKaFGefJwAsnr8H32093GwvyoE%3D' (2024-09-22)
  → 'github:rustsec/advisory-db/a68ca4a1ec3950da7c82c522e8cfc424e28ca7f0?narHash=sha256-nnfwJjLA0uVIBgrGNYt9ButjBQFyj/I6MohQUHhJ78A%3D' (2024-10-02)
• Updated input 'crane':
    'github:ipetkov/crane/7e4586bad4e3f8f97a9271def747cf58c4b68f3c?narHash=sha256-PrtLmqhM6UtJP7v7IGyzjBFhbG4eOAHT6LPYOFmYfbk%3D' (2024-09-04)
  → 'github:ipetkov/crane/a376dd1efac7bce448857c62961c6311be26cb09?narHash=sha256-DvFQd58W20BEqh0BUt33eZhzPKBXGO/r9aiSFIVMaWU%3D' (2024-10-01)
• Updated input 'fenix':
    'github:nix-community/fenix/f5a9b01cd81b46228b3737669e8275b1f2da7d35?narHash=sha256-webLScPFCax18Z2lQHhaWzqqQRvV2Y1lOADqUa7VQbU%3D' (2024-09-22)
  → 'github:nix-community/fenix/381781f96b880c2ced9019a9e2406b31ccea82b4?narHash=sha256-Ih4RD65WZZDgtla9Uh8zm6gQJ1zgkXkiU4HKtEwQjvI%3D' (2024-10-03)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/94b526fc86eaa0e90fb4d54a5ba6313aa1e9b269?narHash=sha256-nCmG4NJpwI0IoIlYlwtDwVA49yuspA2E6OhfCOmiArQ%3D' (2024-09-15)
  → 'github:rust-lang/rust-analyzer/e1a76671af2fbc74c84c18ba18fcda5e653d7531?narHash=sha256-OTI1eKQ3WIkj6q8PROpPY1vhaxYRdiS1btSfBowQPps%3D' (2024-10-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a1d92660c6b3b7c26fb883500a80ea9d33321be2?narHash=sha256-V5LpfdHyQkUF7RfOaDPrZDP%2Boqz88lTJrMT1%2BstXNwo%3D' (2024-09-20)
  → 'github:NixOS/nixpkgs/fd698a4ab779fb7fb95425f1b56974ba9c2fa16c?narHash=sha256-wQ3RN0mwaLoED8Qu5dc%2Bu0v/pRSPyy50I0FTEyb5/f8%3D' (2024-10-02)
• Updated input 'nixpkgs-latest-release':
    'github:NixOS/nixpkgs/fc8411a98ece27c0e6f2a68d757812fc8d6f892e?narHash=sha256-6fYNLNeksp3Uf1mE2ZuiTXb%2BuG/ZHJuREGX%2BSENNEsU%3D' (2024-09-22)
  → 'github:NixOS/nixpkgs/36ac3afdab6742dfbb315eefda11154743c4cc0f?narHash=sha256-nwkaGWkfAMpt89bc0/FL2y1pQ4FiYbhqBIl9WDawwh8%3D' (2024-10-03)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/edc5b0f896170f07bd39ad59d6186fcc7859bbb2?narHash=sha256-tY/UU3Qk5gP/J0uUM4DZ6wo4arNLGAVqLKBotILykfQ%3D' (2024-09-23)
  → 'github:oxalica/rust-overlay/5e3eee4bc42a2504653bedfe95bceda9a1e85ae7?narHash=sha256-pJoN5Qd83coaoEJmpkxw%2Bcuh89IJORvLm8qyw3GMLIQ%3D' (2024-10-03)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-03 16:53:39 +00:00
dependabot[bot]
a376dd1efa
chore(deps): bump DeterminateSystems/update-flake-lock from 23 to 24 (#712) 2024-10-01 16:15:12 -07:00
dependabot[bot]
db9eed1cf2
chore(deps): bump cachix/install-nix-action from V27 to 29 (#713) 2024-10-01 16:14:58 -07:00
Ivan Petkov
5b03654ce0
Update CHANGELOG 2024-09-25 19:11:45 -07:00
Ivan Petkov
08f45b5a2e
registryFromSparse: add missing API docs (#710) 2024-09-25 03:44:07 +00:00
Ivan Petkov
5c57ab39aa
docs: document how to override mkShell/stdenv for devShell (#709) 2024-09-25 03:27:17 +00:00
Ivan Petkov
d3797a7544
cargoDoc: add a fallback search for non-cross-compiled docs (#708) 2024-09-24 20:15:24 -07:00
Ivan Petkov
6b40cc876c
test/flake.lock: Update
Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/dd0703e582ab7edc2637bc3385d540c3dbffa0db' (2024-08-24)
  → 'github:rustsec/advisory-db/f791f5a283bd59a78dbf85603409ccf8996e3856' (2024-09-22)
• Updated input 'fenix':
    'github:nix-community/fenix/dba5ef499c684acae11a2661d0ed45017fe75b71' (2024-08-24)
  → 'github:nix-community/fenix/f5a9b01cd81b46228b3737669e8275b1f2da7d35' (2024-09-22)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/ab34fdd9f3367d1761991f78e3a7006a4d8d2b34' (2024-08-23)
  → 'github:rust-lang/rust-analyzer/94b526fc86eaa0e90fb4d54a5ba6313aa1e9b269' (2024-09-15)
• Updated input 'flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
  → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4de4818c1ffa76d57787af936e8a23648bda6be4' (2024-08-22)
  → 'github:NixOS/nixpkgs/a1d92660c6b3b7c26fb883500a80ea9d33321be2' (2024-09-20)
• Updated input 'nixpkgs-latest-release':
    'github:NixOS/nixpkgs/c7eb282d733ee64a11b9153b0e471413bd56776b' (2024-08-24)
  → 'github:NixOS/nixpkgs/fc8411a98ece27c0e6f2a68d757812fc8d6f892e' (2024-09-22)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/2b5b3edd96ef336b00622dcabc13788fdef9e3ca' (2024-08-24)
  → 'github:oxalica/rust-overlay/edc5b0f896170f07bd39ad59d6186fcc7859bbb2' (2024-09-23)
2024-09-22 19:53:33 -07:00
Ivan Petkov
da0479599a
flake: drop nixpkgs-darwin 2024-09-22 19:12:11 -07:00
Ivan Petkov
7e4586bad4
docs: fix typo 2024-09-03 17:26:06 -07:00
Ivan Petkov
d995bc5e2d
ci: clean up the flake-lock update action
Now that only the internal flake has actual inputs, we only need one of
these actions running instead of two.
2024-09-03 16:54:47 -07:00
Ivan Petkov
cc29aa8ea2
docs: add a FAQ entry about git-deps and relative file paths (#695) 2024-09-03 23:50:10 +00:00
[eureka@nixos]
96fd12c710
Add taploFmt TOML format function to mkLib (#674)
---------

Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-08-31 17:27:30 +00:00
Ivan Petkov
63396562b8
Delete dead code 2024-08-29 16:28:27 -07:00
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
95b42093e5
downloadCargoPackageFromGit: take hash instead of sha256 (#691) 2024-08-29 15:47:52 -07:00
Ivan Petkov
5d6c16530f
downloadCargoPackageFromGit: set fetchLFS when an output hash is defined (#690) 2024-08-29 15:35:39 -07:00
Ivan Petkov
3e08f4b1fc
Update internal flake.lock (#687)
Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/201638b35a3e85b7794e84cc73f876d7a2b7ad51?narHash=sha256-AZI593yLh4lcKJdAnnjyLMKUm5PMDpFy1APIYFURLyI%3D' (2024-08-16)
  → 'github:rustsec/advisory-db/dd0703e582ab7edc2637bc3385d540c3dbffa0db?narHash=sha256-K9CHOXzHPfNjZsz3dC9Vhdryz70dyaDTsCjFJHB19xA%3D' (2024-08-24)
• Updated input 'crane':
    'github:ipetkov/crane/4c6c77920b8d44cd6660c1621dea6b3fc4b4c4f4?narHash=sha256-NhCkJJQhD5GUib8zN9JrmYGMwt4lCRp6ZVNzIiYCl0Y%3D' (2024-08-06)
  → 'github:ipetkov/crane/3e47b7a86c19142bd3675da49d6acef488b4dac1?narHash=sha256-ixjje1JO8ucKT41hs6n2NCde1Vc0%2BZc2p2gUbJpCsMw%3D' (2024-08-23)
• Updated input 'fenix':
    'github:nix-community/fenix/73b4e46c0f6e93b104f5a9c9573bd2ad0e319061?narHash=sha256-nkBo%2Bna4bWtstBRjwNWCapOt/LYMaBKkKddfZGkTskE%3D' (2024-08-18)
  → 'github:nix-community/fenix/dba5ef499c684acae11a2661d0ed45017fe75b71?narHash=sha256-puBjYiWZMu/VhDk5ZQW88o/IlwsYuoqvCglOESolyBc%3D' (2024-08-24)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/fa003262474185fd62168379500fe906b331824b?narHash=sha256-x/RXN/ougJ1IEoBKrY0UijB530OfOfICK4KPa3Kj9Bk%3D' (2024-08-17)
  → 'github:rust-lang/rust-analyzer/ab34fdd9f3367d1761991f78e3a7006a4d8d2b34?narHash=sha256-N6p1Qd7qgIATJz61JXAqV/rd8umeg0Uj1IawJCTdDlU%3D' (2024-08-23)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/38fb99e12ff992a05641086dba26d1a5849929d1?narHash=sha256-9nFBs2sf1rlLGRSzlVVVHSE9VooZrYbNr3gtIFgYZJ8%3D' (2024-08-18)
  → 'github:NixOS/nixpkgs/c7eb282d733ee64a11b9153b0e471413bd56776b?narHash=sha256-Uw7NvIky7bzk3zBQgxUySyaKGrnmPtn8ZdCzDWbfByg%3D' (2024-08-24)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/456e78a55feade2c3bc6d7bc0bf5e710c9d86120?narHash=sha256-TcVf66N2NgGhxORFytzgqWcg0XJ%2Bkk8uNLNsTRI5sYM%3D' (2024-08-18)
  → 'github:oxalica/rust-overlay/2b5b3edd96ef336b00622dcabc13788fdef9e3ca?narHash=sha256-ltKuK6shQ64uej1mYNtBsDYxttUNFiv9AcHqk0%2B0NQM%3D' (2024-08-24)
2024-08-24 22:13:50 +00:00
Ivan Petkov
ae7a716524
chore: bump sqlx to 0.8 in examples (#688) 2024-08-24 21:50:30 +00:00
Ivan Petkov
7543c8d76f
chore: bump all example Cargo.locks (#686) 2024-08-24 20:58:19 +00:00
Ivan Petkov
3e47b7a86c
Update flake.lock (#680)
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/81610abc161d4021b29199aa464d6a1a521e0cc9?narHash=sha256-TcXjLVNd3VeH1qKPH335Tc4RbFDbZQX%2Bd7rqnDUoRaY%3D' (2024-08-02)
  → 'github:NixOS/nixpkgs/4de4818c1ffa76d57787af936e8a23648bda6be4?narHash=sha256-x3jl6OWTs%2BL9C7EtscuWZmGZWI0iSBDafvg3X7JMa1A%3D' (2024-08-22)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-23 01:39:19 +00:00
Ivan Petkov
af693bf608
buildPackage: do not add jq to nativeBuildInputs (#685)
Doing so ends up resulting in PKG_CONFIG_PATH changing which may result
in various `*-sys` crates needing to be rebuilt
2024-08-22 16:24:53 -07:00
Ivan Petkov
3f50200286
Update CHANGELOG 2024-08-22 16:02:43 -07: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
Nils Harbke
4c6c77920b
Fix positioning of cargoExtraArgs in craneLib.cargoNextest (#678)
Both `cargo nextest run` and `cargo llvm-cov` do not place any cargo
options/flags right behind `cargo <HERE> ...`. All cargo related flags
can be added to the `cargoNextestExtraArgs` attribute. [Issue #675]

After altering `checkPhaseCargoCommand` to use one of two explicit
command strings inside if/else blocks, it is no longer necessary to
default `cmd` to an empty value when `withLlvmCov` is set to `true`.

---------

Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-08-06 09:07:59 -07:00
Ivan Petkov
d0c8f4ed85
ci: fix dependency pinning
Looks like our pinned test/flake.lock was being ignored and the latest
version of all inputs was being used. This should fix that oversight
(and give us better caching to boot)
2024-08-05 18:25:32 -07:00
Ivan Petkov
ac39fd68f7
example: alt-registry: bump cargo dependencies 2024-08-05 17:53:13 -07:00