Open
Description
After running nix build github:sandydoo/flux
the build fails with the following error:
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/7jc6sl4fv89mc86prv0hcl7jflf8wxnh-flux-web-4.7.0.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/ava838216fich57vw2isaimx7habg4rs-web
source root is web
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
no Makefile or custom buildPhase, doing nothing
@nix { "action": "setPhase", "phase": "installPhase" }
installing
{
WEBPACK_BUNDLE: true,
WEBPACK_BUILD: true,
'skip-wasm-pack': true,
'path-to-elm': '/nix/store/8rlasrnb8qxy8lflskjqnrxpkmc5jc9h-elm-0.19.1/bin/elm'
}
^MVerifying dependencies (0/11)^MVerifying dependencies (1/11)^MVerifying dependencies (2/11)^MVerifying dependencies (3/11)^MVerifying dependencies (4/11)^MVerifying dependencies (5/11)^MVerifying dependencies>
Compiling ...^MCompiling (1)^MSuccess! Compiled 1 module.
Main ───> /build/2024318-106-1vg96i9.75bm.js
assets by status 1.05 MiB [cached] 11 assets
runtime modules 4.67 KiB 8 modules
orphan modules 79 bytes [orphan] 1 module
cacheable modules 215 KiB (javascript) 231 KiB (webassembly)
modules by path ./src/ 172 KiB
./src/index.js 1.35 KiB [built] [code generated]
./src/Main.elm 171 KiB [built] [code generated]
modules by path ./flux/ 42.9 KiB (javascript) 231 KiB (webassembly)
./flux/flux_wasm_bg.js 40.8 KiB [built] [code generated]
./flux/flux_wasm_bg.wasm 2.09 KiB (javascript) 231 KiB (webassembly) [built] [code generated]
ERROR in ./src/index.js 2:0-48
Module not found: Error: Can't resolve '../flux-next' in '/build/web/src'
resolve '../flux-next' in '/build/web/src'
using description file: /build/web/package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
using description file: /build/web/package.json (relative path: ./flux-next)
no extension
Field 'browser' doesn't contain a valid alias configuration
/build/web/flux-next doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/build/web/flux-next.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/build/web/flux-next.json doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
/build/web/flux-next.wasm doesn't exist
as directory
/build/web/flux-next doesn't exist
webpack 5.89.0 compiled with 1 error in 1079 ms
When running nix run github:sandydoo/flux
(with RUST_BACKTRACE=full
) I get the following crash:
thread 'main' panicked at /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/winit-0.26.1/src/platform_impl/linux/wayland/window/mod.rs:229:77:
internal error: entered unreachable code
stack backtrace:
0: 0x55898e53f6dd - <unknown>
1: 0x55898e3c6bb0 - <unknown>
2: 0x55898e514e3e - <unknown>
3: 0x55898e540f9e - <unknown>
4: 0x55898e5408a5 - <unknown>
5: 0x55898e5417cb - <unknown>
6: 0x55898e5412d8 - <unknown>
7: 0x55898e541266 - <unknown>
8: 0x55898e541251 - <unknown>
9: 0x55898e35dcd4 - <unknown>
10: 0x55898e35dea2 - <unknown>
11: 0x55898e392a52 - <unknown>
12: 0x55898e54af92 - <unknown>
13: 0x7f4a9038b90a - wl_closure_dispatch
14: 0x7f4a90387b81 - dispatch_event.isra.0
15: 0x7f4a90389534 - wl_display_dispatch_queue_pending
16: 0x7f4a90389aef - wl_display_roundtrip_queue
17: 0x55898e391d49 - <unknown>
18: 0x55898e392dcf - <unknown>
19: 0x55898e39d789 - <unknown>
20: 0x55898e39a2b5 - <unknown>
21: 0x55898e37df78 - <unknown>
22: 0x55898e37e522 - <unknown>
23: 0x7f4a903bffce - __libc_start_call_main
24: 0x7f4a903c0089 - __libc_start_main_impl
25: 0x55898e37ad75 - <unknown>
26: 0x0 - <unknown>
zsh: abort (core dumped) RUST_BACKTRACE=full nix run github:sandydoo/flux
My system info is as follows. I'm running nixpkgs unstable at commit 1042fd8, and am using the Hyprland Wayland compositor.
- system:
"x86_64-linux"
- host os:
Linux 6.6.26, NixOS, 24.05 (Uakari), 24.05.20240410.1042fd8
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.21.2
Let me know if you need any further info.