mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
pkgs/top-level: remove unused let bindings
Generated using deadnix; split from #514611.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -47,7 +47,6 @@ let
|
||||
linux
|
||||
mapTestOnCross
|
||||
pkgsForCross
|
||||
unix
|
||||
;
|
||||
|
||||
inherit (release-lib.lib)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -86,7 +86,6 @@ let
|
||||
id
|
||||
isDerivation
|
||||
optionals
|
||||
recursiveUpdate
|
||||
;
|
||||
|
||||
inherit (release-lib.lib.attrsets) unionOfDisjoint;
|
||||
|
||||
@@ -11,16 +11,6 @@
|
||||
nixpkgsFun,
|
||||
overlays,
|
||||
}:
|
||||
let
|
||||
makeLLVMParsedPlatform =
|
||||
parsed:
|
||||
(
|
||||
parsed
|
||||
// {
|
||||
abi = lib.systems.parse.abis.llvm;
|
||||
}
|
||||
);
|
||||
in
|
||||
self: super: {
|
||||
pkgsLLVM = nixpkgsFun {
|
||||
overlays = [
|
||||
|
||||
Reference in New Issue
Block a user