Merge "package: remove assert for libseccomp version" into main

This commit is contained in:
Maximilian Bosch 2024-05-04 20:33:59 +00:00 committed by Gerrit Code Review
commit 8dfb30a235

View file

@ -85,17 +85,14 @@
lix-doc = pkgs.callPackage ./lix-doc/package.nix { }; lix-doc = pkgs.callPackage ./lix-doc/package.nix { };
# remove when we drop 23.11 support (which includes a version too old to know about fchmodat2) # FIXME remove when we have libsecomp 2.5.5 (currently in staging-23.11)
# see src/libstore/linux/fchmodat2-compat.hh libseccomp-nix = libseccomp.overrideAttrs (_: rec {
libseccomp-nix = version = "2.5.5";
assert lib.versionOlder (lib.getVersion libseccomp) "2.5.5"; src = fetchurl {
libseccomp.overrideAttrs (_: rec { url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz";
version = "2.5.5"; hash = "sha256-JIosik2bmFiqa69ScSw0r+/PnJ6Ut23OAsHJqiX7M3U=";
src = fetchurl { };
url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz"; });
hash = "sha256-JIosik2bmFiqa69ScSw0r+/PnJ6Ut23OAsHJqiX7M3U=";
};
});
}, },
}: }:
let let