mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 18:14:11 +02:00
add app data
This commit is contained in:
parent
09f6ac6f47
commit
bc0bcf936c
10 changed files with 201 additions and 33 deletions
|
|
@ -10,8 +10,9 @@
|
|||
mode ? "json",
|
||||
}: let
|
||||
ext = if mode == "rust" then "rs" else "json";
|
||||
cleanedMajor = builtins.replaceStrings ["."] ["_"] major;
|
||||
in stdenvNoCC.mkDerivation rec {
|
||||
pname = "extractor-logs-${name}-${major}";
|
||||
pname = "extractor-logs-${name}-${cleanedMajor}";
|
||||
inherit version;
|
||||
|
||||
src = fetchzip {
|
||||
|
|
@ -26,6 +27,6 @@ in stdenvNoCC.mkDerivation rec {
|
|||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp logs.* $out/${name}_${major}.${ext}
|
||||
cp logs.* $out/${name}_${cleanedMajor}.${ext}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue