nix-unit: 2.24.1 -> 2.30.0 (#433021)

authored by Jörg Thalheim and committed by GitHub 5c09e7c1 b38cdcc5

+13 -7
+13 -7
pkgs/by-name/ni/nix-unit/package.nix
··· 13 13 pkg-config, 14 14 fetchFromGitHub, 15 15 }: 16 - 16 + let 17 + # We pin the nix version to a known working one here as upgrades can likely break the build. 18 + # Since the nix language is rather stable we don't always need to have the latest and greatest for unit tests 19 + # On each update of nix unit we should re-evaluate what version we need. 20 + nixComponents = nixVersions.nixComponents_2_30; 21 + in 17 22 stdenv.mkDerivation (finalAttrs: { 18 23 pname = "nix-unit"; 19 - version = "2.24.1"; 24 + version = "2.30.0"; 20 25 21 26 src = fetchFromGitHub { 22 27 owner = "nix-community"; 23 28 repo = "nix-unit"; 24 29 rev = "v${finalAttrs.version}"; 25 - hash = "sha256-PcT0jtv2QFaht5eSs1Vq4XGDqtMLdPC49ao9uwGYclE="; 30 + hash = "sha256-yQ7HqzfrG7B6Sq1iGBI7QJsbkI/07Ccz42bqWJW4NJA="; 26 31 }; 27 32 28 33 buildInputs = [ 34 + nixComponents.nix-main 35 + nixComponents.nix-store 36 + nixComponents.nix-expr 37 + nixComponents.nix-cmd 38 + nixComponents.nix-flake 29 39 nlohmann_json 30 - # We pin the nix version to a known working one here as upgrades can likely break the build. 31 - # Since the nix language is rather stable we don't always need to have the latest and greatest for unit tests 32 - # On each update of nix unit we should re-evaluate what version we need. 33 - nixVersions.nix_2_24 34 40 boost 35 41 ]; 36 42