Bluesky app fork with some witchin' additions 馃挮
witchsky.app
bluesky
fork
1# this doesn't work lol. sad!
2{
3 lib,
4 stdenv,
5 fetchYarnDeps,
6 yarnConfigHook,
7 yarnBuildHook,
8 yarnInstallHook,
9 nodejs,
10}:
11let
12 package_json = lib.importJSON ./package.json;
13in
14stdenv.mkDerivation (finalAttrs: {
15 pname = package_json.name;
16 version = package_json.version;
17
18 src = ./.;
19
20 yarnOfflineCache = fetchYarnDeps {
21 yarnLock = finalAttrs.src + "/yarn.lock";
22 hash = "sha256-nuUPWMN6FKFoHOpI/nbM9Uw3Ng6BKcjXaQ38LBAzN1A=";
23 };
24
25 nativeBuildInputs = [
26 yarnConfigHook
27 yarnBuildHook
28 yarnInstallHook
29 nodejs
30 ];
31
32 meta = {
33 # ...
34 };
35})