Unverified Commit 12cb0d4a authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

(mostly) Pass nixpkgs release checks on RISC-V (#420442)

parents bc6d0221 b3b3b216
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1115,7 +1115,7 @@ let
            publisher = "Continue";
            version = "1.1.49";
          }
          // sources.${stdenv.system};
          // sources.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
        nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
        buildInputs = [ (lib.getLib stdenv.cc.cc) ];
        meta = {
@@ -1387,7 +1387,7 @@ let
            publisher = "devsense";
            version = "1.41.14332";
          }
          // sources.${stdenv.system};
          // sources.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");

        nativeBuildInputs = [ autoPatchelfHook ];

@@ -3334,7 +3334,7 @@ let
            publisher = "ms-dotnettools";
            version = "2.2.3";
          }
          // sources.${stdenv.system};
          // sources.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
        nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
        buildInputs = [
          (lib.getLib stdenv.cc.cc)
+3 −1
Original line number Diff line number Diff line
@@ -47,7 +47,9 @@ rustPlatform.buildRustPackage rec {
  doCheck = false;

  # provide the list of solc versions to the `svm-rs-builds` dependency
  SVM_RELEASES_LIST_JSON = solc-versions.${stdenv.hostPlatform.system};
  SVM_RELEASES_LIST_JSON =
    solc-versions.${stdenv.hostPlatform.system}
      or (throw "Unsupported system: ${stdenv.hostPlatform.system}");

  meta = {
    description = "Solidity test generator based on the Branching Tree Technique";
+4 −1
Original line number Diff line number Diff line
@@ -30,7 +30,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
        };
      };
    in
    fetchurl urls."${stdenvNoCC.hostPlatform.system}";
    fetchurl (
      urls."${stdenvNoCC.hostPlatform.system}"
        or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}")
    );

  dontUnpack = true;

+3 −1
Original line number Diff line number Diff line
@@ -5,7 +5,9 @@
  unzip,
}:
let
  info = (lib.importJSON ./info.json)."${stdenvNoCC.hostPlatform.parsed.cpu.name}-darwin";
  info =
    (lib.importJSON ./info.json)."${stdenvNoCC.hostPlatform.parsed.cpu.name}-darwin"
      or (throw "Unsupported CPU architecture: ${stdenvNoCC.hostPlatform.parsed.cpu.name}");
in
stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "notion-app";
+3 −1
Original line number Diff line number Diff line
@@ -124,5 +124,7 @@ stdenv.mkDerivation (
    };
  }
  // lib.optionalAttrs (stdenv.hostPlatform.isDarwin) darwinAttrs
  // lib.optionalAttrs (stdenv.hostPlatform.isLinux) linuxAttrs.${stdenv.system}
  //
    lib.optionalAttrs (stdenv.hostPlatform.isLinux)
      linuxAttrs.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}")
)
Loading