Merge pull request #132446 from Stunkymonkey/misc-drivers-phases
This commit is contained in:
commit
d888633968
3 changed files with 7 additions and 6 deletions
|
@ -34,7 +34,9 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ rpm cpio ];
|
||||
|
||||
phases = "buildPhase";
|
||||
dontUnpack = true;
|
||||
dontInstall = true;
|
||||
dontFixup = true;
|
||||
|
||||
libPath = lib.makeLibraryPath [ stdenv.cc.cc zlib ];
|
||||
|
||||
|
|
|
@ -13,8 +13,6 @@ stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ rpmextract ];
|
||||
|
||||
phases = [ "unpackPhase" "installPhase"];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
unpackPhase = ''
|
||||
|
|
|
@ -10,18 +10,19 @@ let
|
|||
else
|
||||
if isi686 then "32bit"
|
||||
else throw "${system} not considered in build derivation. Might still be supported.";
|
||||
sha256 = with stdenv;
|
||||
if isx86_64 then "1jfsng5n3phw5rqpkid9m5j7m7zgj5bifh7swvba7f97y6imdaax"
|
||||
else "15y6r5w306pcq4g1rn9f7vf70f3a7qhq237ngaf0wxh2nr0aamxp";
|
||||
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
src = fetchurl {
|
||||
url = "http://www.sundtek.de/media/netinst/${platform}/installer.tar.gz";
|
||||
sha256 = "15y6r5w306pcq4g1rn9f7vf70f3a7qhq237ngaf0wxh2nr0aamxp";
|
||||
sha256 = sha256;
|
||||
};
|
||||
pname = "sundtek";
|
||||
inherit version;
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue