treewide: rename unused overlay arguments

Now that `nix flake check` doesn't complain about it anymore, try to be
consistent about using that feature.
This commit is contained in:
Bruno BELANYI 2023-05-03 14:48:36 +00:00
parent 2f3989bba1
commit a868088cc9
4 changed files with 5 additions and 5 deletions

View file

@ -4,10 +4,10 @@ let
additional-overlays = {
# Expose my expanded library
lib = final: prev: { inherit (self) lib; };
lib = _final: _prev: { inherit (self) lib; };
# Expose my custom packages
pkgs = final: prev: {
pkgs = _final: prev: {
ambroisie = prev.recurseIntoAttrs (import "${self}/pkgs" { pkgs = prev; });
};
};

View file

@ -15,4 +15,4 @@ let
mapModules ./. (file: import file { inherit self lib pkgs inputs; })
);
in
mylib.extend (self: super: foldr (a: b: a // b) { } (attrValues super))
mylib.extend (_self: super: foldr (a: b: a // b) { } (attrValues super))

View file

@ -31,7 +31,7 @@
outputs = { self, futils, nixpkgs, pre-commit-hooks }:
{
overlays = {
default = final: prev: {
default = final: _prev: {
project = with final; stdenv.mkDerivation {
pname = "project";
version = "0.0.0";

View file

@ -31,7 +31,7 @@
outputs = { self, futils, nixpkgs, pre-commit-hooks }:
{
overlays = {
default = final: prev: {
default = final: _prev: {
project = with final; stdenv.mkDerivation {
pname = "project";
version = "0.0.0";