Commit Graph

304 Commits

Author SHA1 Message Date
Alyssa Ross
93d0f1c237 netbsd.libc: fix build 2021-04-15 03:55:50 +00:00
Alyssa Ross
314aa175d3 netbsd: bison -> byacc
These are only mostly compatible, and libc won't build with bison.
2021-04-15 03:55:50 +00:00
Alyssa Ross
3b5b199012 netbsd.statHook: init
This fixes the build of various NetBSD programs on Linux,
e.g. netbsd.statHook.
2021-04-15 02:59:26 +00:00
Alyssa Ross
2dba1df37e
Revert "netbsd: take fetchcvs from buildPackages to fix eval"
This reverts commit 6dff63294a.

We have a more general fix now, so don't need this any more.
2021-04-14 21:38:23 +00:00
sternenseemann
6dff63294a netbsd: take fetchcvs from buildPackages to fix eval
For some reason fetchcvs was taken from the cross package set when
cross compiling netbsd.* instead of from buildPackages. I suspect that
this was no issue previously because it just could be substituted as it
only ever produced fixed output derivations. However since
00a2084a40 the evaluation of fetchcvs
would depend on `stdenv.cc` (via its openssh dependency). Since
netbsd.libc is required to evaluate stdenv.cc this caused a infinite
recursion when staging the cross stdenv for pkgsCross.amd64-netbsd. The
fix for this is pretty easy: Just take fetchcvs from buildPackages
explicitly instead of hoping for mkDerivation to get it right.

Resolves #119323.
2021-04-14 14:58:08 +00:00
Sandro Jäckel
33a395f195
yacc: deprecate alias
and add a new line after the alphabetically sorting to please my inner monk
2021-04-04 03:18:58 +02:00
John Ericson
1ac5398589 *-wrapper; Switch from infixSalt to suffixSalt
I hate the thing too even though I made it, and rather just get rid of
it. But we can't do that yet. In the meantime, this brings us more
inline with autoconf and will make it slightly easier for me to write a
pkg-config wrapper, which we need.
2020-05-12 00:44:44 -04:00
Kirill Elagin
8e912bcb30 fixup! Tweak cross-compilation of some netbsd stuff 2019-11-03 12:04:39 +03:00
Kirill Elagin
60944c7efd Tweak cross-compilation of some netbsd stuff
This makes, at least, the following packages compile with musl:

* netbsd.compat
* netbsd.getent
* netbsd.fts
2019-11-03 02:08:27 +03:00
Joachim Fasting
bad07dfac5
tree-wide: replace uses of splitString "." with lib.versions
Quoting from the splitString docstring:

   NOTE: this function is not performant and should never be used.

This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.
2019-09-26 17:42:49 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Dmitry Kalinkin
81ab32e510
netbsd.mkDerivation: don't supply -z relro
Fixes netbsd.locale

Fixes: aab8c7ba43 ('netbsd: add cross target')
2019-04-10 17:35:08 -04:00
Dmitry Kalinkin
1548084c3b
netbsd.mkDerivation: fix darwin build
Fixes build of netbsd.make on darwin

Fixes: aab8c7ba43 ('netbsd: add cross target')
2019-04-10 16:58:00 -04:00
Matthew Bauer
aab8c7ba43 netbsd: add cross target 2019-02-26 15:55:47 -05:00
Matthew Bauer
d9332f2a71 unixtools.utillinux: add column
requested on IRC
2019-01-23 16:35:11 -05:00
Matthew Bauer
38c510c879 netbsd: misc cleanups 2018-10-07 22:33:18 -05:00
Matthew Bauer
5deee7672c netbsd: support cross compilation
Separates build and host packages to get cross compilation working.
2018-10-06 14:41:56 -05:00
Will Dietz
6d8647fd36 netbsd: set HOST_CC/HOST_CXX -- maybe help aarch64 defaulting to clang 2018-09-21 06:42:46 -05:00
Will Dietz
353d994254 netbsd.libcurses: patch around funopen2 now instead of funopen 2018-09-20 23:20:31 -05:00
Will Dietz
9e2bd0ddc2 netbsd: there is no /usr/bin/env in the nix sandbox, use /bin/sh 2018-09-20 23:00:45 -05:00
Will Dietz
d08ff06d0a netbsd.terminfo: break libcurses dep cycle with simple decl of use_env 2018-09-20 23:00:32 -05:00
Will Dietz
8517039fb9 netbsd: hashes 2018-09-20 23:00:32 -05:00
Will Dietz
6974f98245 netbsd 7.1.2 -> 8.0 2018-09-20 22:57:34 -05:00
John Ericson
0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Orivej Desh
9aa1624e83 netbsd.compat: fix build with musl (#41537) 2018-06-16 23:25:10 -04:00
Matthew Bauer
d64b85983b netbsd.locale: init 2018-06-11 14:47:47 -04:00
Matthew Bauer
7aca4b47c8 add sys/tree.h is needed for mg 2018-05-31 17:15:50 -04:00
Matthew Bauer
fd874b7456 netbsd: allow replacing nbcompat with libbsd 2018-05-31 12:36:44 -04:00
John Ericson
2110c0bd30 treewide: Use pkgs/build-support/roles.bash to remove copy pasta
Also fix some setup hooks that unnecessarily used environment hooks,
which revolted in the same variable being modified too many times.
2018-05-07 15:10:37 -04:00
Matthew Bauer
77645d6a01 netbsd.misc: fix BINDIR 2018-05-02 14:38:21 -05:00
Matthew Bauer
55513eed5e netbsd.quiz: fixup database 2018-05-02 14:38:21 -05:00
Matthew Bauer
e0851dfd7c netbsd.misc: init 2018-05-02 14:38:21 -05:00
Matthew Bauer
0943b76dc8 netbsd: remove mkdir -p calls
install is now hacked to ensure the parent directory exists before
running.
2018-05-02 14:38:21 -05:00
Matthew Bauer
5c1b3d93bf netbsd.games: disable some broken linux games 2018-05-01 02:43:01 +00:00
Matthew Bauer
1c86f0cc46 netbsd: cleanup bootstrapping 2018-04-30 19:59:33 -05:00
Matthew Bauer
f306270209 netbsd.games: cleanup
This gets a few more games working.
2018-04-29 23:11:37 -05:00
Matthew Bauer
0be5637139 netbsd.games: disable more games on darwin 2018-04-29 14:27:26 -05:00
Matthew Bauer
5f419f3df7 netbsd: improve darwin support 2018-04-27 21:05:42 -05:00
Matthew Bauer
d11f290f67 netbsd: cleanup and musl suppot 2018-04-28 01:31:12 +00:00
Matthew Bauer
004111c27e netbsd: small fixups 2018-04-28 01:03:47 +00:00
Matthew Bauer
6bc19398be openbsd: remove 2018-04-28 01:03:34 +00:00
Matthew Bauer
c65000af91 openbsd: fixup mg 2018-04-28 00:33:51 +00:00
Matthew Bauer
e2fb669bc5 netbsd: fix finger 2018-04-27 22:52:54 +00:00
Matthew Bauer
3ee2db1ab1 netbsd: fix games on linux 2018-04-27 22:32:20 +00:00
Matthew Bauer
73d5006abc netbsd: more cleanup 2018-04-27 07:05:56 +00:00
Matthew Bauer
ddc23593e1 netbsd: fix links installer 2018-04-27 01:59:36 +00:00
Matthew Bauer
968e8a1099 netbsd: fix getent with musl 2018-04-26 17:57:53 +00:00
Matthew Bauer
e521bada21 netbsd: propagate compat 2018-04-26 12:31:06 -05:00
Matthew Bauer
4539f1f2f7 netbsd: install db.h to compat 2018-04-26 12:29:58 -05:00
Matthew Bauer
a026242e4a netbsd: remove broken attributes 2018-04-26 12:24:45 -05:00
Matthew Justin Bauer
3f42a6eb84
netbsd: small fixups 2018-04-24 16:53:56 -05:00
Matthew Bauer
31ef995e37 bsd: init netbsd & openbsd userland
Adds a couple of useful NetBSD and OpenBSD derivations. Some of these
will be integrated into Nixpkgs later.

Noncomprehensive list:

- netbsd.getent
- netbsd.getconf
- netbsd.fts
- openbsd.mg
- netbsd.compat (can replace libbsd)
2018-04-24 14:16:35 -05:00