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, ... }: { 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, ... }:
final: prev: { prev.openttd-jgrpp.overrideAttrs (old: rec {
openttd-jgrpp = prev.openttd-jgrpp.overrideAttrs (old: rec { version = "0.55.3";
version = "0.55.3"; src = prev.fetchFromGitHub rec {
src = prev.fetchFromGitHub rec { owner = "JGRennison";
owner = "JGRennison"; repo = "OpenTTD-patches";
repo = "OpenTTD-patches"; rev = "jgrpp-${version}";
rev = "jgrpp-${version}"; hash = "sha256-E1+pXpXNHOu9nPTGSY8baVaKf1Um6IGDjpi1MmENez8=";
hash = "sha256-xpo4E07ifWUZy5z78Fwm1SpLP3wUBaBreZYbJuiNH3w="; };
}; })
});
}

View File

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