Skip to content

Commit fd95f6b

Browse files
committed
bugfix: proper version testing
1 parent c47cc88 commit fd95f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/helper/patches.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ let
33
lib = super.stdenv.lib;
44
in
55
{
6-
systemd = if ((lib.toInt super.systemd.version) < 239) then
6+
systemd = if ((builtins.compareVersions super.systemd.version "239") == -1) then
77
super.systemd.overrideAttrs (drv: {
88
# https://github.com/lxc/lxc/issues/2226
99
patches = if super.systemd ? patches then super.systemd.patches ++ [ ./8447.patch ]

0 commit comments

Comments
 (0)