diff --git a/src/coreboot/default.nix b/src/coreboot/default.nix index b7a972d..ccf3f8b 100644 --- a/src/coreboot/default.nix +++ b/src/coreboot/default.nix @@ -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 .