Nixpkgs: nushell: fails to build on linux x86_64

Created on 14 Feb 2020  路  1Comment  路  Source: NixOS/nixpkgs

Describe the bug
See https://hydra.nixos.org/build/112753844 & https://hydra.nixos.org/build/112753844/nixlog/1


--- stderr
error occured in handler:  ('event:   ', ('xcb', 'Present', 'RedirectNotify'))
Traceback (most recent call last):
  File "/build/nushell-0.9.0-vendor/xcb/rs_client.py", line 2448, in <module>
    module.generate()
  File "/build/nushell-0.9.0-vendor/xcb/xcbgen/state.py", line 108, in generate
    self.close()
  File "/build/nushell-0.9.0-vendor/xcb/rs_client.py", line 296, in rs_close
    _f.writeout(os.path.join(module.rs_srcdir, "ffi", "%s.rs" % _module_name(_ns.ext_name)))
  File "/build/nushell-0.9.0-vendor/xcb/rs_client.py", line 114, in writeout
    with open(path, 'w') as f:
PermissionError: [Errno 13] Permission denied: '/build/nushell-0.9.0-vendor/xcb/src/ffi/present.rs'
thread 'main' panicked at 'processing of /build/nushell-0.9.0-vendor/xcb/xml/present.xml returned non-zero (1)', /build/nushell-0.9.0-vendor/xcb/build.rs:75:17

To Reproduce
Steps to reproduce the behavior:

  1. Build package

Expected behavior
Should build on linux

Build on darwin works

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
 - nushell
# a list of nixos modules affected by the problem
module:

cc @filalex77 @marsam

bug

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nh2 picture nh2  路  76Comments

ThomasMader picture ThomasMader  路  65Comments

samueldr picture samueldr  路  88Comments

worldofpeace picture worldofpeace  路  103Comments

purefn picture purefn  路  68Comments