Loading pkgs/by-name/ni/nix-unit/package.nix +13 −7 Original line number Diff line number Diff line Loading @@ -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 ]; Loading Loading
pkgs/by-name/ni/nix-unit/package.nix +13 −7 Original line number Diff line number Diff line Loading @@ -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 ]; Loading