Merge pull request #132443 from Stunkymonkey/os-specific-linx-phases

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

View File

@ -256,7 +256,7 @@ let
name = "apparmor-kernel-patches-${apparmor-version}";
src = apparmor-sources;
phases = "unpackPhase installPhase";
dontBuild = true;
installPhase = ''
mkdir "$out"

View File

@ -13,8 +13,6 @@ stdenv.mkDerivation {
buildInputs = [ b43FirmwareCutter ];
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/lib/firmware
b43-fwcutter -w $out/lib/firmware linux/wl_apsta.o

View File

@ -11,8 +11,6 @@ stdenv.mkDerivation rec {
buildInputs = [ b43FirmwareCutter ];
phases = [ "unpackPhase" "installPhase" ];
sourceRoot = ".";
installPhase = ''

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "0j3c35paapq1icmxq0mg7pm2xa2m69q7bkfmwgq99d682yr2cb5l";
};
phases = [ "unpackPhase" "installPhase" ];
dontBuild = true;
installPhase = ''
for i in rtl8192sfw.bin \

View File

@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "rtl8723bs-firmware-${linuxPackages.rtl8723bs.version}";
inherit (linuxPackages.rtl8723bs) src;
phases = [ "unpackPhase" "installPhase" ];
dontBuild = true;
installPhase = ''
mkdir -p "$out/lib/firmware/rtlwifi"

View File

@ -3,8 +3,6 @@
stdenv.mkDerivation {
name = "i810switch-0.6.5";
phases = "unpackPhase installPhase";
installPhase = "
sed -i -e 's+/usr++' Makefile
sed -i -e 's+^\\(.*putenv(\"PATH=\\).*$+\\1${pciutils}/sbin\");+' i810switch.c

View File

@ -35,8 +35,6 @@ stdenv.mkDerivation rec {
buildInputs = [ python3 ];
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/bin
cp $src/zenstates.py $out/bin/zenstates