Skip to content

Commit

Permalink
nix: move typhon-webapp/npm-nix/ to nix/
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Oct 17, 2023
1 parent 4f9d6d3 commit a8f52ae
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nix/packages/webapp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
};

nodeDependencies =
(pkgs.callPackage ../../typhon-webapp/npm-nix {}).nodeDependencies;
(pkgs.callPackage webapp/npm-nix {}).nodeDependencies;
in
craneLib.buildTrunkPackage {
inherit
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
name = "typhon-webapp";
packageName = "typhon-webapp";
version = "0.0.1";
src = ./..;
src = ../../../../typhon-webapp;
dependencies = [
sources."@fontsource/roboto-4.5.8"
sources."@fontsource/roboto-mono-4.5.10"
Expand Down
6 changes: 6 additions & 0 deletions nix/packages/webapp/npm-nix/regenerate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
root="../../../.."
nix run 'nixpkgs#nodePackages.node2nix' -- \
--input "$root/typhon-webapp/package.json" \
-l "$root/typhon-webapp/package-lock.json"
nix run 'nixpkgs#alejandra' -- .
2 changes: 0 additions & 2 deletions typhon-webapp/npm-nix/regenerate.sh

This file was deleted.

0 comments on commit a8f52ae

Please sign in to comment.