all: apply nixpkgs-fmt

This commit is contained in:
xeals 2022-10-26 10:50:59 +11:00
parent 46b331a413
commit a70a0e914b
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C
6 changed files with 68 additions and 50 deletions

View File

@ -21,9 +21,10 @@ let
];
};
generateCommon = lib.makeOverridable ({
common ? ./manual-common-packages.nix
}: let
generateCommon = lib.makeOverridable (
{ common ? ./manual-common-packages.nix
}:
let
imported = import common {
inherit (self) callPackage;
@ -35,7 +36,10 @@ let
jetbrainsPlugins = super // overrides;
in jetbrainsPlugins // { inherit commonBuild; });
in
jetbrainsPlugins // { inherit commonBuild; }
);
in generateCommon { }
in
generateCommon { }

View File

@ -9,9 +9,10 @@ let
jetbrainsPlatforms = [ "idea-community" "idea-ultimate" ];
};
generateIdea = lib.makeOverridable ({
idea ? ./manual-idea-packages.nix
}: let
generateIdea = lib.makeOverridable (
{ idea ? ./manual-idea-packages.nix
}:
let
imported = import idea {
inherit (self) callPackage;
@ -23,7 +24,10 @@ let
ideaPlugins = super // overrides;
in ideaPlugins // { inherit ideaBuild; });
in
ideaPlugins // { inherit ideaBuild; }
);
in generateIdea { }
in
generateIdea { }

View File

@ -5,12 +5,19 @@
, python3Packages
, lame
, aacSupport ? false, faac
, alacSupport ? false, libav
, flacSupport ? false, flac
, m4aSupport ? false, mp4Support ? false, fdk-aac-encoder
, oggSupport ? false, vorbisTools
, opusSupport ? false, opusTools
, aacSupport ? false
, faac
, alacSupport ? false
, libav
, flacSupport ? false
, flac
, m4aSupport ? false
, mp4Support ? false
, fdk-aac-encoder
, oggSupport ? false
, vorbisTools
, opusSupport ? false
, opusTools
}:
assert aacSupport -> faac.meta.available;

View File

@ -3,7 +3,8 @@
, fetchFromGitHub
, python3
, ffmpeg }:
, ffmpeg
}:
stdenv.mkDerivation rec {
pname = "ytarchive";

View File

@ -20,8 +20,9 @@ let
inherit lib;
};
in lib.makeScope newScope (self: lib.makeOverridable ({
jetbrainsPlugins ? mkJetbrainsPlugins self
in
lib.makeScope newScope (self: lib.makeOverridable
({ jetbrainsPlugins ? mkJetbrainsPlugins self
, ideaPlugins ? mkIdeaPlugins self
}: ({ }
// jetbrainsPlugins // { inherit jetbrainsPlugins; }
@ -30,4 +31,5 @@ in lib.makeScope newScope (self: lib.makeOverridable ({
inherit variant;
jetbrainsWithPlugins = jetbrainsWithPlugins self variant;
})
) { })
)
{ })