mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01:00
mnt/reform: stop doing ifd
This commit is contained in:
parent
ec18896955
commit
f34ca8045a
1 changed files with 17 additions and 12 deletions
|
|
@ -34,12 +34,17 @@ let
|
||||||
hash = "sha256-XiTuH40b3VJqzwygZzU0FcvMDj41Rq6IsMbm+3+QxDY=";
|
hash = "sha256-XiTuH40b3VJqzwygZzU0FcvMDj41Rq6IsMbm+3+QxDY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPatches =
|
# Use postPatch to apply patches from a directory without IFD
|
||||||
(map (patch: { inherit patch; }) (
|
postPatch = ''
|
||||||
lib.filesystem.listFilesRecursive "${reformDebianPackages}/linux/patches${lib.versions.majorMinor modDirVersion}"
|
for patch in ${reformDebianPackages}/linux/patches${lib.versions.majorMinor modDirVersion}/*/*.patch; do
|
||||||
))
|
echo "Applying patch: $patch"
|
||||||
++ [
|
patch -p1 < "$patch"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
kernelPatches = [
|
||||||
{
|
{
|
||||||
|
name = "reform-dts";
|
||||||
patch = callPackage ./dtsPatch.nix {
|
patch = callPackage ./dtsPatch.nix {
|
||||||
inherit reformDebianPackages;
|
inherit reformDebianPackages;
|
||||||
kernelSource = src;
|
kernelSource = src;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue