mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
14af15dbff
People using Nix < 1.6 previously got an unhelpful "infinite recursion" error.
8 lines
213 B
Nix
8 lines
213 B
Nix
if ! builtins ? nixVersion || builtins.compareVersions "1.6" builtins.nixVersion == 1 then
|
|
|
|
abort "This version of Nixpkgs requires Nix >= 1.6, please upgrade!"
|
|
|
|
else
|
|
|
|
import ./pkgs/top-level/all-packages.nix
|