Conversation
Since b2f9cd3 ("gobject-introspection: use wrapper.nix for the native package too so we can propagate the dev output"), gobject-introspection doesn't need to be included in buildInputs when it's in nativeBuildInputs, as it's propagated from the setup hook. Removing the build input fixes evaluation in buildPackages when cross-compiling to platforms that gobject-introspection is unsupported on, like ghcjs. Tested building natively on x86_64-linux, in pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
Since b2f9cd3 ("gobject-introspection: use wrapper.nix for the native package too so we can propagate the dev output"), gobject-introspection doesn't need to be included in buildInputs when it's in nativeBuildInputs, as it's propagated from the setup hook. Removing the build input fixes evaluation in buildPackages when cross-compiling to platforms that gobject-introspection is unsupported on, like ghcjs. Tested building natively on x86_64-linux, in pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
…nput Since b2f9cd3 ("gobject-introspection: use wrapper.nix for the native package too so we can propagate the dev output"), gobject-introspection doesn't need to be included in buildInputs when it's in nativeBuildInputs, as it's propagated from the setup hook. Removing the build input fixes evaluation in buildPackages when cross-compiling to platforms that gobject-introspection is unsupported on, like ghcjs. Tested building natively on x86_64-linux, in pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
While at it added trivial updater.
ninja: fix cross compilation
xorg.fontutil: 1.3.1 -> 1.3.3
gobject-introspection is now usable when cross-compiling, but only if we can emulate the host platform, which is not the case in general. For example, when cross-compiling from Linux to BSD. Fixes: 1bd8727 ("various: enable gobject-introspection when cross-compiling")
Builds for FreeBSD.
gobject-introspection is now usable when cross-compiling, but only if we can emulate the host platform, which is not the case in general. For example, when cross-compiling from Linux to BSD. Fixes: 1bd8727 ("various: enable gobject-introspection when cross-compiling")
Builds for FreeBSD.
python310Packages.types-toml: 0.10.8.1 -> 0.10.8.2
libiconv is already defined per-platform. The actual libiconv library won't be built on platforms like Linux where it doesn't need to be, so there's no need to maintain a separate platform list here. Required to build for FreeBSD.
I split out architecture and operating system, since the values don't depend on each other, and this saves a lot of repetition.
libiconv is already defined per-platform. The actual libiconv library won't be built on platforms like Linux where it doesn't need to be, so there's no need to maintain a separate platform list here. Required to build for FreeBSD.
This is useful when cross-compiling to platforms that we can't build Python for (and also just more semantically correct).
I've changed etnaviv from being explicitly enabled on ARM to using its auto value, as it is now enabled by default on appropriate architectures (including ARM). Make omap and etnaviv Linux-only as they both include Linux headers. They're disabled in FreeBSD Ports too.
doxygen: depend on libiconv unconditionally
libdrm: fix build for FreeBSD
openjpeg: move jpylizer to nativeCheckInputs
chez-racket: support many more platforms
Remove lots more obsolete gobject-introspection build inputs
It seems that in the few weeks between me writing the previous patch and submitting it for review, I had forgotten I hadn't tested the non-cross case yet, and so hadn't caught that the tests didn't actually work any more. Oops! Fixes: 3404d6b ("openjpeg: move jpylizer to nativeCheckInputs")
Conflicts: pkgs/development/libraries/pmdk/default.nix
- add vulkan-headers as a dependency - hack around ffmpeg using unstable VK_EXT names for extensions - drive-by cleanup: remove unused inherit
[staging-next] ffmpeg-5: fix Vulkan builds
The build used to fail with
Found duplicated packages in closure for dependency 'docutils':
docutils 0.19 (/nix/store/y1ifaaf1pfh8pz4qfqvc5gdk3a7s1563-python3.10-docutils-0.19/lib/python3.10/site-packages)
docutils 0.16 (/nix/store/f2rd8fjdjzy0kpqd2x0gw5lwbxwmzzm6-python3.10-docutils-0.16/lib/python3.10/site-packages)
Just manually updating the generated nix file, so that .gi-harfbuzz builds until a proper update is done. Upstream cross-ref: haskell-gi/haskell-gi#396 (comment)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://hydra.nixos.org/job/nixpkgs/staging-next/unstable#tabs-constituents
https://hydra.nixos.org/job/nixos/staging-next-small/tested
https://hydra.nixos.org/jobset/nixpkgs/staging-next
https://hydra.nixos.org/jobset/nixos/staging-next-small
Mass breakages
(will be edited in future)
python3Packages.aiohttpfail testsOn
*-linuxat least. aarch64 log; I did x86_64 locally with the same three tests reported.720a248
libdeflateonx86_64-darwin(only)libdeflate: 1.8 -> 1.17 #216181 (comment)
libdeflate: fix darwin build #217067
ruby_3_0on*-darwin(only)aarch64, same for x86_64 locally.
ruby_3_0: fix build on darwin #217024
ibus(linux)https://hydra.nixos.org/build/209900957 https://hydra.nixos.org/build/209896970
maintainers:
@ttuegel@yanalunaterrapython3Packages.uvloopon x86_64-darwin (some test failure)https://hydra.nixos.org/build/209939576
haskellPackages.gi-harfbuzzwaiting for upstream:gi-harfbuzz fails to build with harfbuzz-7.0 haskell-gi/haskell-gi#396 (comment)
haskellPackages: update stackage and hackage #217111 (comment)
Current regression list (detailed):
https://hydra.nixos.org/eval/1791068?compare=1791059#tabs-now-fail