diff options
author | 360ied <19516527+360ied@users.noreply.github.com> | 2023-01-06 22:02:28 -0500 |
---|---|---|
committer | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2023-01-07 05:28:13 +0100 |
commit | c73f29c723c2dce97e8789c6cf96b36a1b158176 (patch) | |
tree | 6045fd43cae04c079b8c9d91e15e09b5f4ac30c3 /pkgs | |
parent | 235799128bfccb6048f36a86e9d32545efca0372 (diff) |
classicube: move runHook postInstall
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/games/classicube/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/games/classicube/default.nix b/pkgs/games/classicube/default.nix index 07eded71e7b8..06c914e56f1b 100644 --- a/pkgs/games/classicube/default.nix +++ b/pkgs/games/classicube/default.nix @@ -79,6 +79,7 @@ stdenv.mkDerivation rec { installPhase = '' runHook preInstall + mkdir -p "$out/bin" cp 'src/ClassiCube' "$out/bin" # ClassiCube puts downloaded resources @@ -90,10 +91,11 @@ stdenv.mkDerivation rec { wrapProgram "$out/bin/ClassiCube" \ --run 'mkdir -p "$HOME/.local/share/ClassiCube"' \ --run 'cd "$HOME/.local/share/ClassiCube"' - runHook postInstall mkdir -p "$out/share/icons/hicolor/256x256/apps" cp misc/CCicon.png "$out/share/icons/hicolor/256x256/apps" + + runHook postInstall ''; meta = with lib; { |