src/coreboot: expose src attr in passthru.src

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

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

Loading…
Cancel
Save