Merge pull request #132446 from Stunkymonkey/misc-drivers-phases

This commit is contained in:
Sandro 2021-08-04 15:13:31 +02:00 committed by GitHub
commit d888633968
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -34,7 +34,9 @@ stdenv.mkDerivation {
buildInputs = [ rpm cpio ];
phases = "buildPhase";
dontUnpack = true;
dontInstall = true;
dontFixup = true;
libPath = lib.makeLibraryPath [ stdenv.cc.cc zlib ];

View file

@ -13,8 +13,6 @@ stdenv.mkDerivation {
nativeBuildInputs = [ rpmextract ];
phases = [ "unpackPhase" "installPhase"];
sourceRoot = ".";
unpackPhase = ''

View file

@ -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 = ''