Add API keys to home.nix and update session variables
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
{ lib, nodejs, pkgs, buildNpmPackage, fetchFromGitHub }:
|
||||
buildNpmPackage rec {
|
||||
pname = "react-doctor";
|
||||
version = "0.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "millionco";
|
||||
repo = "react-doctor";
|
||||
rev = "0.0.1";
|
||||
hash = "sha256-T8szJcXeqIWmZQU/D4KpeFU1ZXilThL5JBmw2Y0hZkw=";
|
||||
};
|
||||
|
||||
npmDepsHash = lib.fakeHash;
|
||||
|
||||
# CRITICAL: Generate package-lock.json during build
|
||||
postPatch = ''
|
||||
cd $sourceRoot
|
||||
npm install --package-lock-only --no-audit --progress=false
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Let coding agents diagnose and fix your React code";
|
||||
homepage = "https://github.com/millionco/react-doctor";
|
||||
license = licenses.mit;
|
||||
mainProgram = "react-doctor";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user