diff --git a/helpers.nix b/helpers.nix index a9cc26d..43a04d5 100644 --- a/helpers.nix +++ b/helpers.nix @@ -36,20 +36,9 @@ rec { stdenvLLVM = let - mkLLVMPlatform = - platform: - platform - // { - linux-kernel = platform.linux-kernel // { - makeFlags = (platform.linux-kernel.makeFlags or [ ]) ++ ltoMakeflags; - }; - }; - stdenv' = pkgs.overrideCC hostLLVM.stdenv hostLLVM.clangUseLLVM; in stdenv'.override (old: { - hostPlatform = mkLLVMPlatform stdenv'.hostPlatform; - buildPlatform = mkLLVMPlatform stdenv'.buildPlatform; extraNativeBuildInputs = [ hostLLVM.lld pkgs.patchelf