mirror of
https://github.com/go-vikunja/website.git
synced 2026-02-25 06:23:51 +00:00
18 lines
483 B
Nix
18 lines
483 B
Nix
{ pkgs, inputs, ... }:
|
|
|
|
let
|
|
unstable = import inputs.unstable { system = pkgs.stdenv.system; };
|
|
in {
|
|
scripts.patch-workerd.exec = ''
|
|
find node_modules/.pnpm/@cloudflare+workerd-linux-64@*/node_modules/@cloudflare/workerd-linux-64/bin/ -name workerd -print0 | xargs -I {} -0 patchelf --set-interpreter "$(<$NIX_CC/nix-support/dynamic-linker)" {}
|
|
'';
|
|
|
|
languages.javascript = {
|
|
enable = true;
|
|
pnpm = {
|
|
enable = true;
|
|
package = unstable.pnpm;
|
|
};
|
|
};
|
|
}
|