From 45f46d31a65d9788e8b9225bf08dbe66dbb388f9 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Tue, 26 Jul 2022 08:21:13 -0400 Subject: [PATCH] poke: move share/vim from $lib to $out --- pkgs/applications/editors/poke/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/poke/default.nix b/pkgs/applications/editors/poke/default.nix index 9e3f5f415029..cf85c0b591b2 100644 --- a/pkgs/applications/editors/poke/default.nix +++ b/pkgs/applications/editors/poke/default.nix @@ -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 = {