Nix Flakes | 885 Members | |
| 179 Servers |
| Sender | Message | Time |
|---|---|---|
| 25 Jul 2023 | ||
| I use https://git.hrnz.li/Ulli/nixos/src/branch/main/hosts/flake-module.nix#L104 and it works like a charm | 17:23:20 | |
| oh interesting, is there a reason to explicitly set config like that? I just have these for armv7l: https://git.dblsaiko.net/systems/tree/configurations/turris/default.nix#n35 | 17:27:09 | |
In reply to @ulli:hrnz.liworks i think | 17:27:34 | |
| and I assume "doesn't work" means it doesn't try to cross-compile with just those? that's weird | 17:28:25 | |
In reply to @ulli:hrnz.li* works i think :) | 17:27:36 | |
| wait, you're just calling nixpkgs.lib.nixosSystem yourself from what you sent, then this should have nothing to do with flake-parts | 17:31:17 | |
In reply to @2xsaiko:tchncs.dei didnt had it as argument to the function, but as part of the configuration | 17:30:00 | |
I think you'll want to add inherit (pkgs) system; in your nixosSystem call though | 17:31:53 | |
| like Oracle Cloud uses EFI bootboot.loader.systemd-boot.enable = true; } | 17:30:43 | |
| * like
| 17:30:53 | |
| not like
| 17:31:14 | |
| yeah i was confused cause flake-parts withsystem sets smth for nixpkgs | 17:32:16 | |
| either way it doesnt work for me rn :( | 17:32:25 | |
| 17:32:37 | |
| wait my mistake | 17:33:14 | |
In reply to @2xsaiko:tchncs.dethere isn't really a reason to do this, this is mostly just leftover from $experiments | 17:39:36 | |
| ah, okay :p | 17:40:56 | |
In reply to @moots:matrix.orgyeah, that's where it should go, these are configuration options | 17:42:40 | |
In reply to @moots:matrix.organd this looks like it's cross compiling but I think "stage" is the bootstrap gcc which is very strange, why is it not cached | 17:44:00 | |
In reply to @2xsaiko:tchncs.deim back to the same issue as before | 17:45:25 | |
In reply to @2xsaiko:tchncs.denot specifying it is probably better as you cannot specify invalid target quartets | 17:45:52 | |
| bonks, head n suddenly it crossbuilds again :| | 17:46:11 | |
| literally just ran nix fmt | 17:46:18 | |
| * literally just ran nix fmt, had error: a 'aarch64-linux' with features {} is required to build '/nix/store/jwjbb40ddsl8a7f335nz0h09a4inrdyj-mounts.sh.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, uid-range} | 17:46:32 | |
| * literally just ran nix fmt, had error: a 'aarch64-linux' with features {} is required to build '/nix/store/jwjbb40ddsl8a7f335nz0h09a4inrdyj-mounts.sh.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, uid-range} as error | 17:46:34 | |
| moots: are you trying to use aarch64-unknown-linu$-gnueabihf? | 17:46:40 | |
| because that is not a thing | 17:46:43 | |
| system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu"; | 17:46:50 | |
| i think thats right im not sure | 17:46:59 | |
| that should be fine | 17:47:17 | |