Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
1.0 KiB
Nix

{
cmake,
fetchFromGitHub,
lib,
stdenv,
storeDir ? builtins.storeDir,
spdlog,
yaml-cpp,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ld-audit-search-mod";
version = "0-unstable-2025-06-19";
src = fetchFromGitHub {
repo = "ld-audit-search-mod";
owner = "DDoSolitary";
rev = "261f475f154d0f1f0766d6756af9c714eeeb14ea";
hash = "sha256-c6ub+m4ihIE3gh6yHtLfJIVqm12C46wThrBCqp8SOLE=";
sparseCheckout = [ "src" ];
};
sourceRoot = "${finalAttrs.src.name}/src";
buildInputs = [
spdlog
yaml-cpp
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [
(lib.cmakeFeature "NIX_RTLD_NAME" (baseNameOf stdenv.cc.bintools.dynamicLinker))
(lib.cmakeFeature "NIX_STORE_DIR" storeDir)
];
meta = {
inherit (finalAttrs.src.meta) homepage;
description = "Audit module that modifies ld.so library search behavior";
license = lib.licenses.mit;
maintainers = [
lib.maintainers.atry
lib.maintainers.DDoSolitary
];
platforms = lib.platforms.linux;
};
})