nixos/lib/default.nix

4 lines
141 B
Nix
Raw Normal View History

{lib, ...}: {
versionIfNewer = newVersion: oldVersion: message: lib.throwIf (lib.versionOlder newVersion oldVersion) message newVersion;
}