!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

888 Members
179 Servers

Load older messages


SenderMessageTime
25 Jul 2023
@moots:matrix.orgmootseither way it doesnt work for me rn :(17:32:25
@moots:matrix.orgmoots

error: builder for '/nix/store/cwjscarzmmrdhjbsqvwp21qxwnk2sr4q-aarch64-unknown-linux-gnueabihf-stage-static-gcc-12.2.0.drv' failed with exit code 2;
       last 10 log lines:
       > checking for O_CLOEXEC... yes
       > checking for AF_UNIX... yes
       > checking for AF_INET6... yes
       > checking for _LK_LOCK... no
       > checking if mkdir takes one argument... no
       > This target does not support --with-float.
17:32:37
@moots:matrix.orgmootswait my mistake17:33:14
@ulli:hrnz.li@ulli:hrnz.li
In reply to @2xsaiko:tchncs.de
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
there isn't really a reason to do this, this is mostly just leftover from $experiments
17:39:36
@2xsaiko:tchncs.de@2xsaiko:tchncs.deah, okay :p17:40:56
@2xsaiko:tchncs.de@2xsaiko:tchncs.de
In reply to @moots:matrix.org

like
had it like

{
  nixpkgs.buildPlatform = "x86\_64-linux";
nixpkgs.hostPlatform = "aarch64-linux";

# Oracle Cloud uses EFI boot

boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;

}
yeah, that's where it should go, these are configuration options
17:42:40
@2xsaiko:tchncs.de@2xsaiko:tchncs.de
In reply to @moots:matrix.org

error: builder for '/nix/store/cwjscarzmmrdhjbsqvwp21qxwnk2sr4q-aarch64-unknown-linux-gnueabihf-stage-static-gcc-12.2.0.drv' failed with exit code 2;
       last 10 log lines:
       > checking for O_CLOEXEC... yes
       > checking for AF_UNIX... yes
       > checking for AF_INET6... yes
       > checking for _LK_LOCK... no
       > checking if mkdir takes one argument... no
       > This target does not support --with-float.
and 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
@moots:matrix.orgmoots
In reply to @2xsaiko:tchncs.de
and this looks like it's cross compiling but I think "stage" is the bootstrap gcc which is very strange, why is it not cached
im back to the same issue as before
17:45:25
@ulli:hrnz.li@ulli:hrnz.li
In reply to @2xsaiko:tchncs.de
ah, okay :p
not specifying it is probably better as you cannot specify invalid target quartets
17:45:52
@moots:matrix.orgmootsbonks, head n suddenly it crossbuilds again :|17:46:11
@moots:matrix.orgmootsliterally just ran nix fmt17:46:18
@moots:matrix.orgmoots * 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
@moots:matrix.orgmoots * 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
@ulli:hrnz.li@ulli:hrnz.li moots: are you trying to use aarch64-unknown-linu$-gnueabihf? 17:46:40
@ulli:hrnz.li@ulli:hrnz.libecause that is not a thing17:46:43
@moots:matrix.orgmoots system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu";17:46:50
@moots:matrix.orgmootsi think thats right im not sure17:46:59
@ulli:hrnz.li@ulli:hrnz.lithat should be fine17:47:17
@ulli:hrnz.li@ulli:hrnz.liis mounts.sh a thing from disko?17:47:24
@moots:matrix.orgmootsmaybe, like i said the error vanished after a nixpkgs fmt17:47:41
@2xsaiko:tchncs.de@2xsaiko:tchncs.de moots: yeah, I know why I think 17:48:18
@moots:matrix.orgmootsbuilding aarch64-unknown-linux-musl-binutils-2.40, hmm why musl n not glibc17:47:54
@2xsaiko:tchncs.de@2xsaiko:tchncs.deflake-parts gives you packages that don't cross build17:48:37
@2xsaiko:tchncs.de@2xsaiko:tchncs.deso in case this is from some package set instantiated by flake-parts, that won't work17:49:07
@moots:matrix.orgmootsunsure why its not downloading from caches though, it seems to be building a lot atm18:02:01
@moots:matrix.orgmoots

also tried adding

 nixConfig = {
      extra-substituters = [
        "https://colmena.cachix.org"
        
        "https://nix-community.cachix.org"
        "https://cache.nixos.org/"
      ];
      extra-trusted-public-keys = [
        
        "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
        "colmena.cachix.org-1:7BzpDnjjH8ki2CT3f6GdOk7QAzPOl+1t3LvTLXqYcSg="
      ];
    };

it did query them, but didnt seem to download any

18:02:22
@moots:matrix.orgmootsmy input is nixpkgs.url = "nixpkgs/nixos-23.05"; and every other input has inputs.nixpkgs.follows = "nixpkgs";18:02:45
@moots:matrix.orgmootsand accoridng to docs aarch64 should been in the cache 18:03:28
@ulli:hrnz.li@ulli:hrnz.lithere aren't really any caches for most cross stuff18:07:43
@ulli:hrnz.li@ulli:hrnz.linative aarch64 stuff is on the cache.18:08:11

Show newer messages


Back to Room ListRoom Version: 6