mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
remove clear linux patches
This commit is contained in:
parent
8dd7a98a4e
commit
789c2083a5
2 changed files with 0 additions and 23 deletions
|
|
@ -2,7 +2,6 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
|
@ -170,10 +169,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
boot = {
|
boot = {
|
||||||
kernelPatches = lib.singleton {
|
|
||||||
patch = self.packages.clear-patches;
|
|
||||||
name = "Clear Linux* patchset";
|
|
||||||
};
|
|
||||||
kernelModules = [ "amdgpu" ];
|
kernelModules = [ "amdgpu" ];
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = [
|
availableKernelModules = [
|
||||||
|
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{ runCommand, fetchFromGitHub }:
|
|
||||||
|
|
||||||
runCommand "kernel-clr-combined.patch"
|
|
||||||
{
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "clearlinux-pkgs";
|
|
||||||
repo = "linux";
|
|
||||||
rev = "65f5cc7a18b6eb108e2b458c5c9d244e2aa8b587";
|
|
||||||
hash = "sha256-X8H4j7GpMKVdrwSQxbzUVt7m5mzP/53Nx67YG914Zv0=";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
''
|
|
||||||
cd "$src"
|
|
||||||
grep -o '^%patch[0-9]*' linux.spec \
|
|
||||||
| grep -o '[0-9]*' \
|
|
||||||
| xargs -I '{}' grep '^Patch{}:' linux.spec \
|
|
||||||
| cut -d" " -f2- | xargs cat >> $out
|
|
||||||
''
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue