pkgs/top-level: remove unused let bindings

Generated using deadnix; split from #514611.
This commit is contained in:
Michael Daniels
2026-05-01 17:43:20 -04:00
parent 34a79ce1ee
commit 61d753a276
7 changed files with 1 additions and 38 deletions

View File

@@ -12,14 +12,6 @@
let
withCommas = lib.replaceStrings [ "." ] [ "," ];
# simulate "haxelib dev $libname ."
simulateHaxelibDev = libname: ''
devrepo=$(mktemp -d)
mkdir -p "$devrepo/${withCommas libname}"
echo $(pwd) > "$devrepo/${withCommas libname}/.dev"
export HAXELIB_PATH="$HAXELIB_PATH:$devrepo"
'';
installLibHaxe =
{
libname,

View File

@@ -27,20 +27,6 @@ let
vanillaPackages
rpiPackages
;
markBroken =
drv:
drv.overrideAttrs (
{
meta ? { },
...
}:
{
meta = meta // {
broken = true;
};
}
);
in
{
kernelPatches = callPackage ../os-specific/linux/kernel/patches.nix { };

View File

@@ -28,7 +28,7 @@ self:
# cpan2nix assumes that perl-packages.nix will be used only with perl 5.30.3 or above
assert lib.versionAtLeast perl.version "5.30.3";
let
inherit (lib) maintainers teams;
inherit (lib) maintainers;
in
with self;

View File

@@ -47,7 +47,6 @@ let
linux
mapTestOnCross
pkgsForCross
unix
;
inherit (release-lib.lib)

View File

@@ -20,7 +20,6 @@ let
inherit (lib)
addMetaAttrs
any
derivations
filter
flip
genAttrs
@@ -28,8 +27,6 @@ let
hydraJob
id
isDerivation
lists
maintainers
mapAttrs
mapAttrs'
mapAttrsRecursive

View File

@@ -86,7 +86,6 @@ let
id
isDerivation
optionals
recursiveUpdate
;
inherit (release-lib.lib.attrsets) unionOfDisjoint;

View File

@@ -11,16 +11,6 @@
nixpkgsFun,
overlays,
}:
let
makeLLVMParsedPlatform =
parsed:
(
parsed
// {
abi = lib.systems.parse.abis.llvm;
}
);
in
self: super: {
pkgsLLVM = nixpkgsFun {
overlays = [