Nix NodeJS | 194 Members | |
| 56 Servers |
| Sender | Message | Time |
|---|---|---|
| 7 May 2024 | ||
| * Hello, just wondering what the process is for building my project locally from my Flake output. I think the problem is how Flakes handle files in
When I don't do that, the build fails with message: I try to build the package using I don't define any custom
Any ideas on how to get this to work? | 08:06:12 | |
| * Hello, just wondering what the process is for building my project locally from my Flake output. I think the problem is how Flakes handle files in
When I don't do that, the build fails with message: I try to build the package using I don't define any custom
Any ideas on how to get this to work? | 08:08:30 | |
| You shouldn't have to check in `dist` into git. Are you sure you're build phase is working? Maybe try debugging in your installPhase with ``` ls -lah exit 2 ``` Alternatively, step through the derivation with `nix develop`> | 08:28:35 | |
| * You shouldn't have to check in `dist` into git. Are you sure you're build phase is working? Maybe try debugging in your installPhase with ``` ls -lah exit 2 ``` Alternatively, step through the derivation with `nix develop` | 08:28:43 | |
Ah, wow thanks. This made me realise that it was indeed not Nix that was the problem-- somebody defined the dist/ folder as a dev dependency in the package.json file 😅 | 10:00:14 | |
| So then in the build step, Nix would look for it and wouldn't be able to find it 💀 | 10:00:46 | |
| 18:01:34 | ||
| 9 May 2024 | ||
| 05:40:02 | ||
| 10 May 2024 | ||
| 13:33:56 | ||
| 13:34:21 | ||
| 20 May 2024 | ||
| 23:23:17 | ||
| 21 May 2024 | ||
| ok so if i have a nodejs project built to an exe and i have a nixos config flake pull it in as a flake input and the nixos config creates a systemd service running it and i have the systemd have ${packgeVariable}/bin/name in the exec thing and i tell systemd to have enviroment variable set for that service will it get them and the prohect can use them in procress.env or will there need to be some equivalent to --pure or something | 14:32:35 | |
In reply to @tumble1999:matrix.orgif systemd sets env vars, then when running that exe, the exe can access them in process.env, yes | 14:56:38 | |
| but also i guess try it and see. it sounds like you've got all of the pieces already | 14:56:54 | |
| the one peice i dont have is automation system auto upgrade propably wont do good up updating a webiste for if say someone commits a mardown file for a blog post and have to wait a day for it to go live | 14:58:03 | |
| 22 May 2024 | ||
| 15:25:55 | ||
| 15:28:10 | ||
| I'm trying to package Fider, but I have an issue with the Node Frontend trying to download Playwright. I uploaded my work in progress at https://github.com/NixOS/nixpkgs/pull/313713 Feel free to have a look and comment | 15:56:12 | |
| I fixed the issue with playwright and esbuild! :) | 16:10:00 | |
| Now working on the next issue... | 16:10:05 | |
| 16:10:19 | |
| 26 May 2024 | ||
| 10:52:39 | ||
| 29 May 2024 | ||
| 17:07:38 | ||
| 4 Jun 2024 | ||
| 11:15:28 | ||
| 7 Jun 2024 | ||
| 23:44:45 | ||
| 11 Jun 2024 | ||
| 20:24:10 | ||
| 17 Jun 2024 | ||
| i'm making changes to prefetch-npm-deps, how can i check all FODs in nixpkgs to see if i broke something? (Lily Foster) | 08:59:13 | |
| * i'm making changes to prefetch-npm-deps, how can i check/rebuild all FODs in nixpkgs to see if i broke something? (Lily Foster) | 09:00:24 | |
maybe run nixpkgs-review on your code and see how many drv it rebuilds ? | 10:46:40 | |
| i tried running nixpkgs-review but it didn't rebuilt the FODs, it just fetches them from the cache | 10:48:00 | |