From 402758f0494c2e4826605b36a93bbbe703db9cbd Mon Sep 17 00:00:00 2001 From: yuuko Date: Fri, 30 Aug 2024 21:14:22 -0700 Subject: add sourcemodWithPackages, fix plugin build --- srcds-pkgs/mkdepot.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'srcds-pkgs/mkdepot.nix') diff --git a/srcds-pkgs/mkdepot.nix b/srcds-pkgs/mkdepot.nix index 8c1acaa..26d364b 100644 --- a/srcds-pkgs/mkdepot.nix +++ b/srcds-pkgs/mkdepot.nix @@ -1,5 +1,8 @@ { lib, runCommand, fetchDepotFile }: -name: caches: ps: +{ name +, caches +, postScript ? "" +}: with lib; let emitStep = { FileName, Flags, Chunks, ... }@file: @@ -15,5 +18,5 @@ let in concatMapStrings mkStep (importJSON json).Files; in runCommand name {} '' ${concatMapStringsSep "\n" emitManifest caches} - ${ps} + ${postScript} '' -- cgit v1.2.3