Loading pkgs/tools/package-management/nix/vendor/2_26/packaging/components.nix +23 −3 Original line number Diff line number Diff line Loading @@ -240,6 +240,8 @@ in /** Apply an extension function (i.e. overlay-shaped) to all component derivations. Single argument: the extension function to apply (finalAttrs: prevAttrs: { ... }) */ overrideAllMesonComponents = f: Loading @@ -253,7 +255,11 @@ in Provide an alternate source. This allows the expressions to be vendored without copying the sources, but it does make the build non-granular; all components will use a complete source. Packaging expressions will be ignored. Filesets in the packaging expressions will be ignored. Single argument: the source to use. See also `appendPatches` */ overrideSource = src: Loading Loading @@ -294,6 +300,10 @@ in This affects all components. Changes to the packaging expressions will be ignored. Single argument: list of patches to apply See also `overrideSource` */ appendPatches = patches: Loading Loading @@ -367,7 +377,7 @@ in nix-perl-bindings = callPackage ../src/perl/package.nix { }; nix-everything = callPackage ../packaging/everything.nix { } // { # Note: no `passthru.overrideAllMesonComponents` # Note: no `passthru.overrideAllMesonComponents` etc # This would propagate into `nix.overrideAttrs f`, but then discard # `f` when `.overrideAllMesonComponents` is used. # Both "methods" should be views on the same fixpoint overriding mechanism Loading @@ -375,6 +385,8 @@ in # two-fixpoint solution. /** Apply an extension function (i.e. overlay-shaped) to all component derivations, and return the nix package. Single argument: the extension function to apply (finalAttrs: prevAttrs: { ... }) */ overrideAllMesonComponents = f: (scope.overrideAllMesonComponents f).nix-everything; Loading @@ -383,6 +395,10 @@ in This affects all components. Changes to the packaging expressions will be ignored. Single argument: list of patches to apply See also `overrideSource` */ appendPatches = ps: (scope.appendPatches ps).nix-everything; Loading @@ -390,7 +406,11 @@ in Provide an alternate source. This allows the expressions to be vendored without copying the sources, but it does make the build non-granular; all components will use a complete source. Packaging expressions will be ignored. Filesets in the packaging expressions will be ignored. Single argument: the source to use. See also `appendPatches` */ overrideSource = src: (scope.overrideSource src).nix-everything; Loading Loading
pkgs/tools/package-management/nix/vendor/2_26/packaging/components.nix +23 −3 Original line number Diff line number Diff line Loading @@ -240,6 +240,8 @@ in /** Apply an extension function (i.e. overlay-shaped) to all component derivations. Single argument: the extension function to apply (finalAttrs: prevAttrs: { ... }) */ overrideAllMesonComponents = f: Loading @@ -253,7 +255,11 @@ in Provide an alternate source. This allows the expressions to be vendored without copying the sources, but it does make the build non-granular; all components will use a complete source. Packaging expressions will be ignored. Filesets in the packaging expressions will be ignored. Single argument: the source to use. See also `appendPatches` */ overrideSource = src: Loading Loading @@ -294,6 +300,10 @@ in This affects all components. Changes to the packaging expressions will be ignored. Single argument: list of patches to apply See also `overrideSource` */ appendPatches = patches: Loading Loading @@ -367,7 +377,7 @@ in nix-perl-bindings = callPackage ../src/perl/package.nix { }; nix-everything = callPackage ../packaging/everything.nix { } // { # Note: no `passthru.overrideAllMesonComponents` # Note: no `passthru.overrideAllMesonComponents` etc # This would propagate into `nix.overrideAttrs f`, but then discard # `f` when `.overrideAllMesonComponents` is used. # Both "methods" should be views on the same fixpoint overriding mechanism Loading @@ -375,6 +385,8 @@ in # two-fixpoint solution. /** Apply an extension function (i.e. overlay-shaped) to all component derivations, and return the nix package. Single argument: the extension function to apply (finalAttrs: prevAttrs: { ... }) */ overrideAllMesonComponents = f: (scope.overrideAllMesonComponents f).nix-everything; Loading @@ -383,6 +395,10 @@ in This affects all components. Changes to the packaging expressions will be ignored. Single argument: list of patches to apply See also `overrideSource` */ appendPatches = ps: (scope.appendPatches ps).nix-everything; Loading @@ -390,7 +406,11 @@ in Provide an alternate source. This allows the expressions to be vendored without copying the sources, but it does make the build non-granular; all components will use a complete source. Packaging expressions will be ignored. Filesets in the packaging expressions will be ignored. Single argument: the source to use. See also `appendPatches` */ overrideSource = src: (scope.overrideSource src).nix-everything; Loading