src/coreboot: expose src attr in passthru.src

master
Adam Joseph 2 years ago
parent 018e75000a
commit 6243fa9245

@ -11,11 +11,6 @@
let
version = "4.9";
inherit (nixpkgsOnBuildForBuild) stdenv lib git python2 ncurses fetchgit;
in
stdenv.mkDerivation {
pname = "coreboot";
inherit version;
src = fetchgit {
url = "https://review.coreboot.org/coreboot";
branchName = "${version}";
@ -23,6 +18,13 @@ stdenv.mkDerivation {
hash = "sha256-lX6QnUS4a/F4Y68qK9i45O4OP+UEjHlCK+YaKJOQLUo=";
fetchSubmodules = false;
};
in
stdenv.mkDerivation {
pname = "coreboot";
inherit version;
passthru = { inherit src; };
inherit src;
prePatch = ''
patchShebangs .

Loading…
Cancel
Save