summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-07-29 14:13:51 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-07-29 14:13:51 +0200
commit0876c079f7ec1d2b8aaf86ea8c97198241a1aac0 (patch)
treed47cd697306af7d5a977abd6b87a2ec729f79e67 /pkgs/development/tools
parentbef038a48687766a2d5163105ee46cd544162af0 (diff)
downloadnixpkgs-0876c079f7ec1d2b8aaf86ea8c97198241a1aac0.tar
nixpkgs-0876c079f7ec1d2b8aaf86ea8c97198241a1aac0.tar.gz
nixpkgs-0876c079f7ec1d2b8aaf86ea8c97198241a1aac0.tar.bz2
nixpkgs-0876c079f7ec1d2b8aaf86ea8c97198241a1aac0.tar.lz
nixpkgs-0876c079f7ec1d2b8aaf86ea8c97198241a1aac0.tar.xz
nixpkgs-0876c079f7ec1d2b8aaf86ea8c97198241a1aac0.tar.zst
nixpkgs-0876c079f7ec1d2b8aaf86ea8c97198241a1aac0.zip
dune-release: remove now unnecessary test fixes
We've upstreamed those git fixes.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/ocaml/dune-release/default.nix8
1 files changed, 0 insertions, 8 deletions
diff --git a/pkgs/development/tools/ocaml/dune-release/default.nix b/pkgs/development/tools/ocaml/dune-release/default.nix
index 0eb56d3f539..e3c8728cbfd 100644
--- a/pkgs/development/tools/ocaml/dune-release/default.nix
+++ b/pkgs/development/tools/ocaml/dune-release/default.nix
@@ -32,14 +32,6 @@ in buildDunePackage rec {
     # to have a fixed path to the binary in nix store
     sed -i '/must_exist (Cmd\.v "curl"/d' lib/github.ml
 
-    # fix problems with git invocations in tests
-    for f in tests/bin/{delegate_info,errors,tag,no_doc,x-commit-hash}/run.t; do
-      # set bogus user info in git so git commit doesn't fail
-      sed -i '/git init/ a \    $ git config user.name test; git config user.email "pseudo@pseudo.invalid"' "$f"
-      # surpress hint to set default branch name
-      substituteInPlace "$f" --replace "git init" "git init -b main"
-    done
-
     # ignore weird yes error message
     sed -i 's/yes |/yes 2>\/dev\/null |/' tests/bin/no_doc/run.t
   '';