From e333df225e0cbeda543b577f3a7dee57741dec47 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sun, 15 Oct 2017 18:07:27 -0500 Subject: [PATCH] robotfindskitten: install req'd data and put bin in $out/bin --- pkgs/games/robotfindskitten/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/games/robotfindskitten/default.nix b/pkgs/games/robotfindskitten/default.nix index 16e36a03dce0..00d73f95bdb3 100644 --- a/pkgs/games/robotfindskitten/default.nix +++ b/pkgs/games/robotfindskitten/default.nix @@ -14,6 +14,12 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ ncurses ]; + makeFlags = [ "execgamesdir=$(out)/bin" ]; + + postInstall = '' + install -Dm644 {nki,$out/share/games/robotfindskitten}/vanilla.nki + ''; + meta = { description = "Yet another zen simulation; A simple find-the-kitten game"; homepage = http://robotfindskitten.org/;