package: remove assert for libseccomp version
This has the following downsides:
* you cannot build Lix against nixos-unstable.
* this will immediately break as soon as libseccomp will hit
nixos-23.11 (given that people will probably use the package.nix via
our overlay or override nixpkgs via `follows`).
Hence, removing the assert again and add a better FIXME comment.
Change-Id: I284e10cf08e1873fef70ed869a1638aa89792422
This commit is contained in:
parent
79d0ae6670
commit
3580a4b7bf
|
@ -85,11 +85,8 @@
|
||||||
|
|
||||||
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 =
|
|
||||||
assert lib.versionOlder (lib.getVersion libseccomp) "2.5.5";
|
|
||||||
libseccomp.overrideAttrs (_: rec {
|
|
||||||
version = "2.5.5";
|
version = "2.5.5";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz";
|
url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz";
|
||||||
|
|
Loading…
Reference in a new issue