pie_ changed the topic of #nixos-rust to: buildRustPackage is wrong. | the ops are those who op those who donut op themselves
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-rust
drakonis has quit [Quit: WeeChat 2.8]
cole-h has quit [Quit: Goodbye]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-rust
cole-h has joined #nixos-rust
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-rust
<
evanjs>
Or more to the point
<
evanjs>
Is there an idiomatic way to use a temp directory for cargo test or the checkPhase in general, in this case?
<
evanjs>
Feels sort of dirty to have it handled on a per distro level in the crate, idk
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-rust
<
evanjs>
Re kernel modules -- I heard about it but have to wonder how GPLv3 would play with MIT/Apache -- assuming any of that carries over or blah
<
evanjs>
As most rust stuff (including the compiler, etc) are MIT/Apache, etc
drakonis has joined #nixos-rust
drakonis has quit [Quit: WeeChat 2.8]
cole-h has quit [Quit: Goodbye]
<
pie_>
evanjs: id probably ask joepie91
<
qyliss>
Apache 2.0 is incompatible with the GPLv2, but not with GPLv3
<
qyliss>
The whole point of the MIT dual-license, is to allow combining with GPLv2 code
<
qyliss>
evanjs: also note that the kernel is GPLv2, not GPLv3
<
qyliss>
So using MIT/Apache-2.0 code in the kernel would be fine. You'd use it under MIT.
<
pie_>
this should simplify my "write grub modules in rust" expression
<
pie_>
(project not working yet)
<
Yaniel>
since the only requirement of MIT is to keep the license statement I don't think it has a problem being included in GPL code?
<
evanjs>
qyliss: yup aware of the v2-ness of the kernel code. and that makes sense then
<
qyliss>
Yaniel: yes, that's what I was trying to say
<
qyliss>
it's there as a fallback if you can't use Apache
<
qyliss>
Most of the time Apache is what you want, because it gives you extra stuff like a patent grant
<
qyliss>
But it (Apache-2.0) is also incompatilbe with the GPLv2, so in that case you fall back to MIT
<
evanjs>
Oh okay. I don't usually dig much deeper than "this one looks free-r" lol
<
evanjs>
Thank God for tldr;legal lol
drakonis has joined #nixos-rust
aleph- has quit [Ping timeout: 264 seconds]
aleph- has joined #nixos-rust