robotfindskitten: install req'd data and put bin in $out/bin

This commit is contained in:
Will Dietz 2017-10-15 18:07:27 -05:00
parent 19997f0100
commit e333df225e

View File

@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses ]; buildInputs = [ ncurses ];
makeFlags = [ "execgamesdir=$(out)/bin" ];
postInstall = ''
install -Dm644 {nki,$out/share/games/robotfindskitten}/vanilla.nki
'';
meta = { meta = {
description = "Yet another zen simulation; A simple find-the-kitten game"; description = "Yet another zen simulation; A simple find-the-kitten game";
homepage = http://robotfindskitten.org/; homepage = http://robotfindskitten.org/;