Commit Graph

618 Commits

Author SHA1 Message Date
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
Ivan Petkov
b7f607c200
Delete some dead code 2024-08-05 17:42:26 -07:00
Simon Žlender
c873fd2ad8
Fix deeply nested registries (#676)
---------

Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-08-04 22:10:51 +00:00
Ivan Petkov
852a59f967
Update flake.lock (#677)
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9355fa86e6f27422963132c2c9aeedb0fb963d93?narHash=sha256-%2B%2BTYlGMAJM1Q%2B0nMVaWBSEvEUjRs7ZGiNQOpqbQApCU%3D' (2024-07-16)
  → 'github:NixOS/nixpkgs/81610abc161d4021b29199aa464d6a1a521e0cc9?narHash=sha256-TcXjLVNd3VeH1qKPH335Tc4RbFDbZQX%2Bd7rqnDUoRaY%3D' (2024-08-02)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-03 17:00:54 +00:00
Ivan Petkov
529c1a0b1f
Update internal flake.lock (#671)
flake.lock: Update

Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/502a1ba73728791a73e8b94cee6406ab79ec8ba5?narHash=sha256-H8HeiVq7P3VEPxU0MUwh13xlcg0VXvKP5SQ37fs3QOs%3D' (2024-07-08)
  → 'github:rustsec/advisory-db/0e7413f7941015a388b58730a53bf2529f50ab14?narHash=sha256-bYj5B5zDUqKlP5iykp1PqeapttFLKt5SceomP1ObcfE%3D' (2024-07-23)
• Updated input 'crane':
    'github:ipetkov/crane/0aed560c5c0a61c9385bddff471a13036203e11c?narHash=sha256-yHVvNsgrpyNTXZBEokL8uyB2J6gB1wEx0KOJzoeZi1A%3D' (2024-07-06)
  → 'github:ipetkov/crane/0081e9c447f3b70822c142908f08ceeb436982b8?narHash=sha256-UqtSwU13vpzzM6w8tGghEbA7ObM3NCDzSpz19QQo9XE%3D' (2024-07-23)
• Updated input 'fenix':
    'github:nix-community/fenix/5c6f98d68f4825e4fa7b62b65d6777f8d152b3a0?narHash=sha256-cd8Mt%2BkqN876nk2zX/BZePiwDvrxgHgoBXJeYIj09es%3D' (2024-07-09)
  → 'github:nix-community/fenix/31cd6d83e0e3900f10053daf33bd878792946282?narHash=sha256-JbSHTnOS0jRbsfMqEFnwkQXUkKO9/7aWqh/8%2BjqrWLs%3D' (2024-07-24)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/da27b89ca55d066680b2ddbc53477b3816cd5407?narHash=sha256-jqfodED9cglRkRfNI8TBWdjHcEoregUEzZd7%2B4edDsM%3D' (2024-07-08)
  → 'github:rust-lang/rust-analyzer/eb5da56d839ae0a9e9f50774fa3eb78eb0964550?narHash=sha256-M1ubop13c8TwMP6mMirSz%2Bzj4FttJ/sTk5nV7pURsIg%3D' (2024-07-23)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fc85c058d4870915ca6c7a4bd634f697d866d54f?narHash=sha256-Vs6nYFRq5tQRcxm/AE0KNNQ3gW1pAB61aGDncwmYmaM%3D' (2024-07-09)
  → 'github:NixOS/nixpkgs/2e19d60f8f7ad31c7991ac040e7b24c4f1a59bbe?narHash=sha256-K57ki0Zn5VvOjQtNX0Pj%2BgRBDw3hY85gmJDh2TXeKVI%3D' (2024-07-24)
• Updated input 'nixpkgs-darwin':
    'github:NixOS/nixpkgs/64f145f456b7a3953f191cad9e257cd88412044e?narHash=sha256-PV6LKJpj43tuKAMEfmXiKZjlOW1IqZORUJ8WYcdLtGE%3D' (2024-07-09)
  → 'github:NixOS/nixpkgs/ea73e7ae9dea53d112cb08fb78f4e00d1f686c54?narHash=sha256-veJoWy9VCxWaBeLYUD0BqTu2fqMvDg98TxSFau7ewaA%3D' (2024-07-22)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/b970af40fdc4bd80fd764796c5f97c15e2b564eb?narHash=sha256-PHS2BcQ9kxBpu9GKlDg3uAlrX/ahQOoAiVmwGl6BjD4%3D' (2024-07-09)
  → 'github:oxalica/rust-overlay/a6afdaab4a47d6ecf647a74968e92a51c4a18e5a?narHash=sha256-33UCMmgPL%2Bsz06%2BiupNkl99hcBABP56ENcxSoKqr0TY%3D' (2024-07-24)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-24 17:37:48 +00:00
dependabot[bot]
0081e9c447
chore(deps): bump openssl from 0.10.64 to 0.10.66 in /checks/codesign (#670) 2024-07-23 01:48:59 +00:00
dependabot[bot]
3740c3d1f2
chore(deps): bump openssl from 0.10.63 to 0.10.66 in /examples/sqlx (#669) 2024-07-22 23:41:43 +00:00
Ivan Petkov
8a68b987c4
Update flake.lock (#667)
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0aeab749216e4c073cece5d34bc01b79e717c3e0?narHash=sha256-0LD%2BKePCKKEb4CcPsTBOwf019wDtZJanjoKm1S8q3Do%3D' (2024-07-02)
  → 'github:NixOS/nixpkgs/9355fa86e6f27422963132c2c9aeedb0fb963d93?narHash=sha256-%2B%2BTYlGMAJM1Q%2B0nMVaWBSEvEUjRs7ZGiNQOpqbQApCU%3D' (2024-07-16)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-18 17:02:02 +00:00
Sebastian Rutofski
17e5109bb1
Add build-std and quick-start-workspace as flake templates (#665)
---------

Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-07-15 15:49:38 +00:00
Ivan Petkov
1791a5b98d
Drop non-existent input override for oxalica/rust-overlay (#663) 2024-07-14 16:36:42 +00:00
Ivan Petkov
2d83156f23
Update internal flake.lock (#659)
flake.lock: Update

Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/8eb99abe8c369b48bbd4ca04133e1f05be22a778?narHash=sha256-bSY6HPtJ9vCp0AGjL5X910aTg0mq32p3BcJmZQkNkMs%3D' (2024-06-19)
  → 'github:rustsec/advisory-db/502a1ba73728791a73e8b94cee6406ab79ec8ba5?narHash=sha256-H8HeiVq7P3VEPxU0MUwh13xlcg0VXvKP5SQ37fs3QOs%3D' (2024-07-08)
• Updated input 'crane':
    'github:ipetkov/crane/32c21c29b034d0a93fdb2379d6fabc40fc3d0e6c?narHash=sha256-QmD6B6FYpuoCqu6ZuPJH896ItNquDkn0ulQlOn4ykN8%3D' (2024-06-18)
  → 'github:ipetkov/crane/0aed560c5c0a61c9385bddff471a13036203e11c?narHash=sha256-yHVvNsgrpyNTXZBEokL8uyB2J6gB1wEx0KOJzoeZi1A%3D' (2024-07-06)
• Updated input 'fenix':
    'github:nix-community/fenix/57a65e7ae468a2d53f645afdd84fcc3f1c63a5d7?narHash=sha256-k2UzQJoYURRxcSZxseB6ZX/cdr0K4svGDBZiE9FkaYs%3D' (2024-06-24)
  → 'github:nix-community/fenix/5c6f98d68f4825e4fa7b62b65d6777f8d152b3a0?narHash=sha256-cd8Mt%2BkqN876nk2zX/BZePiwDvrxgHgoBXJeYIj09es%3D' (2024-07-09)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/2fd803cc13dc11aeacaa6474e3f803988a7bfe1a?narHash=sha256-jzZRTQjXhiwEdzo/SlxP72BUa7g0LVr7MEsaR7A/geg%3D' (2024-06-22)
  → 'github:rust-lang/rust-analyzer/da27b89ca55d066680b2ddbc53477b3816cd5407?narHash=sha256-jqfodED9cglRkRfNI8TBWdjHcEoregUEzZd7%2B4edDsM%3D' (2024-07-08)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/89d69bf4d498acc7482ebe7288858f3b7194e851?narHash=sha256-ntKqNAm4KyOwU3J75EL6ZuNlPIRhcKY9ivKikORJXXo%3D' (2024-06-24)
  → 'github:NixOS/nixpkgs/fc85c058d4870915ca6c7a4bd634f697d866d54f?narHash=sha256-Vs6nYFRq5tQRcxm/AE0KNNQ3gW1pAB61aGDncwmYmaM%3D' (2024-07-09)
• Updated input 'nixpkgs-darwin':
    'github:NixOS/nixpkgs/dd868b7bd4d1407d607da0d1d9c5eca89132e2f7?narHash=sha256-wu/2PXVEHZBCg/qmlw5jJKs6zgVWfUpmnRTr9BiS3Uk%3D' (2024-06-22)
  → 'github:NixOS/nixpkgs/64f145f456b7a3953f191cad9e257cd88412044e?narHash=sha256-PV6LKJpj43tuKAMEfmXiKZjlOW1IqZORUJ8WYcdLtGE%3D' (2024-07-09)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/577ee84c69ba89894ac622d71a678a14d746b2f7?narHash=sha256-bFXHMjpYlEERexzXa1gLGJO/1l8dxaAtSNE56YALuTg%3D' (2024-06-24)
  → 'github:oxalica/rust-overlay/b970af40fdc4bd80fd764796c5f97c15e2b564eb?narHash=sha256-PHS2BcQ9kxBpu9GKlDg3uAlrX/ahQOoAiVmwGl6BjD4%3D' (2024-07-09)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-09 17:27:38 +00:00
Ivan Petkov
0aed560c5c
Update CHANGELOG 2024-07-05 17:41:47 -07:00
Ivan Petkov
087e08a410
Update flake.lock (#657)
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/683aa7c4e385509ca651d49eeb35e58c7a1baad6?narHash=sha256-e8S/ODM1vkKHIexSVn9nIvne7vRO5M%2B35VAq/6JOYto%3D' (2024-06-16)
  → 'github:NixOS/nixpkgs/0aeab749216e4c073cece5d34bc01b79e717c3e0?narHash=sha256-0LD%2BKePCKKEb4CcPsTBOwf019wDtZJanjoKm1S8q3Do%3D' (2024-07-02)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-03 16:49:38 +00:00
dependabot[bot]
047c929ad6
chore(deps): bump DeterminateSystems/update-flake-lock from 21 to 23 (#656) 2024-07-01 17:32:16 -07:00
Simon Žlender
aa5dcd0518
Splice overrideToolchain (#652)
---------

Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-06-29 11:29:52 -07:00
Ivan Petkov
9791c77eb7
Update internal flake.lock (#653)
flake.lock: Update

Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/af76d4423761499f954411bb3071dcc72e6b0450?narHash=sha256-LHjTqlOLgtv43GVkeM7Hb5HcZG5i/vNHnWgYaUzu%2BJg%3D' (2024-06-05)
  → 'github:rustsec/advisory-db/8eb99abe8c369b48bbd4ca04133e1f05be22a778?narHash=sha256-bSY6HPtJ9vCp0AGjL5X910aTg0mq32p3BcJmZQkNkMs%3D' (2024-06-19)
• Updated input 'crane':
    'github:ipetkov/crane/a21d14679fb306ab8fa6ae0255eb9dc185039367?narHash=sha256-dHwxCMe/Ki1xOAnbF9jQTXSFAMujpTnwWMbXvxcb5Uo%3D' (2024-06-09)
  → 'github:ipetkov/crane/32c21c29b034d0a93fdb2379d6fabc40fc3d0e6c?narHash=sha256-QmD6B6FYpuoCqu6ZuPJH896ItNquDkn0ulQlOn4ykN8%3D' (2024-06-18)
• Updated input 'fenix':
    'github:nix-community/fenix/ab655c627777ab5f9964652fe23bbb1dfbd687a8?narHash=sha256-ixopuTeTouxqTxfMuzs6IaRttbT8JqRW5C9Q/57WxQw%3D' (2024-06-08)
  → 'github:nix-community/fenix/57a65e7ae468a2d53f645afdd84fcc3f1c63a5d7?narHash=sha256-k2UzQJoYURRxcSZxseB6ZX/cdr0K4svGDBZiE9FkaYs%3D' (2024-06-24)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/48bbdd6a74f3176987d5c809894ac33957000d19?narHash=sha256-%2BlRAmz92CNUxorqWusgJbL9VE1eKCnQQojglRemzwkw%3D' (2024-06-05)
  → 'github:rust-lang/rust-analyzer/2fd803cc13dc11aeacaa6474e3f803988a7bfe1a?narHash=sha256-jzZRTQjXhiwEdzo/SlxP72BUa7g0LVr7MEsaR7A/geg%3D' (2024-06-22)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ae70e52bc33a8641b26548aec2418c2ac81329b9?narHash=sha256-g4ElKga%2BDO85wG2zWhyJ/YqykxbK6pAf3A1BkOZOjKI%3D' (2024-06-09)
  → 'github:NixOS/nixpkgs/89d69bf4d498acc7482ebe7288858f3b7194e851?narHash=sha256-ntKqNAm4KyOwU3J75EL6ZuNlPIRhcKY9ivKikORJXXo%3D' (2024-06-24)
• Updated input 'nixpkgs-darwin':
    'github:NixOS/nixpkgs/0d2739fb1cc99ff7ec1afdf1c331dbc9552000a9?narHash=sha256-HTFLVJQK2nWYxbeR1tEgXhHYeQj19sPlyxC1Q1t7UEw%3D' (2024-06-07)
  → 'github:NixOS/nixpkgs/dd868b7bd4d1407d607da0d1d9c5eca89132e2f7?narHash=sha256-wu/2PXVEHZBCg/qmlw5jJKs6zgVWfUpmnRTr9BiS3Uk%3D' (2024-06-22)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/1f536afad5c18ea4ae6bb592c3fef038e1e33568?narHash=sha256-9Z95F8lnY/5sOf7Z4IdABKz1ulB0ueNrZU864rQj280%3D' (2024-06-09)
  → 'github:oxalica/rust-overlay/577ee84c69ba89894ac622d71a678a14d746b2f7?narHash=sha256-bFXHMjpYlEERexzXa1gLGJO/1l8dxaAtSNE56YALuTg%3D' (2024-06-24)
• Removed input 'rust-overlay/flake-utils'

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-24 17:11:33 +00:00
Ivan Petkov
32c21c29b0
Update flake.lock (#649)
flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0?narHash=sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY%3D' (2024-05-30)
  → 'github:NixOS/nixpkgs/683aa7c4e385509ca651d49eeb35e58c7a1baad6?narHash=sha256-e8S/ODM1vkKHIexSVn9nIvne7vRO5M%2B35VAq/6JOYto%3D' (2024-06-16)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-18 17:02:27 +00:00
Ivan Petkov
0095fd8ea0
removeReferencesToVendoredSources: handle cargoVendorDir not pointing to store (#646) 2024-06-15 17:55:13 +00:00
Ivan Petkov
3e809d6a26
ci: stick to nix 2.18.2 (#647)
Recent Nix releases keep being unstable or outright broken. Switch to
using 2.18.2 (current version in nixos-unstable)
2024-06-15 10:42:00 -07:00
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