mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #132443 from Stunkymonkey/os-specific-linx-phases
This commit is contained in:
commit
972c807230
@ -256,7 +256,7 @@ let
|
||||
name = "apparmor-kernel-patches-${apparmor-version}";
|
||||
src = apparmor-sources;
|
||||
|
||||
phases = "unpackPhase installPhase";
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir "$out"
|
||||
|
@ -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
|
||||
|
@ -11,8 +11,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ b43FirmwareCutter ];
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0j3c35paapq1icmxq0mg7pm2xa2m69q7bkfmwgq99d682yr2cb5l";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
for i in rtl8192sfw.bin \
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -35,8 +35,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp $src/zenstates.py $out/bin/zenstates
|
||||
|
Loading…
Reference in New Issue
Block a user