about summary refs log tree commit diff
path: root/pkgs/applications/science/math/gap
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2019-01-16 23:42:15 +0100
committerTimo Kaufmann <timokau@zoho.com>2019-01-17 10:10:21 +0100
commitbb173ec8e3e0b02a156fd4a405582312bf41a410 (patch)
tree60f6a2bfecd2c1650c51e57bca9203641a6c8ded /pkgs/applications/science/math/gap
parent6bbd0596dd25fd7c0285a051fb5a931f48610e8e (diff)
downloadnixlib-bb173ec8e3e0b02a156fd4a405582312bf41a410.tar
nixlib-bb173ec8e3e0b02a156fd4a405582312bf41a410.tar.gz
nixlib-bb173ec8e3e0b02a156fd4a405582312bf41a410.tar.bz2
nixlib-bb173ec8e3e0b02a156fd4a405582312bf41a410.tar.lz
nixlib-bb173ec8e3e0b02a156fd4a405582312bf41a410.tar.xz
nixlib-bb173ec8e3e0b02a156fd4a405582312bf41a410.tar.zst
nixlib-bb173ec8e3e0b02a156fd4a405582312bf41a410.zip
gap: install libgap
There are some starts of a `make install`, but nothing complete yet.
Upstream now ships a `libgap` as a replacement of the custom one used by
sagemath.
Diffstat (limited to 'pkgs/applications/science/math/gap')
-rw-r--r--pkgs/applications/science/math/gap/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/science/math/gap/default.nix b/pkgs/applications/science/math/gap/default.nix
index a7105705f380..4b4a7035e867 100644
--- a/pkgs/applications/science/math/gap/default.nix
+++ b/pkgs/applications/science/math/gap/default.nix
@@ -107,7 +107,16 @@ stdenv.mkDerivation rec {
     popd
   '';
 
-  installPhase = ''
+  installTargets = [
+    "install-libgap"
+    "install-headers"
+  ];
+
+  # full `make install` is not yet implemented, just for libgap and headers
+  postInstall = ''
+    # Install config.h, which is not currently handled by `make install-headers`
+    cp gen/config.h "$out/include/gap"
+
     mkdir -p "$out/bin" "$out/share/gap/"
 
     mkdir -p "$out/share/gap"