Fix overlay

This commit is contained in:
soraefir 2023-11-17 22:32:10 +01:00
parent 4a95c8fc21
commit e709a1afcf
5 changed files with 132 additions and 132 deletions

View File

@ -1,3 +1,7 @@
{ pkgs, ... }:
[ ]
# [(import ./openttd-jgrpp) (import ./yarn-berry)]
[
(final: prev: {
openttd-jgrpp = import ./openttd-jgrpp { inherit final prev; };
yarn-berry = import ./yarn-berry { inherit final prev; };
})
]

View File

@ -1,12 +1,10 @@
{ ... }:
final: prev: {
openttd-jgrpp = prev.openttd-jgrpp.overrideAttrs (old: rec {
{ final, prev, ... }:
prev.openttd-jgrpp.overrideAttrs (old: rec {
version = "0.55.3";
src = prev.fetchFromGitHub rec {
owner = "JGRennison";
repo = "OpenTTD-patches";
rev = "jgrpp-${version}";
hash = "sha256-xpo4E07ifWUZy5z78Fwm1SpLP3wUBaBreZYbJuiNH3w=";
hash = "sha256-E1+pXpXNHOu9nPTGSY8baVaKf1Um6IGDjpi1MmENez8=";
};
});
}
})

View File

@ -1,6 +1,5 @@
{ ... }:
final: prev: {
yarn-berry = prev.yarn-berry.overrideAttrs (old: rec {
{ final, prev, ... }:
prev.yarn-berry.overrideAttrs (old: rec {
version = "3.6.3";
src = prev.fetchFromGitHub {
owner = "yarnpkg";
@ -8,5 +7,4 @@ final: prev: {
rev = "@yarnpkg/cli/${version}";
hash = "sha256-5QEnFalOEMs1bKYDYpFGnF1YwiGuW3ZxstyJAjz1/KQ=";
};
});
}
})