automoddddd yeyyyyy
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix pnpm

+19 -10
+2 -1
.gitignore
··· 1 1 node_modules 2 - .env 2 + .env 3 + result
+17 -9
default.nix
··· 1 1 { 2 2 lib, 3 - buildNpmPackage, 3 + stdenv, 4 4 fetchPnpmDeps, 5 5 nodejs_22, 6 6 pnpm_10, 7 7 pnpmConfigHook, 8 8 }: 9 - buildNpmPackage (finalAttrs: { 9 + stdenv.mkDerivation (finalAttrs: { 10 10 pname = "automod"; 11 11 version = "0.0.0"; 12 12 13 13 src = ./.; 14 14 15 - npmDeps = null; 16 15 pnpmDeps = fetchPnpmDeps { 17 16 inherit (finalAttrs) 18 17 pname ··· 24 23 hash = "sha256-rb7Y4rbeIRy+9tzKliSmrCPY+nwgcf52lXjuOyBdTaA="; 25 24 }; 26 25 27 - nativeBuildInputs = [ pnpm_10 ]; 28 - npmConfigHook = pnpmConfigHook; 29 - nodejs = nodejs_22; 26 + nativeBuildInputs = [ 27 + pnpm_10 28 + pnpmConfigHook 29 + ]; 30 30 31 - dontNpmInstall = true; 32 - dontNpmBuild = true; 31 + dontBuild = true; 32 + 33 + installPhase = '' 34 + runHook preInstall 35 + 36 + mkdir -p $out/lib/node_modules/automod $out/bin 37 + cp -r package.json src node_modules $out/lib/node_modules/automod/ 38 + 39 + runHook postInstall 40 + ''; 33 41 34 42 meta = { 35 43 license = lib.licenses.mit; 36 - mainProgram = "src/index.ts"; 44 + mainProgram = "automod"; 37 45 }; 38 46 })