e11-static: contain e11sync-static
TODO: learn about `lib.makeScope`.
This commit is contained in:
parent
450419d431
commit
33d6c66029
@ -53,9 +53,7 @@
|
||||
inherit geoip2-tarball;
|
||||
};
|
||||
|
||||
e11sync-static = pkgs.callPackage ./pkgs/e11sync-static.nix {
|
||||
inherit e11sync-static;
|
||||
};
|
||||
e11sync-static = pkgs.callPackage ./pkgs/e11sync-static.nix {};
|
||||
|
||||
e11sync-frontend = pkgs.callPackage ./pkgs/e11sync-frontend.nix {
|
||||
inherit e11sync-static;
|
||||
|
@ -8,9 +8,8 @@
|
||||
findutils,
|
||||
dart-sass,
|
||||
gawk,
|
||||
e11sync-static,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
}: let
|
||||
self = stdenv.mkDerivation {
|
||||
name = "e11sync-static";
|
||||
src = ../app;
|
||||
nativeBuildInputs = [
|
||||
@ -40,6 +39,8 @@ stdenv.mkDerivation {
|
||||
|
||||
passthru.manifest = runCommand "e11sync-static-manifest" {} ''
|
||||
mkdir -p $out/CACHE
|
||||
cp ${e11sync-static}/CACHE/manifest.json $out/CACHE/
|
||||
cp ${self}/CACHE/manifest.json $out/CACHE/
|
||||
'';
|
||||
}
|
||||
};
|
||||
in
|
||||
self
|
||||
|
Loading…
Reference in New Issue
Block a user