Skip to content

Commit

Permalink
Rebase and update inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheArcaneBrony committed Jun 3, 2023
1 parent d801304 commit 9e99df8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
description = "Spacebar server, written in Typescript.";

#inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.nixpkgs.url = "github:lilyinstarlight/nixpkgs/unheck/nodejs";
#inputs.nixpkgs.url = "github:lilyinstarlight/nixpkgs/unheck/nodejs";

outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem flake-utils.lib.allSystems (system:
Expand All @@ -14,11 +14,11 @@
in rec {
packages.default = pkgs.buildNpmPackage {
pname = "spacebar-server-ts";
meta.mainProgram = "start-bundle";
src = ./.;
name = "spacebar-server-ts";
nativeBuildInputs = with pkgs; [ python3 ];
npmDepsHash = "sha256-WYPSYfKHK2Cq02lOl8w8A1TUSnliw06Kq4YocuuIfms=";
#dontNpmBuild = true;
makeCacheWritable = true;
postPatch = ''
substituteInPlace package.json --replace 'npx patch-package' '${pkgs.nodePackages.patch-package}/bin/patch-package'
Expand Down
3 changes: 1 addition & 2 deletions flake.template.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
description = "Spacebar server, written in Typescript.";

#inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.nixpkgs.url = "github:lilyinstarlight/nixpkgs/unheck/nodejs";

outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem flake-utils.lib.allSystems (system:
Expand Down

0 comments on commit 9e99df8

Please sign in to comment.