summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2022-05-22 10:37:38 -0500
committerGitHub <noreply@github.com>2022-05-22 10:37:38 -0500
commit3e7f627268fe561b8383a57d09deec1219c3db89 (patch)
tree6f0a7579ef57c16c9ba085d7150c3d7e2626a61f /pkgs/applications
parent944735b5c96302515c813a13fd4e187a9bc37856 (diff)
parentef8d5637f4a961d5f8d9258b9ada783a63cb270b (diff)
downloadnixpkgs-3e7f627268fe561b8383a57d09deec1219c3db89.tar
nixpkgs-3e7f627268fe561b8383a57d09deec1219c3db89.tar.gz
nixpkgs-3e7f627268fe561b8383a57d09deec1219c3db89.tar.bz2
nixpkgs-3e7f627268fe561b8383a57d09deec1219c3db89.tar.lz
nixpkgs-3e7f627268fe561b8383a57d09deec1219c3db89.tar.xz
nixpkgs-3e7f627268fe561b8383a57d09deec1219c3db89.tar.zst
nixpkgs-3e7f627268fe561b8383a57d09deec1219c3db89.zip
Merge pull request #173694 from marsam/ledger-python
ledger: separate python output
Diffstat (limited to 'pkgs/applications')
-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 83c47848bc4..d4b4bde7b10 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 = [