!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

197 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v58 Servers

Load older messages


SenderMessageTime
25 Apr 2025
@outfoxxed:outfoxxed.meoutfoxxedI haven't tested if it builds on latest x64 -> x64 though, so I'll do that03:43:53
@dramforever:matrix.orgdramforever look it's for building the non-cross graphviz 03:44:42
@dramforever:matrix.orgdramforeveris your config still here? https://git.outfoxxed.me/outfoxxed/jupiter-test03:45:17
@dramforever:matrix.orgdramforeverlooks like 4 days ago, but i can check it out and see if there's a problem with sphinx03:45:41
@outfoxxed:outfoxxed.meoutfoxxedpushed the changes, which are just fixing it not cross compiling from before, and then trying to fix pystemmer03:47:21
@outfoxxed:outfoxxed.meoutfoxxedwhich just downloads from the cache for x6403:47:33
@dramforever:matrix.orgdramforeveri would like to reiterate that i am pretty sure this is correct03:52:36
@outfoxxed:outfoxxed.meoutfoxxedhm its not pystemmer-2.2.0.1-riscv64-unknown-linux-gnu so yeah03:54:51
@dramforever:matrix.orgdramforever

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:matrix.orgdramforeverthis is a huge gun...04:01:53
@dramforever:matrix.orgdramforevernow you're literally rebuilding everything, even build tools dependencies04:02:13
@outfoxxed:outfoxxed.meoutfoxxedah yeah that would affect the host tree as well04:02:29
@dramforever:matrix.orgdramforeveri'm pretty sure that broke pystemmer but i don't want to spend figuring it out04:02:56
@dramforever:matrix.orgdramforeverit's not because it's trying to get the x86_64 libstemmer, that part is correct, because it is a x86_64 pystemmer04:03:13
@dramforever:matrix.orgdramforeveri don't want to spend the hour building a new x86 gcc04:03:27
@outfoxxed:outfoxxed.meoutfoxxedThe intention was to disable hardening in target packages I'll see how it goes with that off04:03:28
@dramforever:matrix.orgdramforevernobody else ran into this because nobody else is overriding the entire freaking stdenv04:03:58
@outfoxxed:outfoxxed.meoutfoxxeddoes beg the question of why that breaks it04:04:47
@outfoxxed:outfoxxed.meoutfoxxedbut I'll give it a shot without overriding that04:06:05
@outfoxxed:outfoxxed.meoutfoxxedcurrently building04:06:08
@dramforever:matrix.orgdramforever.... snowball hasn't had a release since 2021, but is still in pretty active development it seems?04:16:46
@dramforever:matrix.orgdramforeverfixed for some definition of fixed https://github.com/NixOS/nixpkgs/pull/40163204:56:20
@dramforever:matrix.orgdramforever @outfoxxed:outfoxxed.me: also, just for the record, you basically never need targetPackages unless you're building a compiler 05:19:05
@dramforever:matrix.orgdramforeverfor example, your x86_64 to riscv64 cross gcc depends on targetPackages.glibc05:19:37
@outfoxxed:outfoxxed.meoutfoxxed its rather confusing
so pkgs == host packages, buildPkgs = build packages, targetPkgs = confusing
05:21:00
@outfoxxed:outfoxxed.meoutfoxxedis that right05:21:06
@outfoxxed:outfoxxed.meoutfoxxedthis is host x64 target rv64 targetPackages right05:21:54
@dramforever:matrix.orgdramforeverthat's actually a pretty good summary 😆05:23:02
@outfoxxed:outfoxxed.meoutfoxxedhaha05:23:29
@dramforever:matrix.orgdramforeverlet's start from the basics, whenever you build something the build process has (build, host, target)05:24:25

Show newer messages


Back to Room ListRoom Version: 10