Commit Graph
566345 Commits
Author SHA1 Message Date
Paul Lietar 8e1e16fdcb rustc: Fix building cross-compilers for no_std targets.
When building a cross-compiler, the rustc derivation does some tricks to
only build the standard library and reuse the host's compiler, leading
to much faster build time.

Unfortunately, the way the build system was invoked, it would always
build the `std` crate, whether or not the target supports it. Some
bare-metal targets only support building the `core` and `alloc` crates.

By being more vague about the build command, using `library` instead of
`library/std`, Rust's build system is able to figure out exactly which
crates to build:
https://github.com/rust-lang/rust/blob/1.74.1/src/bootstrap/compile.rs#L370-L412

Oddly enough, the install command still needs to use `library/std`, even
if building just a subset:
https://github.com/rust-lang/rust/blob/1.74.1/src/bootstrap/install.rs#L207

The following command was used to reproduce the original issue. Without
this patch, it leads to a build failure when trying to compile one of
std's dependencies. With the patch it completes succesfully and produces
a working cross-compiler.

  nix build --impure --expr '(import ./. {
    crossSystem = {
      config = "riscv32-none-elf";
      rustc.config = "riscv32imc-unknown-none-elf";
    };
  }).buildPackages.rustc'
2024-01-04 10:18:33 +00:00
Felix BuehlerandMartin Weinelt 6ce10ae92e python311Packages.flowlogs-reader: rename from flowlogs_reader 2024-01-04 01:05:29 +01:00
Felix BuehlerandMartin Weinelt 02fda7df11 python311Packages.filebrowser-safe: rename from filebrowser_safe 2024-01-04 01:04:34 +01:00
Felix BuehlerandMartin Weinelt 3cd4bbedb1 python311Packages.docker-pycreds: rename from docker_pycreds 2024-01-04 01:03:56 +01:00
Felix BuehlerandMartin Weinelt 9fddd791c6 python311Packages.eyed3: rename from eyeD3 2024-01-04 01:03:36 +01:00
Martin WeineltandGitHub 9c2f7eb95d Merge pull request #278571 from NixOS/home-assistant
home-assistant: 2023.12.4 -> 2024.1.0
2024-01-04 01:01:27 +01:00
Felix BuehlerandMartin Weinelt 7dd34690ec python311Packages.cx-oracle: rename from cx_oracle 2024-01-04 01:00:55 +01:00
adisbladisandGitHub dbc85690de Merge pull request #277335 from adisbladis/buildenv-hoist-instantiation
build-support/buildenv: Hoist builder instantiation
2024-01-04 12:32:40 +13:00
Martin Weinelt 6e3207ae07 home-assistant: mark telegram test broken 2024-01-04 00:13:34 +01:00
Martin Weinelt 2452734ad4 home-assistant: 2023.12.4 -> 2024.1.0
https://www.home-assistant.io/blog/2024/01/03/release-20241/
2024-01-04 00:03:49 +01:00
Martin Weinelt f7da8b5541 home-assistant.intents: 2023.12.05 -> 2024.1.2
https://github.com/home-assistant/intents-package/compare/refs/tags/2023.12.05...2024.1.2
2024-01-04 00:03:48 +01:00
Fabian AffolterandMartin Weinelt 3a03f43098 python311Packages.zigpy-deconz: 0.22.3 -> 0.22.4
Diff: https://github.com/zigpy/zigpy-deconz/compare/refs/tags/0.22.3...0.22.4

Changelog: https://github.com/zigpy/zigpy-deconz/releases/tag/0.22.4
2024-01-04 00:03:48 +01:00
Fabian AffolterandMartin Weinelt 826f2cd111 python311Packages.bellows: 0.37.4 -> 0.37.6
Diff: https://github.com/zigpy/bellows/compare/refs/tags/0.37.4...0.37.6

Changelog: https://github.com/zigpy/bellows/releases/tag/0.37.6
2024-01-04 00:03:48 +01:00
Martin Weinelt 41dd43f50a python311Packages.zwave-js-server-python: 0.54.0 -> 0.55.2
https://github.com/home-assistant-libs/zwave-js-server-python/releases/tag/0.55.2
2024-01-04 00:03:48 +01:00
Fabian AffolterandMartin Weinelt 96d462c438 python311Packages.screenlogicpy: refactor 2024-01-04 00:03:47 +01:00
Martin Weinelt adaabe2c4c python3Packages.screenlogicpy: 0.9.4 -> 0.10.0
https://github.com/dieselrabbit/screenlogicpy/releases/tag/v0.10.0
2024-01-04 00:03:47 +01:00
Martin Weinelt 5439dd8e44 python311Packages.roonapi: 0.1.5 -> 0.1.6
https://github.com/pavoni/pyroon/releases/tag/0.1.6
2024-01-04 00:03:47 +01:00
Fabian AffolterandMartin Weinelt b5eb02c696 python311Packages.reolink-aio: 0.8.4 -> 0.8.5
Diff: https://github.com/starkillerOG/reolink_aio/compare/refs/tags/0.8.4...0.8.5

Changelog: https://github.com/starkillerOG/reolink_aio/releases/tag/0.8.5
2024-01-04 00:03:47 +01:00
Martin Weinelt 7f784ce7d0 python311Packages.aiortsp: init at 1.3.7 2024-01-04 00:03:46 +01:00
Thomas GerbetandGitHub 054533f5c8 Merge pull request #214029 from LeSuisse/ripunzip-init-0.4.0
ripunzip: init at 1.1.0
2024-01-03 23:58:02 +01:00
Aaron HoneycuttandCole Helbling a1969899b1 cosmic-term: init at unstable-2023-12-26 2024-01-03 14:46:23 -08:00
adisbladisandGitHub efc960b6d6 Merge pull request #277103 from samuelrivas/add-copilot-el
copilot-el: init at d4fa14cea818e041b4a536c5052cf6d28c7223d7
2024-01-04 11:30:53 +13:00
Weijia WangandGitHub 1b64670dcb Merge pull request #277216 from mfrischknecht/fix-echidna-build
echidna: fix broken build
2024-01-03 23:30:34 +01:00
0x4A6FandGitHub 9883068568 Merge pull request #276411 from ivan770/update-zola
zola: 0.17.2 -> 0.18.0
2024-01-03 23:29:45 +01:00
Gaetan LepageandMatthieu Coudron 15373e4b9d maintainers/scripts/pluginupdate.py: filter invalid XML characters 2024-01-03 23:23:09 +01:00
Gaetan LepageandMatthieu Coudron a674525c99 vimPlugins.roslyn-nvim: init at 2023-12-19 2024-01-03 23:22:17 +01:00
Weijia WangandGitHub 189bc6288b Merge pull request #278545 from malob/update-signalbackup-tools
signalbackup-tools: 20231211 -> 20240103-1
2024-01-03 23:12:29 +01:00
Adam C. StephensandGitHub 47df65bb56 Merge pull request #278484 from adamcstephens/incus/complete
incus: install all shell completions
2024-01-03 17:02:59 -05:00
Martin Weinelt d5c39a4b92 python311Packages.pyunifiprotect: 4.22.4 -> 4.22.5
https://github.com/AngellusMortis/pyunifiprotect/releases/tag/v4.22.5
2024-01-03 23:02:52 +01:00
Martin Weinelt 245ecb4766 python311Packages.python-matter-server: 5.0.3 -> 5.1.1
https://github.com/home-assistant-libs/python-matter-server/releases/tag/5.1.0
https://github.com/home-assistant-libs/python-matter-server/releases/tag/5.1.1
2024-01-03 23:02:52 +01:00
Martin Weinelt 8a30737c3b python311Packages.home-assistant-chip-clusters: 2023.10.2 -> 2023.12.0
https://github.com/home-assistant-libs/chip-wheels/releases/tag/2023.12.0
2024-01-03 23:02:52 +01:00
Martin Weinelt 127f1ef2c6 python311Packages.home-assistant-chip-core: 2023.10.2 -> 2023.12.0
https://github.com/home-assistant-libs/chip-wheels/releases/tag/2023.12.0
2024-01-03 23:02:51 +01:00
Weijia WangandGitHub 020146194a Merge pull request #278390 from donovanglover/lutgen
lutgen: add shell completions
2024-01-03 22:34:20 +01:00
Fabian AffolterandMartin Weinelt c341bc0327 python311Packages.pyprusalink: refactor 2024-01-03 22:31:27 +01:00
Martin Weinelt 08fc3bf51e python3Packages.pyprusalink: 1.1.0 -> 2.0.0 2024-01-03 22:31:27 +01:00
Fabian AffolterandMartin Weinelt 59e6d86418 python311Packages.openwebifpy: 3.2.7 -> 4.0.2
Changelog: https://github.com/autinerd/openwebifpy/releases/tag/4.0.2
2024-01-03 22:31:26 +01:00
Martin Weinelt 812920d19d python311Packages.hass-nabucasa: 0.74.0 -> 0.75.1
https://github.com/NabuCasa/hass-nabucasa/releases/tag/0.75.1
2024-01-03 22:31:26 +01:00
Martin Weinelt 55289c1140 python311Packages.dbus-fast: 2.20.0 -> 2.21.0
https://github.com/Bluetooth-Devices/dbus-fast/releases/tag/v2.21.0
2024-01-03 22:31:26 +01:00
R. RyantmandMartin Weinelt 3f3bd9ace5 python311Packages.brother: 2.3.0 -> 3.0.0
https://github.com/bieniu/brother/releases/tag/3.0.0

Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
2024-01-03 22:31:25 +01:00
Fabian AffolterandMartin Weinelt 33c3a670c8 python311Packages.bluetooth-data-tools: 1.18.0 -> 1.19.0
Diff: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/refs/tags/v1.18.0...v1.19.0

Changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/blob/v1.19.0/CHANGELOG.md
2024-01-03 22:31:25 +01:00
Martin Weinelt 7cfe1e9b43 python311Packages.async-upnp-client: 0.36.2 -> 0.38.0
https://github.com/StevenLooman/async_upnp_client/blob/0.38.0/CHANGES.rst
2024-01-03 22:31:25 +01:00
Fabian AffolterandMartin Weinelt c5893b621c python311Packages.aioshelly: 6.1.0 -> 7.0.0
Diff: https://github.com/home-assistant-libs/aioshelly/compare/refs/tags/6.1.0...7.0.0

Changelog: https://github.com/home-assistant-libs/aioshelly/releases/tag/7.0.0
2024-01-03 22:31:25 +01:00
Weijia WangandGitHub c10ee5009f Merge pull request #275884 from philipp-baumann/patch-soci-aarch64-darwin-kerberos
soci: fix darwin build
2024-01-03 22:28:46 +01:00
Robert ScottandGitHub cdbeb9666c Merge pull request #277300 from panicgh/fastcdr
fastcdr: fix build tests
2024-01-03 21:22:20 +00:00
Weijia WangandGitHub 1fe9682491 Merge pull request #278051 from nevivurn/fix/libsvm-so-filename
libsvm: fix shared library filename
2024-01-03 22:11:17 +01:00
Fabian AffolterandGitHub d09a05ee11 Merge pull request #278492 from fabaff/huum-bump
python311Packages.huum: 0.7.1 -> 0.7.9
2024-01-03 22:03:47 +01:00
Weijia WangandGitHub 2d45580e60 Merge pull request #278151 from peterhoeg/u/peruse
peruse: 1.2.20200208 -> 1.80
2024-01-03 22:00:15 +01:00
Weijia WangandGitHub 551bcaeff5 Merge pull request #272813 from r-ryantm/auto-update/vimPlugins.vim-clap
vimPlugins.vim-clap: 0.47 -> 0.49
2024-01-03 21:18:37 +01:00
Pavol RusnakandGitHub 080eb8623b Merge pull request #274526 from Scrumplex/pkgs/monado/unstable-2023-12 2024-01-03 21:18:12 +01:00
0x4A6FandGitHub 0b15d0fbb0 Merge pull request #278496 from r-vdp/atuin_17_2_0
atuin 17.1.0 -> 17.2.1
2024-01-03 21:07:34 +01:00