This bump nixpkgs input to 25.11 and fix the two warnings that were coming with the update: 1. `pkgs.system` => `pkgs.stdenv.hostPlatform.system` 2. `runCommandNoCC` => `runCommand` also: 1. remove cppnix 2.3 compat tests (cppnix 2.3 is officially dead now) 2. remove lowdown 1.3 compat tests (nixpkgs no longer carries it) Co-authored-by: Tom Hubrecht <github@mail.hubrecht.ovh> Change-Id: I78526b5d8992a6c63ecd7f0c7c1fa6346a6a6964
17 lines
389 B
Nix
17 lines
389 B
Nix
{
|
|
runCommand,
|
|
lib,
|
|
libseccomp,
|
|
writeShellScriptBin,
|
|
}:
|
|
let
|
|
syscalls-csv = runCommand "syscalls.csv" { } ''
|
|
echo ${lib.escapeShellArg libseccomp.src}
|
|
tar -xf ${lib.escapeShellArg libseccomp.src} --strip-components=2 ${libseccomp.name}/src/syscalls.csv
|
|
mv syscalls.csv "$out"
|
|
'';
|
|
in
|
|
writeShellScriptBin "check-syscalls" ''
|
|
${./check-syscalls.sh} ${syscalls-csv}
|
|
''
|