1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 11:29:42 +01:00

Fix typos

This commit is contained in:
mexisme 2023-11-26 13:01:52 +13:00
parent 0e169f3d58
commit 7dcae71f61

View file

@ -21,7 +21,7 @@ let
linuxPackagesFor' = linuxPackagesFor buildLinux'; linuxPackagesFor' = linuxPackagesFor buildLinux';
in recurseIntoAttrs linuxPackagesFor'; in recurseIntoAttrs linuxPackagesFor';
# Version 1 of the linuxPackage funtion, with hopefully simplified arguments: # Version 1 of the linuxPackage function, with hopefully simplified arguments:
linuxPackage2 = linuxPackage2 =
{ url ? "mirror://kernel/linux/kernel/v${versions.major version}.x/linux-${version}.tar.xz", { url ? "mirror://kernel/linux/kernel/v${versions.major version}.x/linux-${version}.tar.xz",
sha256 ? null, sha256 ? null,
@ -41,7 +41,7 @@ let
in linuxPackages'; in linuxPackages';
surfacePatches = surfacePatches =
{ patchSrc ? (repos.linux-surface + "/patches/${versions.major version}"), { patchSrc ? (repos.linux-surface + "/patches/${versions.majorMinor version}"),
version, version,
patchFn, patchFn,
}: pkgs.callPackage patchFn { }: pkgs.callPackage patchFn {