openafs: avoid top-level with

This commit is contained in:
Philip Taron 2024-04-01 08:15:30 -07:00 committed by Valentin Gagarin
parent fd61db7a32
commit 39c882983c

View File

@ -14,11 +14,9 @@
, fetchpatch
}:
with (import ./srcs.nix {
inherit fetchurl;
});
let
inherit (import ./srcs.nix { inherit fetchurl; }) src version;
modDestDir = "$out/lib/modules/${kernel.modDirVersion}/extra/openafs";
kernelBuildDir = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";