diff options
author | Nick Cao <nickcao@nichi.co> | 2023-01-19 18:19:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 18:19:44 +0800 |
commit | 3836bf029740fa130b1565aa073afe938eac0171 (patch) | |
tree | 8128a4141878c75c95e27f5666b1cada19254f4d | |
parent | c8ef918e2d10676544124b04fe015e33de43693b (diff) | |
parent | 168c2b6245ecec7ae090b91d7b2263165f3204b6 (diff) | |
download | nixpkgs-3836bf029740fa130b1565aa073afe938eac0171.tar nixpkgs-3836bf029740fa130b1565aa073afe938eac0171.tar.gz nixpkgs-3836bf029740fa130b1565aa073afe938eac0171.tar.bz2 nixpkgs-3836bf029740fa130b1565aa073afe938eac0171.tar.lz nixpkgs-3836bf029740fa130b1565aa073afe938eac0171.tar.xz nixpkgs-3836bf029740fa130b1565aa073afe938eac0171.tar.zst nixpkgs-3836bf029740fa130b1565aa073afe938eac0171.zip |
Merge pull request #209120 from NickCao/opensbi
opensbi: 1.1 -> 1.2
-rw-r--r-- | pkgs/misc/opensbi/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/misc/opensbi/default.nix b/pkgs/misc/opensbi/default.nix index 558f5c487ae..6f7d80e3c5a 100644 --- a/pkgs/misc/opensbi/default.nix +++ b/pkgs/misc/opensbi/default.nix @@ -1,4 +1,7 @@ -{ lib, stdenv, fetchFromGitHub +{ lib +, stdenv +, fetchFromGitHub +, python3 , withPlatform ? "generic" , withPayload ? null , withFDT ? null @@ -6,19 +9,21 @@ stdenv.mkDerivation rec { pname = "opensbi"; - version = "1.1"; + version = "1.2"; src = fetchFromGitHub { owner = "riscv-software-src"; repo = "opensbi"; rev = "v${version}"; - sha256 = "sha256-k6f4/lWY/f7qqk0AFY4tdEi4cDilSv/jngaJYhKFlnY="; + sha256 = "sha256-Zcl+SE2nySMycV/ozsl4AvGipRsMblA5mt3oVZ81Z44="; }; postPatch = '' patchShebangs ./scripts ''; + nativeBuildInputs = [ python3 ]; + installFlags = [ "I=$(out)" ]; |