flake/inputs: 24.11-small -> 25.05-small
We upgrade to 25.05 release, which contains the curl commit
https://github.com/curl/curl/commit/5fbd78eb2dc4afbd8884e8eed27147fc3d4318f6
done in
https://github.com/NixOS/nixpkgs/pull/396200#issuecomment-2795944006.
This fixes HTTP transfers generating arbitrary errors and possibly
failing unusually.
Users who are already depending on 25.05-small or a recent unstable
already had the fix.
Special mention to the Linux kernel who gave me the opportunity to get
on a 24 hours bisection side quest to fix the local release engineering
test.
Special thanks to everyone who had to endure me ranting.
Change-Id: I866caf65d5ea103f1fa5eccd57df8031c9eacda0
Co-authored-by: eldritch horrors <pennae@lix.systems>
Co-authored-by: helle <helle@h3l.li>
Signed-off-by: Raito Bezarius <raito@lix.systems>
(cherry picked from commit 1e34c37477)
This commit is contained in:
@@ -107,9 +107,9 @@ class NixSettings:
|
||||
|
||||
field_may("experimental-features", self.experimental_features)
|
||||
field_may("store", self.store)
|
||||
assert (
|
||||
self.store or self.nix_store_dir
|
||||
), "Failing to set either nix_store_dir or store will cause accidental use of the system store."
|
||||
assert self.store or self.nix_store_dir, (
|
||||
"Failing to set either nix_store_dir or store will cause accidental use of the system store."
|
||||
)
|
||||
return config
|
||||
|
||||
def to_env_overlay(self) -> dict[str, str]:
|
||||
@@ -215,13 +215,14 @@ class Nix:
|
||||
def nix(self, cmd: list[str], nix_exe: str = "nix", flake: bool = False) -> NixCommand:
|
||||
return self.nix_cmd([nix_exe, *cmd], flake=flake)
|
||||
|
||||
nix_build = partialmethod(nix, nix_exe="nix-build")
|
||||
nix_shell = partialmethod(nix, nix_exe="nix-shell")
|
||||
nix_store = partialmethod(nix, nix_exe="nix-store")
|
||||
nix_env = partialmethod(nix, nix_exe="nix-env")
|
||||
nix_instantiate = partialmethod(nix, nix_exe="nix-instantiate")
|
||||
nix_channel = partialmethod(nix, nix_exe="nix-channel")
|
||||
nix_prefetch_url = partialmethod(nix, nix_exe="nix-prefetch-url")
|
||||
# Mark each of these as correct as they are not ClassVars, but we also don't want to turn off RUF045
|
||||
nix_build = partialmethod(nix, nix_exe="nix-build") # noqa: RUF045
|
||||
nix_shell = partialmethod(nix, nix_exe="nix-shell") # noqa: RUF045
|
||||
nix_store = partialmethod(nix, nix_exe="nix-store") # noqa: RUF045
|
||||
nix_env = partialmethod(nix, nix_exe="nix-env") # noqa: RUF045
|
||||
nix_instantiate = partialmethod(nix, nix_exe="nix-instantiate") # noqa: RUF045
|
||||
nix_channel = partialmethod(nix, nix_exe="nix-channel") # noqa: RUF045
|
||||
nix_prefetch_url = partialmethod(nix, nix_exe="nix-prefetch-url") # noqa: RUF045
|
||||
|
||||
def eval(self, expr: str, settings: NixSettings | None = None) -> CommandResult:
|
||||
if settings is None:
|
||||
|
||||
Reference in New Issue
Block a user