treewide: pkgs: rec -> finalAttrs
This commit is contained in:
parent
9f85efaa60
commit
ff8fb53d2a
2 changed files with 6 additions and 6 deletions
|
@ -3,12 +3,12 @@
|
|||
stdenvNoCC,
|
||||
fetchurl,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "metacubexd";
|
||||
version = "1.134.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/MetaCubeX/metacubexd/releases/download/v${version}/compressed-dist.tgz";
|
||||
url = "https://github.com/MetaCubeX/metacubexd/releases/download/v${finalAttrs.version}/compressed-dist.tgz";
|
||||
hash = "sha256-Xx2UReUAxHg4CrKqGs9vGmWRsosJE1OqnYSmp2wOC9M=";
|
||||
};
|
||||
|
||||
|
@ -27,4 +27,4 @@ stdenvNoCC.mkDerivation rec {
|
|||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
}:
|
||||
# TODO: use buildLua
|
||||
# error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "buildLua"
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "modernx";
|
||||
version = "0.2.4";
|
||||
|
||||
|
@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "zydezu";
|
||||
repo = "ModernX";
|
||||
rev = version;
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-b5dJeJ5GPEKhyznYIAQ3YzUq01rYUhDbci1ilNuXrdk=";
|
||||
};
|
||||
|
||||
|
@ -36,4 +36,4 @@ stdenvNoCC.mkDerivation rec {
|
|||
license = licenses.gpl2; # https://github.com/maoiscat/mpv-osc-modern/issues/43
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue