diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/johnny-reborn/with-data.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/johnny-reborn/with-data.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/applications/misc/johnny-reborn/with-data.nix b/nixpkgs/pkgs/applications/misc/johnny-reborn/with-data.nix index 04300524665e..b9432c543fee 100644 --- a/nixpkgs/pkgs/applications/misc/johnny-reborn/with-data.nix +++ b/nixpkgs/pkgs/applications/misc/johnny-reborn/with-data.nix @@ -6,7 +6,6 @@ , makeWrapper }: - let sounds = fetchFromGitHub { owner = "nivs1978"; @@ -39,15 +38,15 @@ stdenvNoCC.mkDerivation { installPhase = '' runHook preInstall - mkdir -p $out - cp -t $out/ \ + mkdir -p $out/share/jc_reborn/data + cp -t $out/share/jc_reborn/data/ \ ../scrantic-source/RESOURCE.* \ JCOS/Resources/sound*.wav makeWrapper \ - ${johnny-reborn-engine}/jc_reborn \ - $out/jc_reborn \ - --chdir $out + ${johnny-reborn-engine}/bin/jc_reborn \ + $out/bin/jc_reborn \ + --chdir $out/share/jc_reborn runHook postInstall ''; @@ -56,6 +55,6 @@ stdenvNoCC.mkDerivation { description = "An open-source engine for the classic \"Johnny Castaway\" screensaver (ready to use, with resources)"; license = lib.licenses.unfree; maintainers = with lib.maintainers; [ pedrohlc ]; - inherit (johnny-reborn-engine.meta) homepage platforms; + inherit (johnny-reborn-engine.meta) homepage platforms mainProgram; }; } |