diff options
| author | Kira Bruneau <kira.bruneau@pm.me> | 2022-07-26 08:21:13 -0400 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2022-07-30 03:07:55 +0000 |
| commit | 539569b7c077cecc7592a253e0e6d3305b516886 (patch) | |
| tree | ee689b5cc8b1ebae3eb5f2da8dabf476f8c30568 | |
| parent | poke: 2.3 -> 2.4 (diff) | |
| download | nixpkgs-539569b7c077cecc7592a253e0e6d3305b516886.tar.gz | |
poke: move share/vim from $lib to $out
(cherry picked from commit 45f46d31a65d9788e8b9225bf08dbe66dbb388f9)
| -rw-r--r-- | pkgs/applications/editors/poke/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 = { |
