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

pycdio fails to build with due to missing swig? #58809

Closed
jansol opened this issue Apr 2, 2019 · 2 comments
Closed

pycdio fails to build with due to missing swig? #58809

jansol opened this issue Apr 2, 2019 · 2 comments

Comments

@jansol
Copy link
Contributor

jansol commented Apr 2, 2019

Issue description

Not sure what is going on here as pycdio does list stdenv.swig in buildInputs...

swigging swig/pycdio.i to swig/pycdio_wrap.c
swig -python -outdir /build/pycdio-2.0.0 -o swig/pycdio_wrap.c swig/pycdio.i
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
builder for '/nix/store/vwlqs9b0whrh8v9zm5ryrqwrm9zid01x-python2.7-pycdio-2.0.0.drv' failed with exit code 1

Steps to reproduce

nix-env -iA nixos.pycdio

Technical details

 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.30, NixOS, 19.09pre173349.07b42ccf2de (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2`
 - channels(root): `"nixos-19.09pre173349.07b42ccf2de"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@dotlambda
Copy link
Member

It needs to be in nativeBuildInputs because of #54182.

@jansol
Copy link
Contributor Author

jansol commented Mar 31, 2020

Closed in c48ad78

@jansol jansol closed this as completed Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants