| 30 Nov 2022 |
| @waldyrious:matrix.org left the room. | 05:42:16 |
Hugo Ribeiro | nix build nixpkgs#legacyPackages.armv7l-linux.hello
error: a 'armv7l-linux' with features {} is required to build '/nix/store/7ffq9d1zsy34l0arh774xqh4pwvr25hq-bootstrap-stage0-stdenv-linux.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
😃
não deu | 05:42:25 |
PedroHLC | In reply to Hugo Ribeiro Dúvida, se no flake eu tentar pegar o pacote de outra arquitetura, ele cross compila? Sim | 10:15:07 |
PedroHLC | In reply to Hugo Ribeiro nix build nixpkgs#legacyPackages.armv7l-linux.hello error: a 'armv7l-linux' with features {} is required to build '/nix/store/7ffq9d1zsy34l0arh774xqh4pwvr25hq-bootstrap-stage0-stdenv-linux.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
😃 não deu Só faltou ligar um emulador por binfmt | 10:15:21 |
PedroHLC | In reply to Hugo Ribeiro nix build nixpkgs#legacyPackages.armv7l-linux.hello error: a 'armv7l-linux' with features {} is required to build '/nix/store/7ffq9d1zsy34l0arh774xqh4pwvr25hq-bootstrap-stage0-stdenv-linux.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
😃 não deu Tipo, pra compilar para aarch64eu uso:
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; | 10:16:29 |
Lucas Eduardo | Dá tbm pra usar o pkgsCross | 11:00:16 |
Lucas Eduardo | Já usei pra buildar alguns binários estáticos com musl pra rodar no junim | 11:00:34 |
Lucas Eduardo | Pelo adb | 11:00:54 |
GALLY | In reply to Hugo Ribeiro Dúvida, se no flake eu tentar pegar o pacote de outra arquitetura, ele cross compila? https://matthewbauer.us/blog/beginners-guide-to-cross.html | 12:10:28 |
Hugo Ribeiro | In reply to PedroHLC Tipo, pra compilar para aarch64eu uso:
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; como que faz isso via flakes? | 13:35:11 |
Hugo Ribeiro | In reply to Lucas Eduardo Já usei pra buildar alguns binários estáticos com musl pra rodar no junim Nix ❤️
nix build nixpkgs#legacyPackages.x86_64-linux.pkgsCross.raspberryPi.hello
nix build nixpkgs#legacyPackages.x86_64-linux.pkgsCross.raspberryPi.pkgsStatic.hello | 13:41:03 |
L. L. A. 🇧🇷 | In reply to Hugo Ribeiro como que faz isso via flakes? https://github.com/NixOS/templates/blob/master/full/flake.nix#L143
só altera aqui, confia. | 13:44:31 |
| L. L. A. 🇧🇷 changed their profile picture. | 13:44:32 |
PedroHLC | In reply to Hugo Ribeiro como que faz isso via flakes? vc adiciona na config da máquina host | 14:18:48 |
PedroHLC | In reply to L. L. A. 🇧🇷 https://github.com/NixOS/templates/blob/master/full/flake.nix#L143
só altera aqui, confia. nossa, quantos layers de output 😅 | 14:19:30 |
GALLY | In reply to Hugo Ribeiro Nix ❤️
nix build nixpkgs#legacyPackages.x86_64-linux.pkgsCross.raspberryPi.hello
nix build nixpkgs#legacyPackages.x86_64-linux.pkgsCross.raspberryPi.pkgsStatic.hello Me diz agora em quantas distros você consegue fazer isso, vagabundo | 14:21:25 |
Gabriel Fontes (Misterio) λ | Sai hj a 22.11 né familia? | 21:45:42 |
L. L. A. 🇧🇷 | Download 😊 (smiling face with smiling eyes) | 21:54:14 |
Gabriel Fontes (Misterio) λ | NixOS Guaxinim vêm aí | 21:54:51 |
| José Romildo joined the room. | 22:20:00 |
José Romildo | @lucasew Parabéns pelo TCC defendido e aprovado hoje! | 22:19:59 |
L. L. A. 🇧🇷 | nao vou continuar no unstable. | 22:37:22 |
| 1 Dec 2022 |
| pedrohlc joined the room. | 11:38:51 |
| Dan joined the room. | 12:45:29 |
PedroHLC | achei que era bot kkkk | 12:47:10 |
Dan | 🖖 olar | 12:47:23 |
Thiago Okada | In reply to Dan 🖖 olar /trust | 12:47:50 |
Thiago Okada | In reply to PedroHLC achei que era bot kkkk Meu amigo de lonngaaaaa data | 12:47:58 |
GALLY | In reply to PedroHLC achei que era bot kkkk Idem. O dedo tava coçando aqui. | 12:48:13 |
PedroHLC | In reply to GALLY Idem. O dedo tava coçando aqui. kkkkkkkkkk [2] | 12:48:20 |