!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

242 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 72 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
8 Apr 2024
@skeuchel:matrix.orgSteven Keuchelbe careful though, one has to be added to the hadrian derivation and the other to the ghc derivation10:00:31
@alex:tunstall.xyzAlex Well damn, I'm already 3h into a build with both on the GHC derivation ๐Ÿ™ƒ
I assume your Hadrian PR goes into the Hadrian derivation?
10:01:49
@skeuchel:matrix.orgSteven Keuchel

here is the part of my overlay that does this

      ghc964 =
        let
          override1 = super.haskell.compiler.ghc964.override {
            bootPkgs = self.haskell.packages.ghc963Binary;
          };
          override2 = override1.override {
            hadrian = override1.passthru.hadrian.overrideAttrs (oldAttrs: {
              patches = (oldAttrs.patches or [ ]) ++ [
                ./patches/hadrian-9.6.4-allow-Cabal-3.10.patch
                # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/10714
                (super.fetchpatch {
                  url = "https://gitlab.haskell.org/ghc/ghc/-/commit/dd38aca95ac25adc9888083669b32ff551151259.patch";
                  hash = "sha256-xqs6mw/akxMy+XmVabACzsIviIKP4fS0UEgTk0HJcIc=";
                  stripLen = 1;
                })
              ];
            });
          };
        in
        override2.overrideAttrs (oldAttrs: {
          patches = (oldAttrs.patches or [ ]) ++ [
            # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/12286
            (super.fetchpatch {
              url = "https://gitlab.haskell.org/ghc/ghc/-/commit/c5e47441ab2ee2568b5a913ce75809644ba83271.patch";
              hash = "sha256-t3KkuME6IqLWuESIMZ7OVAFu7s8G+x0ev+aVzBUqkhg=";
            })
          ];
        });
10:02:15
@alex:tunstall.xyzAlexYour hash for 10714 doesn't match mine... Is that commit still fetchable?10:05:17
@skeuchel:matrix.orgSteven Keuchelgrr, I hate fetchpatch10:05:58
@skeuchel:matrix.orgSteven Keuchellet me gc and try to fix it10:06:08
@alex:tunstall.xyzAlexI'm fetching the entire MR, so that might be why (but the other one matches)10:08:12
@alex:tunstall.xyzAlex Yep, build fails with your hash.
Correct one is sha256-uonXubXjMywSbUe/p2HLIWXDpwLWHlpZDMBvDnr/Utc=
10:14:13
@alex:tunstall.xyzAlex Oh wait, I was missing stripLen. Nevermind. 10:17:10
@skeuchel:matrix.orgSteven Keucheloh ok :D I had it as a file before and switched to fetchpatch before posting10:26:13
@skeuchel:matrix.orgSteven Keuchelhope it works now10:26:34
9 Apr 2024
@thefossguy:matrix.orgPratham Patel (you can mention me) sorear: https://www.theregister.com/2024/04/09/sifive_riscv_hifive/ 07:02:44
@ss:someonex.netSomeoneSerge (UTC+3) changed their display name from SomeoneSerge (migrating synapse) to SomeoneSerge (void).13:23:23
@hive:the-apothecary.clubtauphi

i'm surprised you haven't dealt with zeromq, because nix why-depends says systemd depends on it :

ยป nix why-depends --derivation nixpkgs#systemd nixpkgs#zeromq
/nix/store/mmxfq68bslpjqki0f7svg31cjv2pnr36-systemd-255.2.drv
โ””โ”€โ”€โ”€/nix/store/js89ydnz71fv1kqgn69mm7yqfsw61lpi-iptables-1.8.10.drv
    โ””โ”€โ”€โ”€/nix/store/5b85c19psp7km2mvnlwzs0gml93v289x-libpcap-1.10.4.drv
        โ””โ”€โ”€โ”€/nix/store/rpgg2wwh745g9y928wb6a2w1gn23g9y1-libnl-3.8.0.drv
            โ””โ”€โ”€โ”€/nix/store/hks3p38b5vdjkncdkkrcwjjqlhg1cbs7-graphviz-10.0.1.drv
                โ””โ”€โ”€โ”€/nix/store/s5pcbnaqw75bxbyk3hyb2kmjr0b1viab-fontconfig-2.15.0.drv
                    โ””โ”€โ”€โ”€/nix/store/q124gz30q037qq5n6vnym3n2gkf6r4n9-dejavu-fonts-minimal-2.37.drv
                        โ””โ”€โ”€โ”€/nix/store/rngadqxkfwizz368b9zg3az9ifdgfgsn-dejavu-fonts-full-2.37.drv
                            โ””โ”€โ”€โ”€/nix/store/rhw4k7zqgrvw36rz6cq5m6p12afpwc7l-fontforge-20230101.drv
                                โ””โ”€โ”€โ”€/nix/store/ir6k22cspdsw25l4jskfrlmymhyr30g5-zeromq-4.3.5.drv
21:09:15
@shalokshalom:kde.orgShalokShalom left the room.21:09:27
@alex:tunstall.xyzAlex

Why? Is there something wrong with zeromq on RISC-V?

I don't seem to have a fix for it and my full system rebuild is complete, so it should work fine.

21:59:50
@hive:the-apothecary.clubtauphiDownload zeromq-log.txt22:11:14

Show newer messages


Back to Room ListRoom Version: 10