nix-super/test-nix-versions.nix

16 lines
295 B
Nix
Raw Normal View History

2023-12-02 19:25:47 +02:00
{ lib
, fileset
, stdenv
, client
, daemon
}:
stdenv.mkDerivation {
name =
"nix-tests"
+ lib.optionalString
(lib.versionAtLeast daemon.version "2.4pre20211005" &&
lib.versionAtLeast client.version "2.4pre20211005")
"-${client.version}-against-${daemon.version}";
}