| 20 Nov 2023 |
Wanja Hentze | the src/sourceRoot/npmRoot/packageRoot situation is quite confusing to me. no combination I've tried seems to work. | 17:46:59 |
| 21 Nov 2023 |
ris_ | fetchYarnDeps is failing for me with unable to get local issuer certificate for basically everything | 21:57:51 |
Lily Foster | In reply to @r_i_s:matrix.org
fetchYarnDeps is failing for me with unable to get local issuer certificate for basically everything https://github.com/NixOS/nixpkgs/pull/269061 | 22:12:57 |
| 22 Nov 2023 |
| thiloho set a profile picture. | 14:58:10 |
hexa | offline> building '/nix/store/646wyw911xp06k2lpjz6fdiwfwbq00il-offline.drv'
offline> patching sources
offline> updateAutotoolsGnuConfigScriptsPhase
offline> configuring
offline> no configure script, doing nothing
offline> building
offline> SyntaxError: Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in lockfile
offline> at Parser.unexpected (/nix/store/z58x3lknjdhqkph4s95bk6y24xz9a0a8-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5064:11)
offline> at Parser.parse (/nix/store/z58x3lknjdhqkph4s95bk6y24xz9a0a8-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5193:14)
offline> at parse (/nix/store/z58x3lknjdhqkph4s95bk6y24xz9a0a8-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5262:17)
offline> at module.exports.exports.default (/nix/store/z58x3lknjdhqkph4s95bk6y24xz9a0a8-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:4835:96)
offline> at prefetchYarnDeps (/nix/store/z58x3lknjdhqkph4s95bk6y24xz9a0a8-prefetch-yarn-deps/libexec/index.js:135:28)
offline> at main (/nix/store/z58x3lknjdhqkph4s95bk6y24xz9a0a8-prefetch-yarn-deps/libexec/index.js:189:9)
| 15:11:18 |
hexa | for https://github.com/pyinsteon/insteon-panel/blob/0.4.0/yarn.lock | 15:11:23 |
hexa | I'm looking for advice on this error | 15:11:47 |
hexa | src = fetchFromGitHub {
owner = "pyinsteon";
repo = "insteon-panel";
rev = "refs/tags/${version}";
hash = "sha256-jpfRgME6MJdItrOldeN12W+bCeIi9ACH7oQ0GFyFqzo=";
};
nativeBuildInputs = [
nodejs
setuptools
yarn
];
yarnDeps = fetchYarnDeps {
yarnLock = src + "/yarn.lock";
hash = "";
};
| 15:12:13 |
hexa | this is roughly what I have | 15:12:17 |
Lily Foster | that fetcher only does v1 lockfiles rn | 15:12:41 |
Lily Foster | (if i could scam someone to join the nixpkgs node.js team, we could probably make more progress on getting it working with yarn-berry 👉🏻👈🏻 ) | 15:14:14 |
hexa | ah cool | 15:16:41 |
hexa | that lock file should say version: 2 somewhere | 15:16:50 |
Wanja Hentze | wait, the stuff in nixpkgs reads lockfiles? | 15:16:54 |
hexa | instead it says __metadata.version: 6 | 15:17:05 |
Wanja Hentze | I thought it didn't, and that's why one has to prefetch | 15:17:10 |