We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nixVersion.stable
1 parent b7da34a commit 54175deCopy full SHA for 54175de
packages/default.nix
@@ -4,15 +4,18 @@
4
pkgs,
5
...
6
}: let
7
- inherit (lib) optionalAttrs;
+ inherit (lib) optionalAttrs versionAtLeast;
8
inherit (pkgs) system;
9
inherit (pkgs.hostPlatform) isLinux;
10
in rec {
11
legacyPackages = {
12
inputs = {
13
nixpkgs = rec {
14
inherit (pkgs) cachix;
15
- nix = pkgs.nixVersions.nix_2_22;
+ nix = let
16
+ nixStable = pkgs.nixVersions.stable;
17
+ in
18
+ assert versionAtLeast nixStable.version "2.24.10"; nixStable;
19
nix-eval-jobs = pkgs.nix-eval-jobs.override {inherit nix;};
20
nix-fast-build = pkgs.nix-fast-build.override {inherit nix-eval-jobs;};
21
};
0 commit comments