| 4 Aug 2021 |
Alyssa Ross | adding another BSD should be a lot easier than adding the first BSD | 07:37:11 |
Alyssa Ross | OpenBSD is a lot more complicated because every OpenBSD version is incompatible | 07:37:26 |
siraben | by design? | 07:37:33 |
Alyssa Ross | whereas NetBSD is backwards compatible going back 20 years, like Linux | 07:37:34 |
Alyssa Ross | yeah | 07:37:35 |
Alyssa Ross | You have to recompile every program whenever there's a new OpenBSD release | 07:37:58 |
sterni | at least recompiling everything all the time is already inherent to nix's design :p | 09:15:12 |
Alyssa Ross | yeah, although you need to start by recompiling Nix, and there might be an awkward bootstrapping problem there | 09:15:55 |
sterni | but OpenBSD will require constant maintenance to be useful and even more if we want to target multiple versions I guess | 09:15:55 |
Alyssa Ross | yeah | 09:16:28 |
| 6 Aug 2021 |
| ash (it/its) 🏳️⚧️ changed their display name from ashkitten (it/its) 🏳️⚧️ to ash (it/its). | 21:03:29 |
| ash (it/its) 🏳️⚧️ changed their display name from ash (it/its) to ash (it/its) 🏳️⚧️. | 21:05:12 |
| 7 Aug 2021 |
sterni | https://github.com/NixOS/nixpkgs/pull/133016 if anyone wants to look at my uniformed try to get mpdecimal to cross compile to windows | 13:10:58 |
| 9 Aug 2021 |
sterni | John Ericson: do you know if it's theoretically possible to statically link gcc itself? (i. e. build pkgsStatic.gcc) | 11:28:27 |
sterni | hmm probably not with musl | 11:41:10 |
John Ericson | sterni (he/him): more than theoretically | 15:49:35 |
John Ericson | there is some sort of host-static flag | 15:49:50 |
John Ericson | GCC has | 15:50:01 |
| 10 Aug 2021 |
sterni | I guess we should try to get pkgsStatic.gccNgPackages_11.gcc to work as well then at some point | 11:32:50 |
sterni | current gcc doesn't compile as part of pkgsStatic | 11:33:02 |
sterni | ECL has these cross_config files: https://gitlab.com/embeddable-common-lisp/ecl/-/blob/develop/src/util/android-arm64.cross_config | 21:02:15 |
sterni | I'm wondering whether I can guess all these values from our platform set or alternatively determine them programatically somehow? | 21:02:42 |
sterni | I'm not sure if it's easy to find out how big long is on a given platform? | 21:03:15 |
sterni | although I could try just setting int64_t there or int32_t depending on platform.bits | 21:03:31 |
sterni | okay I'd need to find out how big long long is in any case | 21:07:31 |
sterni | also stuff like ECL_STACK_DIR seems ominous | 21:07:38 |
| 15 Aug 2021 |
| @jbg:matrix.org joined the room. | 04:41:03 |
@jbg:matrix.org | i'm trying to cross-compile some packages for aarch64-apple-ios. my host system is aarch64-apple-darwin20.6.0 | 04:41:35 |
@jbg:matrix.org | i have this shell.nix:
let pkgs = import <nixpkgs> {
crossSystem = (import <nixpkgs/lib>).systems.examples.iphone64;
};
in
pkgs.callPackage (
{mkShell, pkg-config, glib}:
mkShell {
nativeBuildInputs = [
pkg-config
];
buildInputs = [
# glib
];
}
) {}
| 04:42:05 |
@jbg:matrix.org | this works, and there is a aarch64-apple-ios-clang inside the shell, but it doesn't seem functional (it cannot find stdarg.h or other standard headers) | 04:42:50 |