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

Can't build on NixOS #381

Open
ProbablyRohan opened this issue Feb 17, 2025 · 0 comments · May be fixed by #383
Open

Can't build on NixOS #381

ProbablyRohan opened this issue Feb 17, 2025 · 0 comments · May be fixed by #383
Labels
bug Something isn't working

Comments

@ProbablyRohan
Copy link

  • Swayfx Version:

    • swayfx version 0.4 (based on sway 1.9.0)
  • Description:

    • SwayFX fails to build both with the nixpkgs overlay and after building with nix build, having something to do with patches either being applied or not being applied
error: builder for '/nix/store/kxs27ljcgj37ksp0y0sl6x6w2rgf7da4-swayfx-unwrapped-0.4.0-git.drv' failed with exit code 1;
       last 25 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/1c7q3kgy6lncycri1w47vxzf3jqn8xbl-source
       > source root is source
       > Running phase: patchPhase
       > applying patch /nix/store/si2715pz9bn1wjfkwkn7yjf49jswgi2m-load-configuration-from-etc.patch
       > patching file meson.build
       > Hunk #1 succeeded at 162 (offset -2 lines).
       > patching file sway/config.c
       > Hunk #1 succeeded at 426 (offset 52 lines).
       > applying patch /nix/store/5k4a12fq59qr3w4bqyqbgnc650haknai-8470.patch?full_index=1
       > patching file meson.build
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored -- saving rejects to file meson.build.rej
       > patching file sway/commands/input/drag_lock.c
       > patching file sway/input/libinput.c
       > patching file sway/ipc-json.c
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored -- saving rejects to file sway/ipc-json.c.rej
       > patching file sway/sway-input.5.scd
       > patching file sway/sway-ipc.7.scd
       > Hunk #1 succeeded at 1205 (offset 31 lines).
       For full logs, run 'nix log /nix/store/kxs27ljcgj37ksp0y0sl6x6w2rgf7da4-swayfx-unwrapped-0.4.0-git.drv'.
  • Steps to reproduce:
  1. Clone the repo git clone https://willpower3309/swayfx
  2. Update flake inputs nix flake input
  3. Build swayFX with nix build
  4. swayFX will fail to build
@ProbablyRohan ProbablyRohan added the bug Something isn't working label Feb 17, 2025
@johnae johnae linked a pull request Feb 17, 2025 that will close this issue
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
Development

Successfully merging a pull request may close this issue.

1 participant