mirror of
https://codeberg.org/muon/home.git
synced 2026-07-03 23:49:35 +00:00
Update nix
This commit is contained in:
parent
921fa62621
commit
89896cdaee
2 changed files with 59 additions and 59 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
nodejs_20,
|
||||
nodejs_22,
|
||||
makeWrapper,
|
||||
sources,
|
||||
}:
|
||||
|
|
@ -11,7 +11,7 @@ buildNpmPackage {
|
|||
version = "${sources.auth2api.version}-thinking3";
|
||||
src = sources.auth2api.src;
|
||||
|
||||
nodejs = nodejs_20;
|
||||
nodejs = nodejs_22;
|
||||
|
||||
npmDepsHash = "sha256-lHwY5MQ0nRoOPcURzmJCiXiUxEx9ZwZJSWKbkD4ZuIA=";
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ buildNpmPackage {
|
|||
# buildNpmPackage installs the package under $out/lib/node_modules/auth2api/.
|
||||
# Wire up a $out/bin/auth2api wrapper pointing at the compiled entry-point.
|
||||
postInstall = ''
|
||||
makeWrapper ${nodejs_20}/bin/node $out/bin/auth2api \
|
||||
makeWrapper ${nodejs_22}/bin/node $out/bin/auth2api \
|
||||
--add-flags "$out/lib/node_modules/auth2api/dist/index.js"
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue