| 25 Jan 2024 |
| sheep_empress joined the room. | 19:12:21 |
sheep_empress | hi! i've been sent here from the nixpkgs group because i'm having a problem with ofborg that i can't replicate on my machine. i'm trying to package a program called autobrr. it's written in go with a web interface built in pnpm+vite+esbuild. i use a derivation to note what version of esbuild i need to grab, and this works on my machine, but ofborg says that it can't build my pr because it thinks this derivation is empty. | 19:24:41 |
sheep_empress | could somebody help me out? my pull request is here, and the ofborg log that i'm referencing is here. | 19:26:15 |
cole-h | One issue is that you're using import-from-derivation, which is not allowed in Nixpkgs (so as not to blow up the time it takes to evaluate) | 19:29:38 |
cole-h | (If you run your build with --option allow-import-from-derivation false, you can see this happening) | 19:30:06 |
sheep_empress | Ok, thanks, that's good to know that I can't use readFile to get anything from a nix store in nixpkgs. | 19:39:18 |
K900 | Not "anything" | 19:40:07 |
K900 | But only outputs of other derivations | 19:40:11 |