nix-community / nixpkgs-wayland

Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS. [maintainers=@colemickens, @Artturin]
510 stars 45 forks source link

overlay breaks imv build #441

Closed adamdicarlo0 closed 7 months ago

adamdicarlo0 commented 7 months ago
~/nixos-config main* ⇡ 52s
❯ sudo nixos-rebuild --flake . --impure test
building the system configuration...
error: builder for '/nix/store/kgxfbg8lmx46jsi0325k0l6nc9nsjf90-imv-+885e173.drv' failed with exit code 1;
       last 10 log lines:
       > mesonConfigurePhase flags: --prefix=/nix/store/1vxjz4b79fwhpr4cq124hij1scwv2qn2-imv-+885e173 --libdir=/nix/store/1vxjz4b79fwhpr4cq124hij1scwv2qn2-imv-+885e173/lib --libexecdir=/nix/store/1vxjz4b79fwhpr4cq124hij1scwv2qn2-imv-+885e173/libexec --bindir=/nix/store/1vxjz4b79fwhpr4cq124hij1scwv2qn2-imv-+885e173/bin --sbindir=/nix/store/1vxjz4b79fwhpr4cq124hij1scwv2qn2-imv-+885e173/sbin --includedir=/nix/store/1vxjz4b79fwhpr4cq124hij1scwv2qn2-imv-+885e173/include --mandir=/nix/store/vhl01flzld7x0cks0qzbc3p1pjicvy7m-imv-+885e173-man/share/man --infodir=/nix/store/1vxjz4b79fwhpr4cq124hij1scwv2qn2-imv-+885e173/share/info --localedir=/nix/store/1vxjz4b79fwhpr4cq124hij1scwv2qn2-imv-+885e173/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Dwindows=all -Dtest=enabled -Dman=enabled -Dfreeimage=disabled -Dlibheif=enabled -Dlibjpeg=enabled -Dlibjxl=enabled -Dlibnsgif=disabled -Dlibpng=enabled -Dlibrsvg=enabled -Dlibtiff=enabled
       > The Meson build system
       > Version: 1.3.1
       > Source dir: /build/source
       > Build dir: /build/source/build
       > Build type: native build
       >
       > meson.build:1:0: ERROR: Unknown options: "libjxl"
       >
       > A full log can be found at /build/source/build/meson-logs/meson-log.txt
       For full logs, run 'nix log /nix/store/kgxfbg8lmx46jsi0325k0l6nc9nsjf90-imv-+885e173.drv'.
error: 1 dependencies of derivation '/nix/store/71li7wklmhafisgc51nsrvc67rchd4xy-imv-+885e173_fish-completions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/aq2gf5a3920q2v65dsl9fxk4rppa3jwx-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zmbhjxx6mvb4fjv2s8q9rvidyx4vhqhw-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/27xnk216yrx1az1n69pi3kz6zrmzc4rg-nixos-system-tiv-24.05.20240223.cbc4211.drv' failed to build

When removing the overlay, imv builds successfully. It looks like the Meson version is different, going by the "Version: 1.3.1" and the fact that in a nix-shell -p meson, meson --version says 1.2.3.

Here's the nixpkgs node from my flake.lock, in case it's helpful. (I just ran nix flake update today, and then this problem started happening. I hadn't updated in a couple of weeks.)

    "nixpkgs": {
      "locked": {
        "lastModified": 1708655239,
        "narHash": "sha256-ZrP/yACUvDB+zbqYJsln4iwotbH6CTZiTkANJ0AgDv4=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "cbc4211f0afffe6dfd2478a62615dd5175a13f9a",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixos-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
Scrumplex commented 7 months ago

The CI that's supposed to update this repo seems to be broken currently.

Artturin commented 7 months ago

Closing in favor of https://github.com/nix-community/nixpkgs-wayland/issues/442