Skip to content

Commit

Permalink
Merge pull request #420 from Jovian-Experiments/decky-prelease-returns
Browse files Browse the repository at this point in the history
decky-loader-prerelease: revive at 3.0.2-pre3
  • Loading branch information
K900 authored Oct 11, 2024
2 parents 7ea7031 + 4842118 commit 2c774e3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ rec {
sdgyrodsu = final.callPackage ./pkgs/sdgyrodsu { };

decky-loader = final.callPackage ./pkgs/decky-loader { };
decky-loader-prerelease = decky-loader;
decky-loader-prerelease = final.callPackage ./pkgs/decky-loader/prerelease.nix { };
}
4 changes: 2 additions & 2 deletions pkgs/decky-loader/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ python3.pkgs.buildPythonPackage rec {
hash = "sha256-IFop3SbXYCzYdHGRK08v8uPL4sSAHelCrIEc8HquZmg=";
};

pyproject = true;

pnpmDeps = pnpm.fetchDeps {
inherit pname version src;
sourceRoot = "${src.name}/frontend";
hash = "sha256-IX7WI0q30Wa54sSpPQu9SarxijS9BQFgo6Lkw12E6GI=";
};

pyproject = true;

pnpmRoot = "frontend";

nativeBuildInputs = [
Expand Down
22 changes: 22 additions & 0 deletions pkgs/decky-loader/prerelease.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
decky-loader,
fetchFromGitHub,
pnpm,
}:
decky-loader.overrideAttrs rec {
pname = "decky-loader";
version = "3.0.2-pre3";

src = fetchFromGitHub {
owner = "SteamDeckHomebrew";
repo = "decky-loader";
rev = "v${version}";
hash = "sha256-mWeGB2h0FB5AbUIt14d0S5f2GFYz00bFm3px6xFsQLo=";
};

pnpmDeps = pnpm.fetchDeps {
inherit pname version src;
sourceRoot = "${src.name}/frontend";
hash = "sha256-DG1+Drr0z0QfnGYDpJw+PpINjA9PM1Rij93ePqebDSE=";
};
}

0 comments on commit 2c774e3

Please sign in to comment.