chore: nix 2.24 -> 2.25

This commit is contained in:
matt1432 2024-12-10 22:28:26 -05:00
parent 131299587c
commit 9aca532b78
10 changed files with 66 additions and 81 deletions
lib/flake

View file

@ -4,11 +4,17 @@ inputs: rec {
system,
nixpkgs,
cfg ? {},
nix ? null,
cudaSupport ? false,
}:
import nixpkgs {
inherit system;
overlays = [inputs.self.overlays.build-failures] ++ (cfg.overlays or []);
overlays =
[
(inputs.self.overlays.nix-version {inherit nix;})
inputs.self.overlays.build-failures
]
++ (cfg.overlays or []);
config =
{
inherit cudaSupport;
@ -24,6 +30,7 @@ inputs: rec {
}: ({config, ...}: let
pkgs = mkPkgs {
cfg = config.nixpkgs;
nix = config.nix.package;
inherit system cudaSupport;
inherit (inputs) nixpkgs;
};