From 168c2b6245ecec7ae090b91d7b2263165f3204b6 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Thu, 5 Jan 2023 09:09:00 +0800 Subject: [PATCH] opensbi: 1.1 -> 1.2 --- pkgs/misc/opensbi/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/opensbi/default.nix b/pkgs/misc/opensbi/default.nix index 558f5c487ae1..6f7d80e3c5a1 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)" ];