Loading pkgs/by-name/dr/dreamchess/package.nix +10 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ bison, flex, gettext, makeWrapper, SDL2, SDL2_image, SDL2_mixer, Loading Loading @@ -48,6 +49,7 @@ stdenv.mkDerivation (finalAttrs: { bison flex gettext makeWrapper ]; cmakeFlags = [ (lib.cmakeBool "CMAKE_VERBOSE_MAKEFILE" true) Loading @@ -55,10 +57,18 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeFeature "CMAKE_INSTALL_DATAROOTDIR" "${placeholder "out"}/share") ]; # This makes sure the default engine (dreamer) will be called from # the /nix/store/ as well when starting a new game postFixup = '' wrapProgram $out/bin/dreamchess \ --prefix PATH : $out/bin ''; doInstallCheck = true; postInstallCheck = '' stat "''${!outputBin}/bin/${finalAttrs.meta.mainProgram}" stat "''${!outputBin}/bin/dreamer" ''; meta = { Loading Loading
pkgs/by-name/dr/dreamchess/package.nix +10 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ bison, flex, gettext, makeWrapper, SDL2, SDL2_image, SDL2_mixer, Loading Loading @@ -48,6 +49,7 @@ stdenv.mkDerivation (finalAttrs: { bison flex gettext makeWrapper ]; cmakeFlags = [ (lib.cmakeBool "CMAKE_VERBOSE_MAKEFILE" true) Loading @@ -55,10 +57,18 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeFeature "CMAKE_INSTALL_DATAROOTDIR" "${placeholder "out"}/share") ]; # This makes sure the default engine (dreamer) will be called from # the /nix/store/ as well when starting a new game postFixup = '' wrapProgram $out/bin/dreamchess \ --prefix PATH : $out/bin ''; doInstallCheck = true; postInstallCheck = '' stat "''${!outputBin}/bin/${finalAttrs.meta.mainProgram}" stat "''${!outputBin}/bin/dreamer" ''; meta = { Loading