From bb22eb6d8bbfb92504534b6555b4c9fa947b8480 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sun, 28 Nov 2021 03:58:53 +0000 Subject: [PATCH] rnix-lsp: Use nix 2.4 In e6548105b7ffbcb20d0a091be358165a21b510e2 rnix-lsp switched back to using the default nix because it was moved to 2.4. However, in e3b7448f2301459365d3e6833b9321a6dbf1ae73 the default nix moved back to 2.3.16. As rnix-lsp requires at least nix 2.4 for tests to succeed, the tests started failing --- pkgs/development/tools/rnix-lsp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/rnix-lsp/default.nix b/pkgs/development/tools/rnix-lsp/default.nix index 327a93637fc2..d9a8c4bdd592 100644 --- a/pkgs/development/tools/rnix-lsp/default.nix +++ b/pkgs/development/tools/rnix-lsp/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, rustPlatform, nix }: +{ lib, fetchFromGitHub, rustPlatform, nix_2_4 }: rustPlatform.buildRustPackage rec { pname = "rnix-lsp"; @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-Tw05eOIMJj+zX0fqtn6wJwolKNkYqfVuo/WO/WvYu2k="; - checkInputs = [ nix ]; + checkInputs = [ nix_2_4 ]; meta = with lib; { description = "A work-in-progress language server for Nix, with syntax checking and basic completion";