26 Sep 2024 |
Artturin | I evalled with nix-eval-jobs on that branch and took a few hours but didn't use a massive amount of memory | 13:50:09 |
Artturin | In reply to @artturin:matrix.org I evalled with nix-eval-jobs on that branch and took a few hours but didn't use a massive amount of memory With the ofborg outpaths.nix that's why it took so long I think | 13:57:30 |
Artturin | Even with parallel workers | 13:57:44 |
kjeremy | I thought that someone suggested that nix-eval-jobs wouldn't exhibit the memory issue | 14:12:38 |
27 Sep 2024 |
Artturin | I'll merge https://github.com/NixOS/nixpkgs/pull/344499 In 10h as its just simple 0 rebuilds fixes | 03:55:13 |
| elikoga set a profile picture. | 16:27:21 |
Artturin | K900:
nix-repl> pkgsCross.aarch64-multiplatform.mesa
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'mesa-aarch64-unknown-linux-gnu-24.2.2'
whose name attribute is located at /home/artturin/nixgits/my-nixpkgs/.worktree/1/pkgs/stdenv/generic/make-derivation.nix:336:7
… while evaluating attribute '__impureHostDeps' of derivation 'mesa-aarch64-unknown-linux-gnu-24.2.2'
at /home/artturin/nixgits/my-nixpkgs/.worktree/1/pkgs/stdenv/generic/make-derivation.nix:451:7:
450| __propagatedSandboxProfile = unique (computedPropagatedSandboxProfile ++ [ propagatedSandboxProfile ]);
451| __impureHostDeps = computedImpureHostDeps ++ computedPropagatedImpureHostDeps ++ __propagatedImpureHostDeps ++ __impureHostDeps ++ stdenv.__extraImpureHostDeps ++ [
| ^
452| "/dev/zero"
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: attribute 'driversdev' missing
at /home/artturin/nixgits/my-nixpkgs/.worktree/1/pkgs/development/libraries/mesa/default.nix:292:5:
291| ] ++ lib.optionals needNativeCLC [
292| buildPackages.mesa.driversdev
| ^
293| ];
| 20:09:51 |
K900 | Huhhhhh | 20:10:02 |
Artturin | * K900:
nix repl --file . --system aarch64-darwin
nix-repl> pkgsCross.aarch64-multiplatform.mesa
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'mesa-aarch64-unknown-linux-gnu-24.2.2'
whose name attribute is located at /home/artturin/nixgits/my-nixpkgs/.worktree/1/pkgs/stdenv/generic/make-derivation.nix:336:7
… while evaluating attribute '__impureHostDeps' of derivation 'mesa-aarch64-unknown-linux-gnu-24.2.2'
at /home/artturin/nixgits/my-nixpkgs/.worktree/1/pkgs/stdenv/generic/make-derivation.nix:451:7:
450| __propagatedSandboxProfile = unique (computedPropagatedSandboxProfile ++ [ propagatedSandboxProfile ]);
451| __impureHostDeps = computedImpureHostDeps ++ computedPropagatedImpureHostDeps ++ __propagatedImpureHostDeps ++ __impureHostDeps ++ stdenv.__extraImpureHostDeps ++ [
| ^
452| "/dev/zero"
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: attribute 'driversdev' missing
at /home/artturin/nixgits/my-nixpkgs/.worktree/1/pkgs/development/libraries/mesa/default.nix:292:5:
291| ] ++ lib.optionals needNativeCLC [
292| buildPackages.mesa.driversdev
| ^
293| ];
| 20:10:05 |
Artturin | nix repl --file . --system aarch64-darwin | 20:10:08 |
K900 | Oh | 20:10:15 |
K900 | Yeah that makes sense | 20:10:18 |
K900 | Yeah no Darwin to Linux cross for Mes | 20:10:24 |
K900 | * Yeah no Darwin to Linux cross for Mesa | 20:10:25 |
K900 | No shot | 20:10:27 |
K900 | Not happening | 20:10:29 |
Artturin | I'll just add a or null then | 20:11:13 |
K900 | If you just want it to eval, maybe make it throw on Darwin cross or something | 20:12:02 |
Artturin | https://github.com/NixOS/nixpkgs/pull/344942 | 20:18:24 |
K900 | Actually | 20:18:47 |
K900 | You can just force needNativeCLC to false on Darwin | 20:19:02 |
K900 | Which is arguably more correct? | 20:19:09 |
K900 | Because there can be no native CLC on Darwin | 20:19:17 |
yehowshua | I have a very unusual need. I need to build a riscv cross compiler tuned to a certain architecture. Can I possible use pkgs.pkgsCross.riscv32.gcc as a starting point? If so, how would I go about modifying pkgs.pkgsCross.riscv32.gcc ? | 20:20:45 |
K900 | What do you mean by "tuned to a certain architecture"? | 20:21:00 |
K900 | Like, -march /-mtune ? | 20:21:07 |
K900 | You can just pass those to any cross GCC and it should just work | 20:21:22 |
yehowshua | basically, I need to pass the binutils config certain options | 20:21:24 |
yehowshua | well - this is a non upstream gcc fork I'm working on | 20:21:35 |
yehowshua | I also need to point the derivation at src at the GitHub repo | 20:21:57 |