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

This commit is contained in:
Jörg Thalheim 2025-08-14 09:48:02 +02:00 committed by GitHub
commit 5c09e7c195
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,24 +13,30 @@
pkg-config,
fetchFromGitHub,
}:
let
# We pin the nix version to a known working one here as upgrades can likely break the build.
# Since the nix language is rather stable we don't always need to have the latest and greatest for unit tests
# On each update of nix unit we should re-evaluate what version we need.
nixComponents = nixVersions.nixComponents_2_30;
in
stdenv.mkDerivation (finalAttrs: {
pname = "nix-unit";
version = "2.24.1";
version = "2.30.0";
src = fetchFromGitHub {
owner = "nix-community";
repo = "nix-unit";
rev = "v${finalAttrs.version}";
hash = "sha256-PcT0jtv2QFaht5eSs1Vq4XGDqtMLdPC49ao9uwGYclE=";
hash = "sha256-yQ7HqzfrG7B6Sq1iGBI7QJsbkI/07Ccz42bqWJW4NJA=";
};
buildInputs = [
nixComponents.nix-main
nixComponents.nix-store
nixComponents.nix-expr
nixComponents.nix-cmd
nixComponents.nix-flake
nlohmann_json
# We pin the nix version to a known working one here as upgrades can likely break the build.
# Since the nix language is rather stable we don't always need to have the latest and greatest for unit tests
# On each update of nix unit we should re-evaluate what version we need.
nixVersions.nix_2_24
boost
];