legendary-heroic: move beside heroic-unwrapped

This is a fork only for Heroic, so move the nix file for this derivation
to beside heroic-unwrapped, but expose it as a passthru for ease of
overriding.

+5 -3
+5 -3
pkgs/by-name/he/heroic-unwrapped/package.nix
··· 12 12 electron_36, 13 13 vulkan-helper, 14 14 gogdl, 15 - legendary-heroic, 16 15 nile, 17 16 comet-gog, 18 17 umu-launcher, 19 18 }: 20 19 21 20 let 21 + legendary = callPackage ./legendary.nix { }; 22 22 epic-integration = callPackage ./epic-integration.nix { }; 23 23 electron = electron_36; 24 24 in ··· 85 85 "$out/opt/heroic/resources/app.asar.unpacked/build/bin/x64/win32" 86 86 ln -s \ 87 87 "${lib.getExe gogdl}" \ 88 - "${lib.getExe legendary-heroic}" \ 88 + "${lib.getExe legendary}" \ 89 89 "${lib.getExe nile}" \ 90 90 "${lib.getExe comet-gog}" \ 91 91 "${lib.getExe vulkan-helper}" \ ··· 112 112 runHook postInstall 113 113 ''; 114 114 115 - passthru.epic-integration = epic-integration; 115 + passthru = { 116 + inherit epic-integration legendary; 117 + }; 116 118 117 119 meta = with lib; { 118 120 description = "Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac";
pkgs/by-name/le/legendary-heroic/package.nix pkgs/by-name/he/heroic-unwrapped/legendary.nix