Skip to content

Commit

Permalink
Flake.nix: remove unneded buildInput
Browse files Browse the repository at this point in the history
  • Loading branch information
hsjobeki committed Jun 28, 2024
1 parent e3e64bf commit 9a5edc6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,12 @@ rec {
# i.e. Astro plugin that it must find for formatting to work for 'astro' files
nodeModules = pkgs.buildNpmPackage {
name = "node_modules";

src = ./.;
dontNpmBuild = true;

buildInputs = [ pkgs.nodejs ];

npmDeps = pkgs.fetchNpmDeps {
src = ./.;
hash = "sha256-sLPKoDvsLmiFTDPceu4QlyTYskxGAHUYPnBnBR6TxVw=";
};


installPhase = ''
cp -r node_modules $out
'';
Expand Down

0 comments on commit 9a5edc6

Please sign in to comment.