@@ -4,13 +4,13 @@
44, curl, git, unzip, gnutar, coreutils, sqlite }:
55
66let
7− name = "pakcs-2.1.1";
7+ name = "pakcs-2.1.2";
88
99 # Don't switch to development release without a reason, because its
1010 # source updates without version bump. Prefer current release instead.
1111 src = fetchurl {
1212 url = "https://www.informatik.uni-kiel.de/~pakcs/download/${name}-src.tar.gz";
13− sha256 = "112v9ynqfbbm4x770mcfrai9v5bh7c3zn7jka80pv6v4y65r778c";
13+ sha256 = "0i0nprli3knc7zlp5qkqkpiq3ny36v52hnvgph376l3ajjds7wf6";
1414 };
1515
1616 curry-frontend = (haskellPackages.override {
@@ -43,9 +43,14 @@ in stdenv.mkDerivation {
4343 # Since we can't expand $out in `makeFlags`
4444 #makeFlags="$makeFlags PAKCSINSTALLDIR=$out/pakcs"
4545
46− substituteInPlace currytools/cpm/src/CPM/Repository.curry \
47− --replace "/bin/rm" "rm"
48− '';
46+ for file in currytools/cpm/src/CPM/Repository.curry \
47+ currytools/cpm/src/CPM/Repository/CacheDB.curry \
48+ scripts/compile-all-libs.sh \
49+ scripts/cleancurry.sh \
50+ examples/test.sh testsuite/test.sh lib/test.sh; do
51+ substituteInPlace $file --replace "/bin/rm" "rm"
52+ done
53+ '' ;
4954
5055 # cypm new: EXISTENCE ERROR: source_sink
5156 # "/tmp/nix-build-pakcs-2.0.2.drv-0/pakcs-2.0.2/currytools/cpm/templates/LICENSE"