We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The nano-2.6.3 package fails to build on OS X. (nano-2.6.2 worked fine.)
nano-2.6.3
nano-2.6.2
Here's the compile error (I can post the full output if needed):
clang -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/h1afxzyfxh7xc8b0scvq831s1yapczgm-nano-2.6.3/share/locale\" -DSYSCONFDIR=\"/etc\" -I/nix/store/gmb9mxkm5mqfnhlav16rx5x7wf070qqf-ncurses-5.9-dev/include/ncursesw -I/nix/store/gmb9mxkm5mqfnhlav16rx5x7wf070qqf-ncurses-5.9-dev/include -g -O2 -Wall -c -o winio.o winio.c winio.c:513:15: error: use of undeclared identifier 'TIOCLINUX' if (ioctl(0, TIOCLINUX, &modifiers) >= 0 && (modifiers & 0x04)) { ^ 1 error generated. make[2]: *** [Makefile:427: winio.o] Error 1 make[2]: Leaving directory '/private/var/folders/my/71d693qj5szdm986z1wj06krlrw5ms/T/nix-build-nano-2.6.3.drv-0/nano-2.6.3/src' make[1]: *** [Makefile:405: all-recursive] Error 1 make[1]: Leaving directory '/private/var/folders/my/71d693qj5szdm986z1wj06krlrw5ms/T/nix-build-nano-2.6.3.drv-0/nano-2.6.3' make: *** [Makefile:344: all] Error 2 builder for ‘/nix/store/7ab97a0vc332msl3kavhpcss245f0fv9-nano-2.6.3.drv’ failed with exit code 2 error: build of ‘/nix/store/7ab97a0vc332msl3kavhpcss245f0fv9-nano-2.6.3.drv’ failed
From the latest nixpkgs-unstable channel, on OS X:
nixpkgs-unstable
nix-env -i nano
The text was updated successfully, but these errors were encountered:
Looks like it's a problem with nano-2.6.3 having some Linux-specific code added unconditionally. MacPorts has a version with that code just commented out: https://trac.macports.org/browser/trunk/dports/editors/nano/files/patch-src-winio.c.diff
Sorry, something went wrong.
It's a known issue, see also #17742 (comment)
3f783e7
nano: 2.6.2 -> 2.6.3
9fc3b42
Add patch to make Darwin happy & fix NixOS#17835
976ec10
No branches or pull requests
Issue description
The
nano-2.6.3
package fails to build on OS X. (nano-2.6.2
worked fine.)Here's the compile error (I can post the full output if needed):
Steps to reproduce
From the latest
nixpkgs-unstable
channel, on OS X:Technical details
The text was updated successfully, but these errors were encountered: