11 Sep 2024 |
Artturin | In reply to @artturin:matrix.org the targetPackages.stdenv.cc is the same offset as gfortran nix-repl> pkgsCross.aarch64-multiplatform.gfortran.cc.stdenv.cc
«derivation /nix/store/cy0iv1sk4c60df358j3ff8xb2x0db1qh-aarch64-unknown-linux-gnu-gcc-wrapper-13.3.0.drv»
nix-repl> pkgsCross.aarch64-multiplatform.targetPackages.stdenv.cc
«derivation /nix/store/bh6d4yc7dyx1694gz3bx65l0flv1blc2-gcc-wrapper-13.3.0.drv»
nix-repl> pkgsCross.aarch64-multiplatform.targetPackages.stdenv.cc.stdenv.hostPlatform.system
"aarch64-linux"
nix-repl> pkgsCross.aarch64-multiplatform.targetPackages.stdenv.cc.stdenv.targetPlatform.system
"aarch64-linux"
nix-repl> pkgsCross.aarch64-multiplatform.gfortran.cc.stdenv.hostPlatform.system
"aarch64-linux"
nix-repl> pkgsCross.aarch64-multiplatform.gfortran.cc.stdenv.targetPlatform.system
"aarch64-linux"
| 23:39:29 |
Artturin | In reply to @philiptaron:matrix.org is there ever a time then that it shouldn't be gfortran , rather than targetPackages.gfortran ? It was made targetPackages just recently 🤔https://github.com/NixOS/nixpkgs/pull/327438 | 23:39:59 |
Artturin | https://github.com/nixos/nixpkgs/commit/13e4a573de392bc9466edb7d6ed50dd5557f3292 | 23:40:03 |
Philip Taron (UTC-8) | I wish there was more in that commit message. | 23:41:13 |
Artturin | Asked | 23:42:33 |
Artturin | Ooh nevermind | 23:43:13 |
Artturin | If openmpi goes in nativeBuildInputs then it's valid | 23:43:28 |
Artturin | probably | 23:46:05 |
12 Sep 2024 |
Artturin | In reply to @artturin:matrix.org Says it loops at pkgs/top-level/cubocore-packages.nix but pkgsCross.aarch64-multiplatform.CuboCore or pkgsCross.aarch64-multiplatform.qt5 don't have issues Created https://github.com/NixOS/nixpkgs/issues/341274 | 00:05:41 |
K900 | In reply to@artturin:matrix.org K900: Why haven't we added platforms.windows/mingw to bash badPlatforms ? Why should we? | 03:57:47 |
K900 | bash on mingw is a thing | 03:57:52 |
Artturin | In reply to @k900:0upti.me Why should we? Because it's been broken for a long time | 04:37:09 |
K900 | So has been all of mingw tbh | 04:37:24 |
K900 | Someone needs to like | 04:37:27 |
K900 | Actually go hyperfocus on it for a few days | 04:37:35 |
K900 | To get it usable again | 04:37:40 |
Artturin | badPlatforms instead of broken because it works with lib.meta.availableOn | 04:37:53 |
Artturin | Which makes jackaudio compile because it uses availableOn to choose deps | 04:39:28 |
Artturin | https://github.com/NixOS/nixpkgs/blob/c04982df7d6448c6be709a98d0a4707d2361db92/pkgs/misc/jackaudio/default.nix#L19 | 04:39:30 |
Artturin | In reply to @vramp:matrix.org when I install pkgsCross.mingwW64.portaudio (on linux) it installs alsa which is surprising, and then fails to find poll.h, which is less surprising . | 04:39:53 |
Artturin | (portaudio needs jackaudio) | 04:41:17 |
Artturin | https://github.com/NixOS/nixpkgs/pull/341227/files | 04:41:33 |
Artturin | https://github.com/NixOS/nixpkgs/pull/341299 | 05:00:52 |
Artturin | So uh how are we going to handle .exe in mainProgram ? just mainProgram = "expand-response-params${stdenv.hostPlatform.extensions.executable}"; | 05:08:14 |
K900 | Uhh | 05:08:35 |
K900 | That's a good question lol | 05:08:38 |
Artturin | when x is a derivation we could use stdenv....extensions.executable https://github.com/NixOS/nixpkgs/blob/d6796b28ef1abd4b948c17355b1bf009cf4c7ad0/lib/meta.nix#L433 | 05:09:54 |
Artturin | Redacted or Malformed Event | 05:10:48 |
K900 | I mean technically splicing should take care of this | 05:18:55 |
K900 | But that is still very cursed | 05:19:16 |