poke: move share/vim from $lib to $out

(cherry picked from commit 45f46d31a6)
This commit is contained in:
Kira Bruneau
2022-07-26 08:21:13 -04:00
committed by github-actions[bot]
parent 78aa8bdf18
commit 539569b7c0

View File

@@ -52,6 +52,8 @@ in stdenv.mkDerivation rec {
++ lib.optional (!isCross) dejagnu;
configureFlags = [
# libpoke depends on $datadir/poke, so we specify the datadir in
# $lib, and later move anything else it doesn't depend on to $out
"--datadir=${placeholder "lib"}/share"
] ++ lib.optionals guiSupport [
"--with-tcl=${tcl}/lib"
@@ -66,6 +68,7 @@ in stdenv.mkDerivation rec {
postInstall = ''
moveToOutput share/emacs "$out"
moveToOutput share/vim "$out"
'';
passthru = {