patches: patch Hydra to force allow IFD

This commit is contained in:
Infinidoge 2024-05-21 02:19:22 -04:00
parent fe4eb60fac
commit 5ca8cfd061
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E
2 changed files with 27 additions and 0 deletions

View file

@ -21,4 +21,6 @@ in
];
hyfetch = addPatches prev.hyfetch [ ./neofetch-remove-steam-packages.patch ];
hydra_unstable = addPatches prev.hydra_unstable [ ./hydra-force-allow-import-from-derivation.patch ];
}

View file

@ -0,0 +1,25 @@
From 800c20af32526d650645f1ded7d2d0f576b61e25 Mon Sep 17 00:00:00 2001
From: Infinidoge <infinidoge@inx.moe>
Date: Tue, 21 May 2024 01:19:15 -0400
Subject: [PATCH] force allow import from derivation
---
src/script/hydra-eval-jobset | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/script/hydra-eval-jobset b/src/script/hydra-eval-jobset
index 72a386f5..208d182b 100755
--- a/src/script/hydra-eval-jobset
+++ b/src/script/hydra-eval-jobset
@@ -372,7 +372,7 @@ sub evalJobs {
inputsToArgs($inputInfo));
}
- push @cmd, "--no-allow-import-from-derivation" if $config->{allow_import_from_derivation} // "true" ne "true";
+ push @cmd, "--allow-import-from-derivation";
if (defined $ENV{'HYDRA_DEBUG'}) {
sub escape {
--
2.44.0