Open gracicot opened 2 years ago
I have a node-packages.json with the following content: ["run-rs", "kerberos"].
node-packages.json
["run-rs", "kerberos"]
I ran node2nix -i node-packages.json, then ran nix-env -f default.nix -iA '"run-rs"' and got this output:
node2nix -i node-packages.json
nix-env -f default.nix -iA '"run-rs"'
❯ nix-env -f default.nix -iA '"run-rs"' installing 'run-rs-0.7.6' this derivation will be built: /nix/store/nci9lap050r2fdm6xa0vjy3g4h37gpm2-run-rs-0.7.6.drv building '/nix/store/nci9lap050r2fdm6xa0vjy3g4h37gpm2-run-rs-0.7.6.drv'... unpacking sources patching sources configuring no configure script, doing nothing building installing unpacking source archive /nix/store/62z360kh67pk63bv05p15ghf400ravrr-run-rs-0.7.6.tgz unpacking source archive /nix/store/m65bbbnd9d2yhdrvxhbksxmryy85d5ik-ansi-regex-2.1.1.tgz unpacking source archive /nix/store/03kmg89247yjd52b2c4jhsm37rs703rn-ansi-styles-3.2.1.tgz unpacking source archive /nix/store/xg3r2g2h86vbg93wx5qghx5m215kjzxx-aproba-1.2.0.tgz unpacking source archive /nix/store/cvw2cs3cs0vhcwd609vyghkrnhr07cyl-are-we-there-yet-1.1.7.tgz unpacking source archive /nix/store/mwgc2dnzgxn3k69qabji5yd8vjhigzz6-balanced-match-1.0.2.tgz unpacking source archive /nix/store/49p15n3wx2lcvnyw9v4haq9hgawx4gjs-base64-js-1.5.1.tgz unpacking source archive /nix/store/q58km90qcdy9fajq62a2xfa6lp6v5rbl-bindings-1.5.0.tgz unpacking source archive /nix/store/mbd2d6cnxwp9slja8f05m45qfh1v05rb-bl-2.2.1.tgz unpacking source archive /nix/store/y707i04pms9iczmzgk8pahqv9y1c8j9g-bluebird-3.7.2.tgz unpacking source archive /nix/store/x5jga3jrdl6cprja3w53cd3jrss6w28w-brace-expansion-1.1.11.tgz unpacking source archive /nix/store/v8yszh89q9x1wk1dp4az474syi3wfs99-bson-1.1.6.tgz unpacking source archive /nix/store/hvy7brijhdgqf4z21rsihjm92bki3kcp-buffer-5.7.1.tgz unpacking source archive /nix/store/1hli20lny3qilsg57m0lsnci1yd0jxj1-chalk-2.4.1.tgz unpacking source archive /nix/store/vj1v87s5cg5xdg1jph0lg8khl8pbj778-chownr-1.1.4.tgz unpacking source archive /nix/store/92fsvlnkb5i0ka64mlkkji9b9qyw56dv-co-4.6.0.tgz unpacking source archive /nix/store/2dkbwk84hxsqkjx0sj6sg2f828dymn7m-code-point-at-1.1.0.tgz unpacking source archive /nix/store/5hkvvgzr3vmwq1c8fsdhbabnyymk0gds-color-convert-1.9.3.tgz unpacking source archive /nix/store/2jnhbp500dvwr0r6017s4zxs8l368sfl-color-name-1.1.3.tgz unpacking source archive /nix/store/25sxkx913fkd5ip5pab7aw4yy3knmc57-colors-1.4.0.tgz unpacking source archive /nix/store/bxh3rk43kbvsw0ihy7g51lylz91ylkm6-commander-2.15.1.tgz unpacking source archive /nix/store/v538mdl3px04xxhxjxkz2v9sq2psdna9-concat-map-0.0.1.tgz unpacking source archive /nix/store/0gx128x4cairqjybad8mzv351yi6zl83-console-control-strings-1.1.0.tgz unpacking source archive /nix/store/470ndadv00v1zkzqfdjkc3bbzzqxin6z-core-util-is-1.0.3.tgz unpacking source archive /nix/store/jyr0jzg6bycbfkq0x04yc95i489x8pb6-decompress-response-4.2.1.tgz unpacking source archive /nix/store/xfanygpw7lp4c7dlaprq7rrf6bnyl7p1-deep-extend-0.6.0.tgz unpacking source archive /nix/store/6305p3iwqwzc32wsi0g3xk6x1ki6w89f-delegates-1.0.0.tgz unpacking source archive /nix/store/kfm1wrxf9a6wci7yw3d0dl63vq9f4w31-denque-1.5.1.tgz unpacking source archive /nix/store/bn3v2kbdbz2q8bpnqi114vjx5q80sfdn-detect-libc-1.0.3.tgz unpacking source archive /nix/store/ksfdj542fcgpghrc26idiha2dm45qc0b-end-of-stream-1.4.4.tgz unpacking source archive /nix/store/xfirwlc3qbp3437fsdlqy7j1nyjg68ab-escape-string-regexp-1.0.5.tgz unpacking source archive /nix/store/nfqkwyj7vvrsb935s2f0g8npzsx1dbr8-expand-template-2.0.3.tgz unpacking source archive /nix/store/g163wnwdxw8iwb5mjwwh9isy68cpzlws-file-uri-to-path-1.0.0.tgz unpacking source archive /nix/store/bdg1jbimw044k1n6wcr8acn0b2kd94sa-fs-constants-1.0.0.tgz unpacking source archive /nix/store/ba8x7lli4r1aby1925daq01i9i9s8b32-fs.realpath-1.0.0.tgz unpacking source archive /nix/store/lxppif8nxpwwgkpb0zz747k4vpfxy4fn-gauge-2.7.4.tgz unpacking source archive /nix/store/v7pgzl37rmh735r2ksascvzbndcf3bhb-github-from-package-0.0.0.tgz unpacking source archive /nix/store/n40j7abslkjnz8hvxmkpn0a8jlay53sr-glob-7.2.0.tgz unpacking source archive /nix/store/yl7c2kh37v2c7vw8hmiiglgjh5pg770d-has-flag-3.0.0.tgz unpacking source archive /nix/store/avk9dk25vygk0v8jmkhans8dc9svagc9-has-unicode-2.0.1.tgz unpacking source archive /nix/store/6mkahal7s96ajdm85nw2kdd0yrn423ks-ieee754-1.2.1.tgz unpacking source archive /nix/store/m5b3lxagv9x67kwz3mp0bfjpxi27ww57-inflight-1.0.6.tgz unpacking source archive /nix/store/azvzr4mg5gc3av5b7jr3wzs20ldjrkxz-inherits-2.0.4.tgz unpacking source archive /nix/store/2v0x126ysis5fgq1m9z34n6mfvxkn3vy-ini-1.3.8.tgz unpacking source archive /nix/store/9p2wzfiin11k8shmhyqmzab3cy3w9qkl-is-fullwidth-code-point-1.0.0.tgz unpacking source archive /nix/store/mxcs504nxhjx3hyjb63z0cfswh85r5k9-isarray-1.0.0.tgz unpacking source archive /nix/store/2vb21nh93sdchxd1z1szaypfydppb8w2-kerberos-1.1.7.tgz unpacking source archive /nix/store/ikfjmn9f0c1ilnc8fhcshl3x492mmq3c-memory-pager-1.5.0.tgz unpacking source archive /nix/store/5n30fhklgwwxfv59klp11hvdw8d0z4rn-mimic-response-2.1.0.tgz unpacking source archive /nix/store/9xm69v2r4kddrkdv7q8if4c4jyhpra0w-minimatch-3.0.4.tgz unpacking source archive /nix/store/a7q03i4w91sq8jrlbq7c7jcr36mxk5y6-minimist-1.2.5.tgz unpacking source archive /nix/store/gn2lywnsvwk4yhganypsdrlk6ix47qf6-mkdirp-0.5.5.tgz unpacking source archive /nix/store/0jmi1072ihrmhjzj08y2687y8snwpjsh-mkdirp-classic-0.5.3.tgz unpacking source archive /nix/store/bcpd67gcdr7ndk0js0xavkacwkk9h86f-moment-2.22.2.tgz unpacking source archive /nix/store/chdnasyy55kmcbcaflm7w1pmsq8b6kyz-mongodb-3.6.12.tgz unpacking source archive /nix/store/i2a694bwhg2fvmzccvf6jzn6hqisp9k8-mongodb-core-3.2.7.tgz unpacking source archive /nix/store/2ivdzf3jsp72qvdh2nkk95byjbws3xjk-mongodb-topology-manager-2.1.0.tgz unpacking source archive /nix/store/x9hpybvnh47fl8r0qcb1vwbdh6a0l0m6-nan-2.15.0.tgz unpacking source archive /nix/store/m5p31b7gv9cppd8va0rq780knpym2pf7-napi-build-utils-1.0.2.tgz unpacking source archive /nix/store/3sf3sjh1bhmpx8dq5z9qbzngxxahsmwz-node-abi-2.30.1.tgz unpacking source archive /nix/store/m9xrawb4dwsz0l5r87i5h39sg5c18hpl-noop-logger-0.1.1.tgz unpacking source archive /nix/store/w7cmdggngxvpnnkmchhkrja345p0895a-npmlog-4.1.2.tgz unpacking source archive /nix/store/83zwk28al8ww5ghcq8dzx5b2gbb1h2y8-number-is-nan-1.0.1.tgz unpacking source archive /nix/store/qz6hsjrr7x7c531a4s4kv95zs3g3wpjk-object-assign-4.1.1.tgz unpacking source archive /nix/store/99vx2fb0np7kj6kk2srccv8lh5fgqsx6-once-1.4.0.tgz unpacking source archive /nix/store/bak2fsgrpdz2ah3dk5m017kjd04w12gj-optional-require-1.1.8.tgz unpacking source archive /nix/store/c9w6bjbsqfvchm7l6xbs30lhak7pp1jh-path-is-absolute-1.0.1.tgz unpacking source archive /nix/store/d3i2dk8yrvhdcg21rnaqsx6wcl0k1wbk-prebuild-install-6.1.2.tgz unpacking source archive /nix/store/k58cfqxpfx4i4r1cqapw0x5bz03rshdc-prettyjson-1.2.2.tgz unpacking source archive /nix/store/cqb735d0x1imja100fk540rjdks3gva1-process-nextick-args-2.0.1.tgz unpacking source archive /nix/store/hndnjzv46c44irlafhz6k3i4ldh176cf-pump-3.0.0.tgz unpacking source archive /nix/store/z0dpj3cdfbxwmpl4y32n680ygn8kihqz-rc-1.2.8.tgz unpacking source archive /nix/store/5par4h9y4c0ck9irv8hh3196m8w1n3nj-readable-stream-2.3.7.tgz unpacking source archive /nix/store/aazscwmbmx7n91nx2rr118iq4a0a6h9v-safe-buffer-5.1.2.tgz unpacking source archive /nix/store/w0qk86j0nqrz405ar2087mij019526zp-require-at-1.0.6.tgz unpacking source archive /nix/store/jvzrkg87a4385sgl3wfk8advd854knff-require_optional-1.0.1.tgz unpacking source archive /nix/store/ja1ipqxralxxm76c4k3xadypcy1kwdj4-resolve-from-2.0.0.tgz unpacking source archive /nix/store/49kqql1h5njvh7cmlsyrnrl6ljqnjy1q-rimraf-2.7.1.tgz unpacking source archive /nix/store/9cnrb44a4pgbfjpnc9v1045972vnndmw-safe-buffer-5.2.1.tgz unpacking source archive /nix/store/g6r7z3fh3np18s1y7qxmwhyd5hyc7mgf-saslprep-1.0.3.tgz unpacking source archive /nix/store/gll14kwxsz9ggfhngafafh64rv4a02fr-semver-5.7.1.tgz unpacking source archive /nix/store/sjqck3fv26i35yv035iq3yjcfhd3lwyk-set-blocking-2.0.0.tgz unpacking source archive /nix/store/xr8yik18iz7kwsligvwlsr1vy6x0gg2y-signal-exit-3.0.6.tgz unpacking source archive /nix/store/8wplvn8b51rvm3d7ngn78vscdn1cpn4c-simple-concat-1.0.1.tgz unpacking source archive /nix/store/bcvwjwg1zbngvjv57nkppv5kkjh4xfvl-simple-get-3.1.0.tgz unpacking source archive /nix/store/15cfzqvrbl9z5gn7x5ibvfyf1a957n1s-sparse-bitfield-3.0.3.tgz unpacking source archive /nix/store/1jck18q560xam2sjpk4z8c55myci7ah0-string-width-1.0.2.tgz unpacking source archive /nix/store/hkdfsf6gmzslax6v0izh15aw9s6kw2zm-string_decoder-1.1.1.tgz unpacking source archive /nix/store/aazscwmbmx7n91nx2rr118iq4a0a6h9v-safe-buffer-5.1.2.tgz unpacking source archive /nix/store/37b62b693d5d0ds793hz13hnh051rbhv-strip-ansi-3.0.1.tgz unpacking source archive /nix/store/p3m1kn6hyinns1p9g95mz74q9hbjqk2k-strip-json-comments-2.0.1.tgz unpacking source archive /nix/store/rqnp3mxxf03pnvnm7rd7vkz04gqmki3h-supports-color-5.5.0.tgz unpacking source archive /nix/store/bvh0ahz6rhmvi3cqdd58hgmmp3v0pqbq-tar-fs-2.1.1.tgz unpacking source archive /nix/store/rdbhr9j8f92g31nj0mwr2wa16ph28f38-tar-stream-2.2.0.tgz unpacking source archive /nix/store/i4r2n3vac6lp7dl9j3v79h2z39ngqkv6-bl-4.1.0.tgz unpacking source archive /nix/store/hgjvy0whzfgpr99jal6fp1cvw5amw3q4-readable-stream-3.6.0.tgz unpacking source archive /nix/store/s1dyvar6kxm4gdkn6wm4lv8y5vha4yyq-tunnel-agent-0.6.0.tgz unpacking source archive /nix/store/35w0c1f0rw19x6p1b4b9lvbc3x23w8cs-util-deprecate-1.0.2.tgz unpacking source archive /nix/store/2vr0g7xlj0a79kw7jrvdhh0m8f0ql5ns-wide-align-1.1.5.tgz unpacking source archive /nix/store/wa4iwdsy5dsa4fpgkmfb3wbkln886im5-wrappy-1.0.2.tgz pinpointing versions of dependencies... patching script interpreter paths in . ./run-rs/node_modules/kerberos/.evergreen/run-tests.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/z6rd8wq02azalrlm2m5k08iy53klg624-bash-5.1-p12/bin/bash" ./run-rs/node_modules/kerberos/.evergreen/run-tests-ubuntu.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/z6rd8wq02azalrlm2m5k08iy53klg624-bash-5.1-p12/bin/bash" ./run-rs/node_modules/kerberos/.evergreen/run-prebuild.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/z6rd8wq02azalrlm2m5k08iy53klg624-bash-5.1-p12/bin/bash" ./run-rs/node_modules/rimraf/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" ./run-rs/node_modules/detect-libc/bin/detect-libc.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" ./run-rs/node_modules/nan/tools/1to2.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" ./run-rs/node_modules/semver/bin/semver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" ./run-rs/node_modules/prettyjson/bin/prettyjson: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" ./run-rs/node_modules/rc/cli.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" ./run-rs/node_modules/mkdirp/bin/cmd.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" ./run-rs/index.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" No package-lock.json file found, reconstructing... Adding metadata fields to: node_modules/ansi-regex/package.json Adding metadata fields to: node_modules/ansi-styles/package.json Adding metadata fields to: node_modules/aproba/package.json Adding metadata fields to: node_modules/are-we-there-yet/package.json Adding metadata fields to: node_modules/balanced-match/package.json Adding metadata fields to: node_modules/base64-js/package.json Adding metadata fields to: node_modules/bindings/package.json Adding metadata fields to: node_modules/bl/package.json Adding metadata fields to: node_modules/bluebird/package.json Adding metadata fields to: node_modules/brace-expansion/package.json Adding metadata fields to: node_modules/bson/package.json Adding metadata fields to: node_modules/buffer/package.json Adding metadata fields to: node_modules/chalk/package.json Adding metadata fields to: node_modules/chownr/package.json Adding metadata fields to: node_modules/co/package.json Adding metadata fields to: node_modules/code-point-at/package.json Adding metadata fields to: node_modules/color-convert/package.json Adding metadata fields to: node_modules/color-name/package.json Adding metadata fields to: node_modules/colors/package.json Adding metadata fields to: node_modules/commander/package.json Adding metadata fields to: node_modules/concat-map/package.json Adding metadata fields to: node_modules/console-control-strings/package.json Adding metadata fields to: node_modules/core-util-is/package.json Adding metadata fields to: node_modules/decompress-response/package.json Adding metadata fields to: node_modules/deep-extend/package.json Adding metadata fields to: node_modules/delegates/package.json Adding metadata fields to: node_modules/denque/package.json Adding metadata fields to: node_modules/detect-libc/package.json Adding metadata fields to: node_modules/end-of-stream/package.json Adding metadata fields to: node_modules/escape-string-regexp/package.json Adding metadata fields to: node_modules/expand-template/package.json Adding metadata fields to: node_modules/file-uri-to-path/package.json Adding metadata fields to: node_modules/fs-constants/package.json Adding metadata fields to: node_modules/fs.realpath/package.json Adding metadata fields to: node_modules/gauge/package.json Adding metadata fields to: node_modules/github-from-package/package.json Adding metadata fields to: node_modules/glob/package.json Adding metadata fields to: node_modules/has-flag/package.json Adding metadata fields to: node_modules/has-unicode/package.json Adding metadata fields to: node_modules/ieee754/package.json Adding metadata fields to: node_modules/inflight/package.json Adding metadata fields to: node_modules/inherits/package.json Adding metadata fields to: node_modules/ini/package.json Adding metadata fields to: node_modules/is-fullwidth-code-point/package.json Adding metadata fields to: node_modules/isarray/package.json Adding metadata fields to: node_modules/kerberos/package.json Adding metadata fields to: node_modules/memory-pager/package.json Adding metadata fields to: node_modules/mimic-response/package.json Adding metadata fields to: node_modules/minimatch/package.json Adding metadata fields to: node_modules/minimist/package.json Adding metadata fields to: node_modules/mkdirp/package.json Adding metadata fields to: node_modules/mkdirp-classic/package.json Adding metadata fields to: node_modules/moment/package.json Adding metadata fields to: node_modules/mongodb/package.json Adding metadata fields to: node_modules/mongodb-core/package.json Adding metadata fields to: node_modules/mongodb-topology-manager/package.json Adding metadata fields to: node_modules/nan/package.json Adding metadata fields to: node_modules/napi-build-utils/package.json Adding metadata fields to: node_modules/node-abi/package.json Adding metadata fields to: node_modules/noop-logger/package.json Adding metadata fields to: node_modules/npmlog/package.json Adding metadata fields to: node_modules/number-is-nan/package.json Adding metadata fields to: node_modules/object-assign/package.json Adding metadata fields to: node_modules/once/package.json Adding metadata fields to: node_modules/optional-require/package.json Adding metadata fields to: node_modules/path-is-absolute/package.json Adding metadata fields to: node_modules/prebuild-install/package.json Adding metadata fields to: node_modules/prettyjson/package.json Adding metadata fields to: node_modules/process-nextick-args/package.json Adding metadata fields to: node_modules/pump/package.json Adding metadata fields to: node_modules/rc/package.json Adding metadata fields to: node_modules/readable-stream/package.json Adding metadata fields to: node_modules/readable-stream/node_modules/safe-buffer/package.json Adding metadata fields to: node_modules/require-at/package.json Adding metadata fields to: node_modules/require_optional/package.json Adding metadata fields to: node_modules/resolve-from/package.json Adding metadata fields to: node_modules/rimraf/package.json Adding metadata fields to: node_modules/safe-buffer/package.json Adding metadata fields to: node_modules/saslprep/package.json Adding metadata fields to: node_modules/semver/package.json Adding metadata fields to: node_modules/set-blocking/package.json Adding metadata fields to: node_modules/signal-exit/package.json Adding metadata fields to: node_modules/simple-concat/package.json Adding metadata fields to: node_modules/simple-get/package.json Adding metadata fields to: node_modules/sparse-bitfield/package.json Adding metadata fields to: node_modules/string-width/package.json Adding metadata fields to: node_modules/string_decoder/package.json Adding metadata fields to: node_modules/string_decoder/node_modules/safe-buffer/package.json Adding metadata fields to: node_modules/strip-ansi/package.json Adding metadata fields to: node_modules/strip-json-comments/package.json Adding metadata fields to: node_modules/supports-color/package.json Adding metadata fields to: node_modules/tar-fs/package.json Adding metadata fields to: node_modules/tar-stream/package.json Adding metadata fields to: node_modules/tar-stream/node_modules/bl/package.json Adding metadata fields to: node_modules/tar-stream/node_modules/readable-stream/package.json Adding metadata fields to: node_modules/tunnel-agent/package.json Adding metadata fields to: node_modules/util-deprecate/package.json Adding metadata fields to: node_modules/wide-align/package.json Adding metadata fields to: node_modules/wrappy/package.json > kerberos@1.1.7 install /nix/store/9m2rksgyy9b9av49zcq02jrwzw2n58xs-run-rs-0.7.6/lib/node_modules/run-rs/node_modules/kerberos > prebuild-install || node-gyp rebuild sh: line 1: prebuild-install: command not found make: Entering directory '/nix/store/9m2rksgyy9b9av49zcq02jrwzw2n58xs-run-rs-0.7.6/lib/node_modules/run-rs/node_modules/kerberos/build' CXX(target) Release/obj.target/kerberos/src/kerberos.o In file included from ../src/kerberos.cc:1: In file included from ../src/kerberos.h:5: In file included from ../src/kerberos_common.h:7: ../src/unix/kerberos_gss.h:21:14: fatal error: 'gssapi/gssapi.h' file not found #include <gssapi/gssapi.h> ^~~~~~~~~~~~~~~~~ 1 error generated. make: *** [kerberos.target.mk:130: Release/obj.target/kerberos/src/kerberos.o] Error 1 make: Leaving directory '/nix/store/9m2rksgyy9b9av49zcq02jrwzw2n58xs-run-rs-0.7.6/lib/node_modules/run-rs/node_modules/kerberos/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Darwin 20.6.0 gyp ERR! command "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /nix/store/9m2rksgyy9b9av49zcq02jrwzw2n58xs-run-rs-0.7.6/lib/node_modules/run-rs/node_modules/kerberos gyp ERR! node -v v12.22.9 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! kerberos@1.1.7 install: `prebuild-install || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the kerberos@1.1.7 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /private/tmp/nix-build-run-rs-0.7.6.drv-0/.npm/_logs/2022-01-31T20_12_54_465Z-debug.log error: builder for '/nix/store/nci9lap050r2fdm6xa0vjy3g4h37gpm2-run-rs-0.7.6.drv' failed with exit code 1; last 10 log lines: > npm ERR! errno 1 > npm ERR! kerberos@1.1.7 install: `prebuild-install || node-gyp rebuild` > npm ERR! Exit status 1 > npm ERR! > npm ERR! Failed at the kerberos@1.1.7 install script. > npm ERR! This is probably not a problem with npm. There is likely additional logging output above. > > npm ERR! A complete log of this run can be found in: > npm ERR! /private/tmp/nix-build-run-rs-0.7.6.drv-0/.npm/_logs/2022-01-31T20_12_54_465Z-debug.log > For full logs, run 'nix log /nix/store/nci9lap050r2fdm6xa0vjy3g4h37gpm2-run-rs-0.7.6.drv'.
It seems like prebuild-install is not found, but in reality it should be a no-op and let node-gyp rebuild to run instead.
prebuild-install
node-gyp rebuild
Strangely enough, I can install kerberos using nix-env -f default.nix -iA '"kerberos"':
kerberos
nix-env -f default.nix -iA '"kerberos"'
installing 'kerberos-1.1.7' this derivation will be built: /nix/store/bdjv3rfgcal14lnmv1fqvmab3cds8sf3-kerberos-1.1.7.drv building '/nix/store/bdjv3rfgcal14lnmv1fqvmab3cds8sf3-kerberos-1.1.7.drv'... unpacking sources patching sources configuring no configure script, doing nothing building installing unpacking source archive /nix/store/2vb21nh93sdchxd1z1szaypfydppb8w2-kerberos-1.1.7.tgz unpacking source archive /nix/store/m65bbbnd9d2yhdrvxhbksxmryy85d5ik-ansi-regex-2.1.1.tgz unpacking source archive /nix/store/xg3r2g2h86vbg93wx5qghx5m215kjzxx-aproba-1.2.0.tgz unpacking source archive /nix/store/cvw2cs3cs0vhcwd609vyghkrnhr07cyl-are-we-there-yet-1.1.7.tgz unpacking source archive /nix/store/49p15n3wx2lcvnyw9v4haq9hgawx4gjs-base64-js-1.5.1.tgz unpacking source archive /nix/store/q58km90qcdy9fajq62a2xfa6lp6v5rbl-bindings-1.5.0.tgz unpacking source archive /nix/store/i4r2n3vac6lp7dl9j3v79h2z39ngqkv6-bl-4.1.0.tgz unpacking source archive /nix/store/hgjvy0whzfgpr99jal6fp1cvw5amw3q4-readable-stream-3.6.0.tgz unpacking source archive /nix/store/hvy7brijhdgqf4z21rsihjm92bki3kcp-buffer-5.7.1.tgz unpacking source archive /nix/store/vj1v87s5cg5xdg1jph0lg8khl8pbj778-chownr-1.1.4.tgz unpacking source archive /nix/store/2dkbwk84hxsqkjx0sj6sg2f828dymn7m-code-point-at-1.1.0.tgz unpacking source archive /nix/store/0gx128x4cairqjybad8mzv351yi6zl83-console-control-strings-1.1.0.tgz unpacking source archive /nix/store/470ndadv00v1zkzqfdjkc3bbzzqxin6z-core-util-is-1.0.3.tgz unpacking source archive /nix/store/jyr0jzg6bycbfkq0x04yc95i489x8pb6-decompress-response-4.2.1.tgz unpacking source archive /nix/store/xfanygpw7lp4c7dlaprq7rrf6bnyl7p1-deep-extend-0.6.0.tgz unpacking source archive /nix/store/6305p3iwqwzc32wsi0g3xk6x1ki6w89f-delegates-1.0.0.tgz unpacking source archive /nix/store/bn3v2kbdbz2q8bpnqi114vjx5q80sfdn-detect-libc-1.0.3.tgz unpacking source archive /nix/store/ksfdj542fcgpghrc26idiha2dm45qc0b-end-of-stream-1.4.4.tgz unpacking source archive /nix/store/nfqkwyj7vvrsb935s2f0g8npzsx1dbr8-expand-template-2.0.3.tgz unpacking source archive /nix/store/g163wnwdxw8iwb5mjwwh9isy68cpzlws-file-uri-to-path-1.0.0.tgz unpacking source archive /nix/store/bdg1jbimw044k1n6wcr8acn0b2kd94sa-fs-constants-1.0.0.tgz unpacking source archive /nix/store/lxppif8nxpwwgkpb0zz747k4vpfxy4fn-gauge-2.7.4.tgz unpacking source archive /nix/store/v7pgzl37rmh735r2ksascvzbndcf3bhb-github-from-package-0.0.0.tgz unpacking source archive /nix/store/avk9dk25vygk0v8jmkhans8dc9svagc9-has-unicode-2.0.1.tgz unpacking source archive /nix/store/6mkahal7s96ajdm85nw2kdd0yrn423ks-ieee754-1.2.1.tgz unpacking source archive /nix/store/azvzr4mg5gc3av5b7jr3wzs20ldjrkxz-inherits-2.0.4.tgz unpacking source archive /nix/store/2v0x126ysis5fgq1m9z34n6mfvxkn3vy-ini-1.3.8.tgz unpacking source archive /nix/store/9p2wzfiin11k8shmhyqmzab3cy3w9qkl-is-fullwidth-code-point-1.0.0.tgz unpacking source archive /nix/store/mxcs504nxhjx3hyjb63z0cfswh85r5k9-isarray-1.0.0.tgz unpacking source archive /nix/store/5n30fhklgwwxfv59klp11hvdw8d0z4rn-mimic-response-2.1.0.tgz unpacking source archive /nix/store/a7q03i4w91sq8jrlbq7c7jcr36mxk5y6-minimist-1.2.5.tgz unpacking source archive /nix/store/0jmi1072ihrmhjzj08y2687y8snwpjsh-mkdirp-classic-0.5.3.tgz unpacking source archive /nix/store/x9hpybvnh47fl8r0qcb1vwbdh6a0l0m6-nan-2.15.0.tgz unpacking source archive /nix/store/m5p31b7gv9cppd8va0rq780knpym2pf7-napi-build-utils-1.0.2.tgz unpacking source archive /nix/store/3sf3sjh1bhmpx8dq5z9qbzngxxahsmwz-node-abi-2.30.1.tgz unpacking source archive /nix/store/m9xrawb4dwsz0l5r87i5h39sg5c18hpl-noop-logger-0.1.1.tgz unpacking source archive /nix/store/w7cmdggngxvpnnkmchhkrja345p0895a-npmlog-4.1.2.tgz unpacking source archive /nix/store/83zwk28al8ww5ghcq8dzx5b2gbb1h2y8-number-is-nan-1.0.1.tgz unpacking source archive /nix/store/qz6hsjrr7x7c531a4s4kv95zs3g3wpjk-object-assign-4.1.1.tgz unpacking source archive /nix/store/99vx2fb0np7kj6kk2srccv8lh5fgqsx6-once-1.4.0.tgz unpacking source archive /nix/store/d3i2dk8yrvhdcg21rnaqsx6wcl0k1wbk-prebuild-install-6.1.2.tgz unpacking source archive /nix/store/cqb735d0x1imja100fk540rjdks3gva1-process-nextick-args-2.0.1.tgz unpacking source archive /nix/store/hndnjzv46c44irlafhz6k3i4ldh176cf-pump-3.0.0.tgz unpacking source archive /nix/store/z0dpj3cdfbxwmpl4y32n680ygn8kihqz-rc-1.2.8.tgz unpacking source archive /nix/store/5par4h9y4c0ck9irv8hh3196m8w1n3nj-readable-stream-2.3.7.tgz unpacking source archive /nix/store/aazscwmbmx7n91nx2rr118iq4a0a6h9v-safe-buffer-5.1.2.tgz unpacking source archive /nix/store/gll14kwxsz9ggfhngafafh64rv4a02fr-semver-5.7.1.tgz unpacking source archive /nix/store/sjqck3fv26i35yv035iq3yjcfhd3lwyk-set-blocking-2.0.0.tgz unpacking source archive /nix/store/xr8yik18iz7kwsligvwlsr1vy6x0gg2y-signal-exit-3.0.6.tgz unpacking source archive /nix/store/8wplvn8b51rvm3d7ngn78vscdn1cpn4c-simple-concat-1.0.1.tgz unpacking source archive /nix/store/bcvwjwg1zbngvjv57nkppv5kkjh4xfvl-simple-get-3.1.0.tgz unpacking source archive /nix/store/1jck18q560xam2sjpk4z8c55myci7ah0-string-width-1.0.2.tgz unpacking source archive /nix/store/hkdfsf6gmzslax6v0izh15aw9s6kw2zm-string_decoder-1.1.1.tgz unpacking source archive /nix/store/37b62b693d5d0ds793hz13hnh051rbhv-strip-ansi-3.0.1.tgz unpacking source archive /nix/store/p3m1kn6hyinns1p9g95mz74q9hbjqk2k-strip-json-comments-2.0.1.tgz unpacking source archive /nix/store/bvh0ahz6rhmvi3cqdd58hgmmp3v0pqbq-tar-fs-2.1.1.tgz unpacking source archive /nix/store/rdbhr9j8f92g31nj0mwr2wa16ph28f38-tar-stream-2.2.0.tgz unpacking source archive /nix/store/hgjvy0whzfgpr99jal6fp1cvw5amw3q4-readable-stream-3.6.0.tgz unpacking source archive /nix/store/s1dyvar6kxm4gdkn6wm4lv8y5vha4yyq-tunnel-agent-0.6.0.tgz unpacking source archive /nix/store/35w0c1f0rw19x6p1b4b9lvbc3x23w8cs-util-deprecate-1.0.2.tgz unpacking source archive /nix/store/2vr0g7xlj0a79kw7jrvdhh0m8f0ql5ns-wide-align-1.1.5.tgz unpacking source archive /nix/store/wa4iwdsy5dsa4fpgkmfb3wbkln886im5-wrappy-1.0.2.tgz pinpointing versions of dependencies... patching script interpreter paths in . ./kerberos/.evergreen/run-tests.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/z6rd8wq02azalrlm2m5k08iy53klg624-bash-5.1-p12/bin/bash" ./kerberos/.evergreen/run-tests-ubuntu.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/z6rd8wq02azalrlm2m5k08iy53klg624-bash-5.1-p12/bin/bash" ./kerberos/.evergreen/run-prebuild.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/z6rd8wq02azalrlm2m5k08iy53klg624-bash-5.1-p12/bin/bash" ./kerberos/node_modules/detect-libc/bin/detect-libc.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" ./kerberos/node_modules/nan/tools/1to2.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" ./kerberos/node_modules/semver/bin/semver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" ./kerberos/node_modules/rc/cli.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" No package-lock.json file found, reconstructing... Adding metadata fields to: node_modules/ansi-regex/package.json Adding metadata fields to: node_modules/aproba/package.json Adding metadata fields to: node_modules/are-we-there-yet/package.json Adding metadata fields to: node_modules/base64-js/package.json Adding metadata fields to: node_modules/bindings/package.json Adding metadata fields to: node_modules/bl/package.json Adding metadata fields to: node_modules/bl/node_modules/readable-stream/package.json Adding metadata fields to: node_modules/buffer/package.json Adding metadata fields to: node_modules/chownr/package.json Adding metadata fields to: node_modules/code-point-at/package.json Adding metadata fields to: node_modules/console-control-strings/package.json Adding metadata fields to: node_modules/core-util-is/package.json Adding metadata fields to: node_modules/decompress-response/package.json Adding metadata fields to: node_modules/deep-extend/package.json Adding metadata fields to: node_modules/delegates/package.json Adding metadata fields to: node_modules/detect-libc/package.json Adding metadata fields to: node_modules/end-of-stream/package.json Adding metadata fields to: node_modules/expand-template/package.json Adding metadata fields to: node_modules/file-uri-to-path/package.json Adding metadata fields to: node_modules/fs-constants/package.json Adding metadata fields to: node_modules/gauge/package.json Adding metadata fields to: node_modules/github-from-package/package.json Adding metadata fields to: node_modules/has-unicode/package.json Adding metadata fields to: node_modules/ieee754/package.json Adding metadata fields to: node_modules/inherits/package.json Adding metadata fields to: node_modules/ini/package.json Adding metadata fields to: node_modules/is-fullwidth-code-point/package.json Adding metadata fields to: node_modules/isarray/package.json Adding metadata fields to: node_modules/mimic-response/package.json Adding metadata fields to: node_modules/minimist/package.json Adding metadata fields to: node_modules/mkdirp-classic/package.json Adding metadata fields to: node_modules/nan/package.json Adding metadata fields to: node_modules/napi-build-utils/package.json Adding metadata fields to: node_modules/node-abi/package.json Adding metadata fields to: node_modules/noop-logger/package.json Adding metadata fields to: node_modules/npmlog/package.json Adding metadata fields to: node_modules/number-is-nan/package.json Adding metadata fields to: node_modules/object-assign/package.json Adding metadata fields to: node_modules/once/package.json Adding metadata fields to: node_modules/prebuild-install/package.json Adding metadata fields to: node_modules/process-nextick-args/package.json Adding metadata fields to: node_modules/pump/package.json Adding metadata fields to: node_modules/rc/package.json Adding metadata fields to: node_modules/readable-stream/package.json Adding metadata fields to: node_modules/safe-buffer/package.json Adding metadata fields to: node_modules/semver/package.json Adding metadata fields to: node_modules/set-blocking/package.json Adding metadata fields to: node_modules/signal-exit/package.json Adding metadata fields to: node_modules/simple-concat/package.json Adding metadata fields to: node_modules/simple-get/package.json Adding metadata fields to: node_modules/string-width/package.json Adding metadata fields to: node_modules/string_decoder/package.json Adding metadata fields to: node_modules/strip-ansi/package.json Adding metadata fields to: node_modules/strip-json-comments/package.json Adding metadata fields to: node_modules/tar-fs/package.json Adding metadata fields to: node_modules/tar-stream/package.json Adding metadata fields to: node_modules/tar-stream/node_modules/readable-stream/package.json Adding metadata fields to: node_modules/tunnel-agent/package.json Adding metadata fields to: node_modules/util-deprecate/package.json Adding metadata fields to: node_modules/wide-align/package.json Adding metadata fields to: node_modules/wrappy/package.json bindings@1.5.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/bindings file-uri-to-path@1.0.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/file-uri-to-path nan@2.15.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/nan prebuild-install@6.1.2 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/prebuild-install detect-libc@1.0.3 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/detect-libc expand-template@2.0.3 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/expand-template github-from-package@0.0.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/github-from-package minimist@1.2.5 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/minimist mkdirp-classic@0.5.3 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/mkdirp-classic napi-build-utils@1.0.2 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/napi-build-utils node-abi@2.30.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/node-abi semver@5.7.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/semver noop-logger@0.1.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/noop-logger npmlog@4.1.2 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/npmlog are-we-there-yet@1.1.7 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/are-we-there-yet delegates@1.0.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/delegates readable-stream@2.3.7 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/readable-stream core-util-is@1.0.3 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/core-util-is inherits@2.0.4 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/inherits isarray@1.0.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/isarray process-nextick-args@2.0.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/process-nextick-args safe-buffer@5.1.2 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/safe-buffer string_decoder@1.1.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/string_decoder util-deprecate@1.0.2 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/util-deprecate console-control-strings@1.1.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/console-control-strings gauge@2.7.4 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/gauge aproba@1.2.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/aproba has-unicode@2.0.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/has-unicode object-assign@4.1.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/object-assign signal-exit@3.0.6 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/signal-exit string-width@1.0.2 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/string-width code-point-at@1.1.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/code-point-at is-fullwidth-code-point@1.0.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/is-fullwidth-code-point number-is-nan@1.0.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/number-is-nan strip-ansi@3.0.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/strip-ansi ansi-regex@2.1.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/ansi-regex wide-align@1.1.5 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/wide-align set-blocking@2.0.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/set-blocking pump@3.0.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/pump end-of-stream@1.4.4 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/end-of-stream once@1.4.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/once wrappy@1.0.2 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/wrappy rc@1.2.8 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/rc deep-extend@0.6.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/deep-extend ini@1.3.8 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/ini strip-json-comments@2.0.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/strip-json-comments simple-get@3.1.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/simple-get decompress-response@4.2.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/decompress-response mimic-response@2.1.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/mimic-response simple-concat@1.0.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/simple-concat tar-fs@2.1.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/tar-fs chownr@1.1.4 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/chownr tar-stream@2.2.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/tar-stream bl@4.1.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/bl buffer@5.7.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/buffer base64-js@1.5.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/base64-js ieee754@1.2.1 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/ieee754 readable-stream@3.6.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/bl/node_modules/readable-stream fs-constants@1.0.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/fs-constants readable-stream@3.6.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/tar-stream/node_modules/readable-stream tunnel-agent@0.6.0 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/tunnel-agent ...........] \ postinstall: sill install executeActionsfor prebuK > kerberos@1.1.7 install /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos > prebuild-install || node-gyp rebuild npm WARN optional SKIPPING OPTIONAL DEPENDENCY: chai@^4.2.0 (node_modules/chai): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/chai failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: chai-string@^1.5.0 (node_modules/chai-string): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/chai-string failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: clang-format@^1.2.4 (node_modules/clang-format): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/clang-format failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dmd-clear@^0.1.2 (node_modules/dmd-clear): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/dmd-clear failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: eslint@^5.16.0 (node_modules/eslint): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/eslint failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: eslint-plugin-prettier@^2.6.2 (node_modules/eslint-plugin-prettier): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/eslint-plugin-prettier failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: jsdoc-to-markdown@^4.0.1 (node_modules/jsdoc-to-markdown): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/jsdoc-to-markdown failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mocha@^5.2.0 (node_modules/mocha): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/mocha failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mongodb@^3.2.5 (node_modules/mongodb): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/mongodb failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: prebuild@^9.0.1 (node_modules/prebuild): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/prebuild failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: prettier@^1.17.1 (node_modules/prettier): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/prettier failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request@^2.88.0 (node_modules/request): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/request failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: segfault-handler@^1.2.0 (node_modules/segfault-handler): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/segfault-handler failed: cache mode is 'only-if-cached' but no cached response available. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: standard-version@^9.3.1 (node_modules/standard-version): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/standard-version failed: cache mode is 'only-if-cached' but no cached response available. audited 61 packages in 1.624s 5 packages are looking for funding run `npm fund` for details found 1 high severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details @nix { "action": "setPhase", "phase": "fixupPhase" }rberos: sill install printInstalled post-installation fixup patching script interpreter paths in /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7 /nix/store/001hmmarnvh89i0zmik929f9lc46n0f6-kerberos-1.1.7/lib/node_modules/kerberos/node_modules/prebuild-install/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1w2jmiwzv2h7gaqg8kg7agl92wwa12m9-nodejs-12.22.9/bin/node" building '/nix/store/rhj65jazvdk3yfa7p5qfl3d6xrl4phaf-user-environment.drv'...
How can I make run-rs to work? Is this a but on their side or a bug in node2nix?
run-rs
node2nix
I have a
node-packages.json
with the following content:["run-rs", "kerberos"]
.I ran
node2nix -i node-packages.json
, then rannix-env -f default.nix -iA '"run-rs"'
and got this output:It seems like
prebuild-install
is not found, but in reality it should be a no-op and letnode-gyp rebuild
to run instead.Strangely enough, I can install
kerberos
usingnix-env -f default.nix -iA '"kerberos"'
:How can I make
run-rs
to work? Is this a but on their side or a bug innode2nix
?