mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
14af15dbff
People using Nix < 1.6 previously got an unhelpful "infinite recursion" error.
7 lines
213 B
Nix
7 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
|