!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

235 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-v70 Servers

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


SenderMessageTime
8 Apr 2024
@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

Show newer messages


Back to Room ListRoom Version: 10