summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2018-08-09 15:26:46 +0000
committerJan Malakhovski <oxij@oxij.org>2018-08-11 09:35:19 +0000
commitdc3d45500a4a7f0ce91e65a8873a8b5264d0df20 (patch)
tree1f334ab9306e611b1111ab90ea8abb74a798c74c /pkgs/development/libraries
parentd8850af4c3f50dff1072c8fc873bed6b4df3d225 (diff)
downloadnixpkgs-dc3d45500a4a7f0ce91e65a8873a8b5264d0df20.tar
nixpkgs-dc3d45500a4a7f0ce91e65a8873a8b5264d0df20.tar.gz
nixpkgs-dc3d45500a4a7f0ce91e65a8873a8b5264d0df20.tar.bz2
nixpkgs-dc3d45500a4a7f0ce91e65a8873a8b5264d0df20.tar.lz
nixpkgs-dc3d45500a4a7f0ce91e65a8873a8b5264d0df20.tar.xz
nixpkgs-dc3d45500a4a7f0ce91e65a8873a8b5264d0df20.tar.zst
nixpkgs-dc3d45500a4a7f0ce91e65a8873a8b5264d0df20.zip
netcdf: fix most tests
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/netcdf/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/netcdf/default.nix b/pkgs/development/libraries/netcdf/default.nix
index 8446a91ccec..7d0e934d911 100644
--- a/pkgs/development/libraries/netcdf/default.nix
+++ b/pkgs/development/libraries/netcdf/default.nix
@@ -16,6 +16,15 @@ in stdenv.mkDerivation rec {
     sha256 = "0hi61cdihwwvz5jz1l7yq712j7ca1cj4bhr8x0x7c2vlb1s9biw9";
   };
 
+  postPatch = ''
+    patchShebangs .
+
+    # this test requires the net
+    for a in ncdap_test/Makefile.am ncdap_test/Makefile.in; do
+      substituteInPlace $a --replace testurl.sh " "
+    done
+  '';
+
   nativeBuildInputs = [ m4 ];
   buildInputs = [ hdf5 curl mpi ];