about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorYurii Rashkovskii <yrashk@gmail.com>2019-09-14 16:10:27 +0700
committerYurii Rashkovskii <yrashk@gmail.com>2019-10-08 16:12:12 +0700
commit3e9e1828bbe85e144bee5a907b466591f2d0fb67 (patch)
treeb53b093b51f0c3448f1ea8fb830e2e3895f50bc6 /pkgs/development/compilers
parentcbb4b91e70a3c8b8fead0d786e3a0a0e7070fb86 (diff)
downloadnixlib-3e9e1828bbe85e144bee5a907b466591f2d0fb67.tar
nixlib-3e9e1828bbe85e144bee5a907b466591f2d0fb67.tar.gz
nixlib-3e9e1828bbe85e144bee5a907b466591f2d0fb67.tar.bz2
nixlib-3e9e1828bbe85e144bee5a907b466591f2d0fb67.tar.lz
nixlib-3e9e1828bbe85e144bee5a907b466591f2d0fb67.tar.xz
nixlib-3e9e1828bbe85e144bee5a907b466591f2d0fb67.tar.zst
nixlib-3e9e1828bbe85e144bee5a907b466591f2d0fb67.zip
pakcs: 2.1.1 -> 2.1.2
packs 2.1.1 build has been observed to be broken by the upgrade of
swiProlog to 8.1.15. Upgrading packs to 2.1.2 seems to resolve this
issue.
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/pakcs/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/compilers/pakcs/default.nix b/pkgs/development/compilers/pakcs/default.nix
index a118e7ab73ba..0b46bd1f24de 100644
--- a/pkgs/development/compilers/pakcs/default.nix
+++ b/pkgs/development/compilers/pakcs/default.nix
@@ -4,13 +4,13 @@
 , curl, git, unzip, gnutar, coreutils, sqlite }:
 
 let
-  name = "pakcs-2.1.1";
+  name = "pakcs-2.1.2";
 
   # Don't switch to development release without a reason, because its
   # source updates without version bump. Prefer current release instead.
   src = fetchurl {
     url = "https://www.informatik.uni-kiel.de/~pakcs/download/${name}-src.tar.gz";
-    sha256 = "112v9ynqfbbm4x770mcfrai9v5bh7c3zn7jka80pv6v4y65r778c";
+    sha256 = "0i0nprli3knc7zlp5qkqkpiq3ny36v52hnvgph376l3ajjds7wf6";
   };
 
   curry-frontend = (haskellPackages.override {
@@ -43,9 +43,14 @@ in stdenv.mkDerivation {
     # Since we can't expand $out in `makeFlags`
     #makeFlags="$makeFlags PAKCSINSTALLDIR=$out/pakcs"
 
-    substituteInPlace currytools/cpm/src/CPM/Repository.curry \
-      --replace "/bin/rm" "rm"
-  '';
+    for file in currytools/cpm/src/CPM/Repository.curry \
+                currytools/cpm/src/CPM/Repository/CacheDB.curry \
+                scripts/compile-all-libs.sh \
+                scripts/cleancurry.sh \
+                examples/test.sh testsuite/test.sh lib/test.sh; do
+        substituteInPlace $file --replace "/bin/rm" "rm"
+    done
+  '' ;
 
   # cypm new: EXISTENCE ERROR: source_sink
   # "/tmp/nix-build-pakcs-2.0.2.drv-0/pakcs-2.0.2/currytools/cpm/templates/LICENSE"