diff options
author | Delan Azabani <dazabani@igalia.com> | 2024-01-05 10:15:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 02:15:16 +0000 |
commit | c219204084b8f8a747ebd37ec75472c1b7e97411 (patch) | |
tree | bfd17e2ebc4c1d0394dfb547c848e2ca97cca218 /support/crown | |
parent | 21d9c2cc637842118adc5af682422e3df994710b (diff) | |
download | servo-c219204084b8f8a747ebd37ec75472c1b7e97411.tar.gz servo-c219204084b8f8a747ebd37ec75472c1b7e97411.zip |
Fix crown on NixOS (#30987)
* Fix crown on NixOS
* no need to install libs, because there are none
* fix program name in usage message
* use the cargo provided by each buildPhase
* cargo update --offline can be used to reformat lockfiles
* document how to keep rust-toolchain.toml and etc/shell.nix in sync
* clarify comment about allowBuiltinFetchGit
* fix license
* clarify purpose of filterlock
* explain why crown must not use workspace dependencies
Diffstat (limited to 'support/crown')
-rw-r--r-- | support/crown/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support/crown/Cargo.toml b/support/crown/Cargo.toml index 19a60cc59e8..9010fb3f10c 100644 --- a/support/crown/Cargo.toml +++ b/support/crown/Cargo.toml @@ -5,6 +5,9 @@ version = "0.1.0" edition = "2021" license = "MPL-2.0" +# Do not use workspace dependencies in this package! +# In etc/shell.nix, we filter Cargo.lock and build this package in isolation, +# so it needs to make sense without the workspace manifest. [dev-dependencies] compiletest_rs = { version = "0.10", features = ["tmp"] } once_cell = "1" |