Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cannot build .#eww with Nix #733

Closed
3 tasks done
adomixaszvers opened this issue Mar 31, 2023 · 0 comments · Fixed by #1038 · May be fixed by #748
Closed
3 tasks done

[BUG] Cannot build .#eww with Nix #733

adomixaszvers opened this issue Mar 31, 2023 · 0 comments · Fixed by #1038 · May be fixed by #748
Labels
bug Something isn't working

Comments

@adomixaszvers
Copy link

adomixaszvers commented Mar 31, 2023

Checklist before submitting an issue

  • I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • I have specifically verified that this bug is not a common user error
  • I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug

Eww cannot be build with nix after changes made on #722.

Reproducing the issue

nix build 'github:elkowar/eww/642983a066931225aef43d4fba77c6d99e8d580d#eww'
error: builder for '/nix/store/kj68pkc9jrkh0v8xw4rzcdg509bg8ps5-eww-642983a066931225aef43d4fba77c6d99e8d580d.drv' failed with exit code 101;
       last 10 log lines:
       >   Package gtk-layer-shell-0 was not found in the pkg-config search path.
       >   Perhaps you should add the directory containing `gtk-layer-shell-0.pc'
       >   to the PKG_CONFIG_PATH environment variable
       >   No package 'gtk-layer-shell-0' found
       >   Package gtk-layer-shell-0 was not found in the pkg-config search path.
       >   Perhaps you should add the directory containing `gtk-layer-shell-0.pc'
       >   to the PKG_CONFIG_PATH environment variable
       >   No package 'gtk-layer-shell-0' found
       >
       > warning: build failed, waiting for other jobs to finish...
       For full logs, run 'nix log /nix/store/kj68pkc9jrkh0v8xw4rzcdg509bg8ps5-eww-642983a066931225aef43d4fba77c6d99e8d580d.drv'.

Expected behaviour

Running github:elkowar/eww#eww should build successfully

Additional context

~/git/eww master
❯ git bisect start                                        
status: waiting for both good and bad commits

~/git/eww master bisect
❯ git bisect good c72b881c3f8f2d2ad8d7a6c337ab3f55ff73ef4b
status: waiting for bad commit, 1 good commit known

~/git/eww master bisect
❯ git bisect bad e76206817de1cb86ec431dcff7d4b04c8b7d36fc
Bisecting: 2 revisions left to test after this (roughly 1 step)
[642983a066931225aef43d4fba77c6d99e8d580d] Default to building with both x11 and wayland (#722)

~/git/eww remotes/origin/fix-dangling-daemon~3 bisect
❯ git bisect run nix build .\#eww                        
running  'nix' 'build' '.#eww'
error: builder for '/nix/store/kj68pkc9jrkh0v8xw4rzcdg509bg8ps5-eww-642983a066931225aef43d4fba77c6d99e8d580d.drv' failed with exit code 101;
       last 10 log lines:
       >   Package gtk-layer-shell-0 was not found in the pkg-config search path.
       >   Perhaps you should add the directory containing `gtk-layer-shell-0.pc'
       >   to the PKG_CONFIG_PATH environment variable
       >   No package 'gtk-layer-shell-0' found
       >   Package gtk-layer-shell-0 was not found in the pkg-config search path.
       >   Perhaps you should add the directory containing `gtk-layer-shell-0.pc'
       >   to the PKG_CONFIG_PATH environment variable
       >   No package 'gtk-layer-shell-0' found
       >
       > warning: build failed, waiting for other jobs to finish...
       For full logs, run 'nix log /nix/store/kj68pkc9jrkh0v8xw4rzcdg509bg8ps5-eww-642983a066931225aef43d4fba77c6d99e8d580d.drv'.
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[de232de41b428b2caf1f41e021e67c0b86e65908] feat: `truncate-left` for labels (#721)
running  'nix' 'build' '.#eww'
642983a066931225aef43d4fba77c6d99e8d580d is the first bad commit
commit 642983a066931225aef43d4fba77c6d99e8d580d
Author: ElKowar <5300871+elkowar@users.noreply.github.com>
Date:   Sun Mar 26 12:09:03 2023 +0200

    Default to building with both x11 and wayland (#722)
    
    * Default to building with both x11 and wayland
    
    * Update CI to include tests and building for wayland and x11

 .github/workflows/build.yml                        |  12 +-
 CHANGELOG.md                                       |   1 +
 Cargo.lock                                         | 348 ++++++++++-----------
 crates/eww/Cargo.toml                              |  37 ++-
 crates/eww/src/app.rs                              |  18 +-
 crates/eww/src/display_backend.rs                  | 197 ++++++------
 crates/eww/src/main.rs                             | 178 ++++++-----
 crates/eww/src/opts.rs                             |   9 +-
 crates/eww/src/server.rs                           |  12 +-
 crates/yuck/Cargo.toml                             |   5 -
 crates/yuck/src/config/backend_window_options.rs   | 193 ++++++------
 .../snapshots/yuck__parser__test__test-10.snap     |   8 +
 .../snapshots/yuck__parser__test__test-11.snap     |   8 +
 .../snapshots/yuck__parser__test__test-12.snap     |   8 +
 .../snapshots/yuck__parser__test__test-13.snap     |   8 +
 .../snapshots/yuck__parser__test__test-14.snap     |   8 +
 .../snapshots/yuck__parser__test__test-15.snap     |   8 +
 .../snapshots/yuck__parser__test__test-16.snap     |   8 +
 .../snapshots/yuck__parser__test__test-17.snap     |   8 +
 .../snapshots/yuck__parser__test__test-2.snap      |   8 +
 .../snapshots/yuck__parser__test__test-3.snap      |   8 +
 .../snapshots/yuck__parser__test__test-4.snap      |   8 +
 .../snapshots/yuck__parser__test__test-5.snap      |   8 +
 .../snapshots/yuck__parser__test__test-6.snap      |   8 +
 .../snapshots/yuck__parser__test__test-7.snap      |   8 +
 .../snapshots/yuck__parser__test__test-8.snap      |   8 +
 .../snapshots/yuck__parser__test__test-9.snap      |   8 +
 .../parser/snapshots/yuck__parser__test__test.snap |   8 +
 28 files changed, 658 insertions(+), 488 deletions(-)
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-10.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-11.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-12.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-13.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-14.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-15.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-16.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-17.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-2.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-3.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-4.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-5.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-6.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-7.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-8.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test-9.snap
 create mode 100644 crates/yuck/src/parser/snapshots/yuck__parser__test__test.snap
bisect found first bad commit
@adomixaszvers adomixaszvers added the bug Something isn't working label Mar 31, 2023
@adomixaszvers adomixaszvers changed the title [BUG] Canno build .#eww with Nix [BUG] Cannot build .#eww with Nix Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant