Files
nixpkgs/pkgs/by-name/ji/jing-trang/no-git-during-build.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

48 lines
1.2 KiB
Diff

From db0ed6267f1a85f0785c81b8ee396f74795c77c0 Mon Sep 17 00:00:00 2001
From: Thomas Gerbet <thomas@gerbet.me>
Date: Sat, 27 Nov 2021 10:24:07 +0100
Subject: [PATCH] Do not rely on Git during the build
---
build.xml | 6 ------
build.xsl | 6 ------
2 files changed, 12 deletions(-)
diff --git a/build.xml b/build.xml
index e8ebaed8..2d26c72f 100644
--- a/build.xml
+++ b/build.xml
@@ -431,12 +431,6 @@
<target name="clean"
description="Remove almost all files created during the build process">
<delete dir="${build.dir}"/>
- <exec executable="git">
- <arg value="clean"/>
- <arg value="-d"/>
- <arg value="--force"/>
- <arg value="${doc.dir}"/>
- </exec>
</target>
<target name="realclean" depends="clean"
diff --git a/build.xsl b/build.xsl
index fb9f3fef..fa384a27 100644
--- a/build.xsl
+++ b/build.xsl
@@ -23,12 +23,6 @@
<target name="dummy"/>
<target name="init">
<mkdir dir="{$build}"/>
- <exec executable="git">
- <arg value="submodule"/>
- <arg value="update"/>
- <arg value="--init"/>
- <arg value="--recursive"/>
- </exec>
<copy todir="{$doc}">
<fileset dir="relaxng.org/jclark" includes="**"/>
</copy>
--
2.34.1