We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c47cc88 commit fd95f6bCopy full SHA for fd95f6b
bin/helper/patches.nix
@@ -3,7 +3,7 @@ let
3
lib = super.stdenv.lib;
4
in
5
{
6
- systemd = if ((lib.toInt super.systemd.version) < 239) then
+ systemd = if ((builtins.compareVersions super.systemd.version "239") == -1) then
7
super.systemd.overrideAttrs (drv: {
8
# https://github.com/lxc/lxc/issues/2226
9
patches = if super.systemd ? patches then super.systemd.patches ++ [ ./8447.patch ]
0 commit comments