3p/nixpkgs: add pr163678 to fix mercurial
This commit is contained in:
parent
e8b2667c01
commit
3cb0fa9787
3 changed files with 29 additions and 0 deletions
24
third_party/nixpkgs/patches/pr163678.patch
vendored
Normal file
24
third_party/nixpkgs/patches/pr163678.patch
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
From f491e8c3326f102c0ef45f6b0abe0868d6df5bbd Mon Sep 17 00:00:00 2001
|
||||||
|
From: Luke Granger-Brown <git@lukegb.com>
|
||||||
|
Date: Fri, 11 Mar 2022 15:42:05 +0000
|
||||||
|
Subject: [PATCH] mercurial: disable all non-essential phases in withExtensions
|
||||||
|
|
||||||
|
---
|
||||||
|
pkgs/applications/version-management/mercurial/default.nix | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix
|
||||||
|
index 17d21f30e3b24..0124cf0646e5e 100644
|
||||||
|
--- a/pkgs/applications/version-management/mercurial/default.nix
|
||||||
|
+++ b/pkgs/applications/version-management/mercurial/default.nix
|
||||||
|
@@ -181,6 +181,10 @@ in
|
||||||
|
nativeBuildInputs = self.nativeBuildInputs;
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
+ dontPatch = true;
|
||||||
|
+ dontConfigure = true;
|
||||||
|
+ dontBuild = true;
|
||||||
|
+ doCheck = false;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
1
third_party/nixpkgs/patches/series
vendored
1
third_party/nixpkgs/patches/series
vendored
|
@ -1,2 +1,3 @@
|
||||||
nvidia-sideband-socket.patch
|
nvidia-sideband-socket.patch
|
||||||
pr163673.patch
|
pr163673.patch
|
||||||
|
pr163678.patch
|
||||||
|
|
|
@ -181,6 +181,10 @@ in
|
||||||
nativeBuildInputs = self.nativeBuildInputs;
|
nativeBuildInputs = self.nativeBuildInputs;
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
dontPatch = true;
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
Loading…
Reference in a new issue