lix/test-nix-versions.nix
John Ericson ce598bae14 WIP
2023-12-03 14:10:09 -05:00

16 lines
295 B
Nix

{ 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}";
}