about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-05-22 18:01:51 +0000
committerGitHub <noreply@github.com>2022-05-22 18:01:51 +0000
commit82ce3488e1e446d51f1ef1e0bd599cf5a747d083 (patch)
tree5aa4cdbb37fb1428e04e117c0783f48de10fc10f /pkgs/applications/office
parent55c8e2729042bfab9b91bc01b14a504cbf2702e2 (diff)
parent107b6041bc98bd60040bf9305df2e9cdfd71c255 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/ledger/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/office/ledger/default.nix b/pkgs/applications/office/ledger/default.nix
index 83c47848bc4a0..d4b4bde7b10b4 100644
--- a/pkgs/applications/office/ledger/default.nix
+++ b/pkgs/applications/office/ledger/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
     sha256 = "0x6jxwss3wwzbzlwmnwb8yzjk8f9wfawif4f1b74z2qg6hc4r7f6";
   };
 
-  outputs = [ "out" "dev" ];
+  outputs = [ "out" "dev" "py" ];
 
   buildInputs = [
     (boost.override { enablePython = usePython; python = python3; })
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
   # however, that would write to a different nixstore path, pass our own sitePackages location
   prePatch = lib.optionalString usePython ''
     substituteInPlace src/CMakeLists.txt \
-      --replace 'DESTINATION ''${Python_SITEARCH}' 'DESTINATION "${python3.sitePackages}"'
+      --replace 'DESTINATION ''${Python_SITEARCH}' 'DESTINATION "${placeholder "py"}/${python3.sitePackages}"'
   '';
 
   patches = [