rustc should not be installed #1

Closed
opened 2022-03-29 18:43:18 +08:00 by sb10q · 5 comments

rustc gets installed for some reason, which bloats the installation and makes it unnecessarily slow.

rustc gets installed for some reason, which bloats the installation and makes it unnecessarily slow.
Poster
Owner

More specifically those entries are bloating the nix store:

0ba2qjkddhk0g13nvfla2sacygjisqq4-rust-src
9h5v5s75b12vk12rnijsnz6iw3l1lxkd-rust-1.51.0-nightly-2021-01-28-c0b64d97b
arz3gn52jjyr55p7vzx0dw72vk6av5ym-rust-nightly-x86_64-unknown-linux-gnu.tar.xz
cjaffkh9in3507i104bmsfkgpa436s3s-rust
gpd2hhhn8b4qh534i0vxm3gkd91x4a9g-channel-rust-nightly.toml
li6zdyj878ipyip7i704cc0z0s4b98bz-rust-src-nightly.tar.xz

cjaffkh9in3507i104bmsfkgpa436s3s-rust also contains 1.51.0-nightly-2021-01-28.

More specifically those entries are bloating the nix store: ``` 0ba2qjkddhk0g13nvfla2sacygjisqq4-rust-src 9h5v5s75b12vk12rnijsnz6iw3l1lxkd-rust-1.51.0-nightly-2021-01-28-c0b64d97b arz3gn52jjyr55p7vzx0dw72vk6av5ym-rust-nightly-x86_64-unknown-linux-gnu.tar.xz cjaffkh9in3507i104bmsfkgpa436s3s-rust gpd2hhhn8b4qh534i0vxm3gkd91x4a9g-channel-rust-nightly.toml li6zdyj878ipyip7i704cc0z0s4b98bz-rust-src-nightly.tar.xz ``` ``cjaffkh9in3507i104bmsfkgpa436s3s-rust`` also contains ``1.51.0-nightly-2021-01-28``.
Poster
Owner

Can be reproduced without installing a machine with nix build .#nixosConfigurations.artiq.config.system.build.toplevel

Can be reproduced without installing a machine with ``nix build .#nixosConfigurations.artiq.config.system.build.toplevel``
Poster
Owner

Two bugs here:

  1. The flake also installs artiq-board-kc705-nist_clock but should not.
  2. artiq-board-kc705-nist_clock depends on rustc when substituted, even though it is only a build dependency.
Two bugs here: 1. The flake also installs artiq-board-kc705-nist_clock but should not. 2. artiq-board-kc705-nist_clock depends on rustc when substituted, even though it is only a build dependency.
sb10q closed this issue 2023-01-04 11:32:00 +08:00
Poster
Owner

Didn't actually work :(

Didn't actually work :(
sb10q reopened this issue 2023-01-05 11:23:33 +08:00
Poster
Owner

Seems the binary substituter isn't used during installation and it uses rustc for the libartiq-support tests.

Seems the binary substituter isn't used during installation and it uses rustc for the libartiq-support tests.
sb10q closed this issue 2023-02-04 18:29:45 +08:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/defenestrate#1
There is no content yet.