| 25 Apr 2025 |
outfoxxed | I haven't tested if it builds on latest x64 -> x64 though, so I'll do that | 03:43:53 |
dramforever | look it's for building the non-cross graphviz | 03:44:42 |
dramforever | is your config still here? https://git.outfoxxed.me/outfoxxed/jupiter-test | 03:45:17 |
dramforever | looks like 4 days ago, but i can check it out and see if there's a problem with sphinx | 03:45:41 |
outfoxxed | pushed the changes, which are just fixing it not cross compiling from before, and then trying to fix pystemmer | 03:47:21 |
outfoxxed | which just downloads from the cache for x64 | 03:47:33 |
dramforever | i would like to reiterate that i am pretty sure this is correct | 03:52:36 |
outfoxxed | hm
its not pystemmer-2.2.0.1-riscv64-unknown-linux-gnu so yeah | 03:54:51 |
dramforever | why do you have this?
nixpkgs.overlays = [(final: prev: {
stdenv = let
adapt = prev.stdenvAdapters;
unhardened = adapt.withDefaultHardeningFlags [] prev.stdenv;
#withflags = adapt.withCFlags [ "-misa-spec=2.2" ] unhardened;
in unhardened;
})];
| 04:01:49 |
dramforever | this is a huge gun... | 04:01:53 |
dramforever | now you're literally rebuilding everything, even build tools dependencies | 04:02:13 |
outfoxxed | ah yeah that would affect the host tree as well | 04:02:29 |
dramforever | i'm pretty sure that broke pystemmer but i don't want to spend figuring it out | 04:02:56 |
dramforever | it's not because it's trying to get the x86_64 libstemmer, that part is correct, because it is a x86_64 pystemmer | 04:03:13 |
dramforever | i don't want to spend the hour building a new x86 gcc | 04:03:27 |
outfoxxed | The intention was to disable hardening in target packages
I'll see how it goes with that off | 04:03:28 |
dramforever | nobody else ran into this because nobody else is overriding the entire freaking stdenv | 04:03:58 |
outfoxxed | does beg the question of why that breaks it | 04:04:47 |
outfoxxed | but I'll give it a shot without overriding that | 04:06:05 |
outfoxxed | currently building | 04:06:08 |
dramforever | .... snowball hasn't had a release since 2021, but is still in pretty active development it seems? | 04:16:46 |
dramforever | fixed for some definition of fixed https://github.com/NixOS/nixpkgs/pull/401632 | 04:56:20 |
dramforever | @outfoxxed:outfoxxed.me: also, just for the record, you basically never need targetPackages unless you're building a compiler | 05:19:05 |
dramforever | for example, your x86_64 to riscv64 cross gcc depends on targetPackages.glibc | 05:19:37 |
outfoxxed | its rather confusing so pkgs == host packages, buildPkgs = build packages, targetPkgs = confusing | 05:21:00 |
outfoxxed | is that right | 05:21:06 |
outfoxxed | this is host x64 target rv64 targetPackages right | 05:21:54 |
dramforever | that's actually a pretty good summary 😆 | 05:23:02 |
outfoxxed | haha | 05:23:29 |
dramforever | let's start from the basics, whenever you build something the build process has (build, host, target) | 05:24:25 |