Skip to content

Commit

Permalink
Update nixpkgs, format inputs as a block
Browse files Browse the repository at this point in the history
  • Loading branch information
TheArcaneBrony committed Feb 19, 2024
1 parent fb2f1ff commit c71708e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
12 changes: 6 additions & 6 deletions flake.lock

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

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

inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem flake-utils.lib.allSystems (system:
Expand All @@ -16,7 +18,7 @@
src = ./.;
name = "spacebar-server-ts";
nativeBuildInputs = with pkgs; [ python3 ];
npmDepsHash = "sha256-sjKGxaSPm/Uzi8viOySNhEY122GUdFRGZuyyVMVqCtY=";
npmDepsHash = "sha256-fuW15WgfDaKPVDQx8OhRAa253J+SQDUr35rKt42KsTc=";
makeCacheWritable = true;
postPatch = ''
substituteInPlace package.json --replace 'npx patch-package' '${pkgs.nodePackages.patch-package}/bin/patch-package'
Expand Down

0 comments on commit c71708e

Please sign in to comment.