| 15 Jul 2021 |
sterni (he/him) | it's just for convenience, really | 11:21:59 |
piegames | I see thank you | 11:31:51 |
piegames | Well, it has the disadvantage of having to import nixpkgs twice, since I need some native packages too | 11:32:12 |
sterni (he/him) | piegames: you can always use buildPackages for that | 11:33:16 |
piegames | Oh interesting, I didn't know that | 11:35:05 |
piegames | Instead of libc = "newlib";, i need to use libnano. Is this generally possible in nixpkgs? | 12:26:50 |
sterni (he/him) | libnano is not packaged so no | 12:27:29 |
sterni (he/him) | but it is not impossible in general :) | 12:27:37 |
| 17 Jul 2021 |
symphorien | this PR is probably worth mentionning here: https://github.com/NixOS/nixpkgs/issues/130349 | 14:01:52 |
siraben | That seems like a good idea, it's recurring pattern in Nixpkgs and I sometimes have to second-guess what to compare. | 15:27:02 |
symphorien | It used to exist and was removed so I'd like yo hear why 😃 | 15:57:42 |
symphorien | I think there was stdenv.isCross | 17:23:11 |
Rick (Mindavi) | In reply to @symphorien:xlumurb.eu It used to exist and was removed so I'd like yo hear why 😃 John has a good point | 17:24:49 |
symphorien | Oh that's the reason | 17:27:00 |
Rick (Mindavi) | In short: there's no one-size-fits-all solution, and being explicit is better | 17:41:14 |
sterni (he/him) | sometimes you'd need to check targetPlatform equality for example | 20:53:55 |