netbsd: cleanup and musl suppot
This commit is contained in:
parent
004111c27e
commit
d11f290f67
@ -405,6 +405,7 @@ in rec {
|
|||||||
"-DOXTABS=XTABS"
|
"-DOXTABS=XTABS"
|
||||||
"-DRANDOM_MAX=RAND_MAX"
|
"-DRANDOM_MAX=RAND_MAX"
|
||||||
"-DINFTIM=-1"
|
"-DINFTIM=-1"
|
||||||
|
(if hostPlatform.isMusl then "-include sys/ttydefaults.h -include sys/file.h" else "")
|
||||||
];
|
];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
mkdir -p $out/usr/games $out/usr/share/games/ching \
|
mkdir -p $out/usr/games $out/usr/share/games/ching \
|
||||||
@ -424,21 +425,19 @@ in rec {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
finger = netBSDDerivation {
|
# finger = netBSDDerivation {
|
||||||
path = "usr.bin/finger";
|
# path = "usr.bin/finger";
|
||||||
sha256 = "0jl672z50f2yf7ikp682b3xrarm6bnrrx9vi94xnp2fav8m8zfyi";
|
# sha256 = "0jl672z50f2yf7ikp682b3xrarm6bnrrx9vi94xnp2fav8m8zfyi";
|
||||||
version = "7.1.2";
|
# version = "7.1.2";
|
||||||
extraPaths = [ who.src ];
|
# extraPaths = [ who.src ];
|
||||||
NIX_CFLAGS_COMPILE = [
|
# NIX_CFLAGS_COMPILE = [
|
||||||
"-DSUPPORT_UTMP"
|
# "-DSUPPORT_UTMP"
|
||||||
"-USUPPORT_UTMPX"
|
# "-USUPPORT_UTMPX"
|
||||||
];
|
# ];
|
||||||
patchPhase = ''
|
# patchPhase = ''
|
||||||
|
# ${who.patchPhase}
|
||||||
${who.patchPhase}
|
# '';
|
||||||
|
# };
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
fingerd = netBSDDerivation {
|
fingerd = netBSDDerivation {
|
||||||
path = "libexec/fingerd";
|
path = "libexec/fingerd";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user