mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
committed by
github-actions[bot]
parent
5296977270
commit
dd571fa393
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
makeBinaryWrapper,
|
||||
nodejs_24,
|
||||
nodejs_26,
|
||||
matrix-sdk-crypto-nodejs,
|
||||
python3,
|
||||
sqlite,
|
||||
@@ -16,7 +16,7 @@
|
||||
fetchpatch2,
|
||||
}:
|
||||
let
|
||||
nodeSources = srcOnly nodejs_24;
|
||||
nodeSources = srcOnly nodejs_26;
|
||||
in
|
||||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
@@ -81,7 +81,7 @@ buildNpmPackage (finalAttrs: {
|
||||
rm $out/lib/node_modules/draupnir/node_modules/draupnir
|
||||
|
||||
# Create wrapper executable
|
||||
makeWrapper ${lib.getExe nodejs_24} $out/bin/draupnir \
|
||||
makeWrapper ${lib.getExe nodejs_26} $out/bin/draupnir \
|
||||
--add-flags "--enable-source-maps" \
|
||||
--add-flags "$out/lib/node_modules/draupnir/dist/index.js"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user