mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
fix: 💚 Fix the Nix build, remove dependency on PNPM
This commit is contained in:
parent
30bb801f9f
commit
eb096c5991
8 changed files with 71 additions and 6899 deletions
15
flake.nix
15
flake.nix
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixpkgs-bun.url = "github:0xdsqr/nixpkgs/add-bun-support";
|
||||
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
|
@ -11,21 +10,14 @@
|
|||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-bun,
|
||||
flake-utils,
|
||||
...
|
||||
}:
|
||||
{
|
||||
overlays.default = final: prev: rec {
|
||||
versia-server = final.callPackage ./nix/package.nix {
|
||||
inherit
|
||||
(nixpkgs-bun.legacyPackages.x86_64-linux)
|
||||
fetchBunDeps
|
||||
bunConfigHook
|
||||
bunInstallHook
|
||||
bunBuildHook
|
||||
;
|
||||
};
|
||||
versia-server =
|
||||
final.callPackage ./nix/package.nix {
|
||||
};
|
||||
versia-server-worker = final.callPackage ./nix/package-worker.nix {
|
||||
inherit versia-server;
|
||||
};
|
||||
|
|
@ -64,7 +56,6 @@
|
|||
buildInputs = with pkgs; [
|
||||
bun
|
||||
vips
|
||||
pnpm
|
||||
nodePackages.typescript
|
||||
nodePackages.typescript-language-server
|
||||
nix-ld
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue