ChanServ changed the topic of #nixos-systemd to: NixOS <3 systemd | https://jitsi.nixcon.net/systemd | Next meeting 08.12.2020 14:00 UTC (every two weeks)
<arianvp> andi-: I think that would also mean instead of relying on the auto-detect behaviour; also enable and disable the dependency flags automatically?
<arianvp> e.g. we can set -Dopenssl=false if we're not using openssl
<andi-> arianvp: that is something we could do. I wouldn't do it in the first iteration.
<andi-> Small incremental changes.
<arianvp> sound good
<arianvp> , withEfi ? stdenv.hostPlatform.isEfi
<{^_^}> Invalid command syntax
<arianvp> shouldn't this be targetPlatform
<arianvp> I always confuse these cross-compilation target names
<andi-> > The "host platform" is the platform on which a package will be run. This is the simplest platform to understand, but also the one with the worst name.
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):494:112
<andi-> ,hostPlatform
<andi-> ,hostPlatform = The "host platform" is the platform on which a package will be run. This is the simplest platform to understand, but also the one with the worst name. (https://nixos.org/manual/nixpkgs/stable/#chap-cross)
<{^_^}> hostplatform defined
<andi-> ,buildPlatform = The "build platform" is the platform on which a package is built. Once someone has a built package, or pre-built binary package, the build platform should not matter and can be ignored. (https://nixos.org/manual/nixpkgs/stable/#chap-cross)
<{^_^}> buildplatform defined
<qyliss> arianvp: targetPlatform is only for if you're building a compiler or similar
<qyliss> it's for, like, "what arcitecture will this gcc build executables for"
<qyliss> i.e. you could build a gcc on x86_64 (buildPlatform), that runs on aarch64 (hostPlatform), and produces riscv executables (targetPlatform)