about summary refs log tree commit diff
path: root/pkgs/applications/kde/cantor.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/kde/cantor.nix')
-rw-r--r--pkgs/applications/kde/cantor.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/applications/kde/cantor.nix b/pkgs/applications/kde/cantor.nix
index 1c9a9f718a766..0acfa430eaa75 100644
--- a/pkgs/applications/kde/cantor.nix
+++ b/pkgs/applications/kde/cantor.nix
@@ -93,12 +93,7 @@ mkDerivation {
 
   qtWrapperArgs = [
     "--prefix PATH : ${placeholder "out"}/bin"
-  ];
-
-  postInstall = lib.optionalString withSage ''
-    wrapProgram $out/share/cantor/sagebackend/cantor-execsage \
-      --prefix PATH : ${sage-with-env}/bin
-  '';
+  ] ++ lib.optional withSage "--prefix PATH : ${sage-with-env}/bin";
 
   meta = with lib; {
     description = "Front end to powerful mathematics and statistics packages";