1

move e11sync-static-manifest to e11sync-static

This commit is contained in:
2024-01-17 10:45:16 +02:00
parent 35f1d8a4fb
commit 450419d431
3 changed files with 10 additions and 15 deletions

View File

@@ -1,10 +0,0 @@
{
runCommand,
e11sync-static,
}:
runCommand "e11sync-static-manifest" {
nativeBuildInputs = [e11sync-static];
} ''
mkdir -p $out/CACHE
cp ${e11sync-static}/CACHE/manifest.json $out/CACHE/
''

View File

@@ -1,5 +1,6 @@
{
stdenv,
runCommand,
python3Packages,
coreutils,
zopfli,
@@ -7,6 +8,7 @@
findutils,
dart-sass,
gawk,
e11sync-static,
}:
stdenv.mkDerivation {
name = "e11sync-static";
@@ -35,4 +37,9 @@ stdenv.mkDerivation {
${findutils}/bin/xargs -P''$(${coreutils}/bin/nproc) -I{} $SHELL -c {}
'';
installPhase = ''mv static $out'';
passthru.manifest = runCommand "e11sync-static-manifest" {} ''
mkdir -p $out/CACHE
cp ${e11sync-static}/CACHE/manifest.json $out/CACHE/
'';
}