move e11sync-static-manifest to e11sync-static
This commit is contained in:
@@ -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/
|
||||
''
|
||||
@@ -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/
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user