!BrOouUOucaGdxbaRca:nixos.org

NixOS Portuguese

377 Members
Sala de Conversação sobre o ecossistema Nix em português. Ponteada com o grupo do Telegram: https://t.me/nixosbrasil/ Link Matrix: https://matrix.to/#/!BrOouUOucaGdxbaRca:nixos.org20 Servers

Load older messages


SenderMessageTime
30 Nov 2022
@telegram_495217657:t2bot.ioGabriel Fontes (Misterio) λserá que me matam se eu fizer o PR inicialmente com doCheck = false? heuaheauhea01:14:54
@telegram_1041199210:t2bot.iotomate joined the room.01:15:27
@telegram_155706732:t2bot.ioLucas Eduardo
In reply to Gabriel Fontes (Misterio) λ
será que me matam se eu fizer o PR inicialmente com doCheck = false? heuaheauhea
Tu pode tentar
01:15:50
@telegram_495217657:t2bot.ioGabriel Fontes (Misterio) λboa01:23:12
@telegram_495217657:t2bot.ioGabriel Fontes (Misterio) λ se alguem quiser dar uma bizoiada: https://github.com/NixOS/nixpkgs/pull/203694 01:23:17
@telegram_112793910:t2bot.ioHugo RibeiroDúvida, se no flake eu tentar pegar o pacote de outra arquitetura, ele cross compila?03:02:30
@waldyrious:matrix.org@waldyrious:matrix.org left the room.05:42:16
@telegram_112793910:t2bot.ioHugo Ribeironix 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 deu05:42:25
@telegram_68827099:t2bot.ioPedroHLC
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
@telegram_68827099:t2bot.ioPedroHLC
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
@telegram_68827099:t2bot.ioPedroHLC
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
@telegram_155706732:t2bot.ioLucas EduardoDá tbm pra usar o pkgsCross11:00:16
@telegram_155706732:t2bot.ioLucas EduardoJá usei pra buildar alguns binários estáticos com musl pra rodar no junim11:00:34
@telegram_155706732:t2bot.ioLucas EduardoPelo adb11:00:54
@telegram_97488386:t2bot.ioGALLY
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
@telegram_112793910:t2bot.ioHugo 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
@telegram_112793910:t2bot.ioHugo 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
@telegram_5687992993:t2bot.ioL. 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
@telegram_5687992993:t2bot.ioL. L. A. 🇧🇷 changed their profile picture.13:44:32
@telegram_68827099:t2bot.ioPedroHLC
In reply to Hugo Ribeiro
como que faz isso via flakes?
vc adiciona na config da máquina host
14:18:48
@telegram_68827099:t2bot.ioPedroHLC
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
@telegram_97488386:t2bot.ioGALLY
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
@telegram_495217657:t2bot.ioGabriel Fontes (Misterio) λSai hj a 22.11 né familia?21:45:42
@telegram_5687992993:t2bot.ioL. L. A. 🇧🇷Download 😊 (smiling face with smiling eyes)21:54:14
@telegram_495217657:t2bot.ioGabriel Fontes (Misterio) λNixOS Guaxinim vêm aí21:54:51
@telegram_1045434471:t2bot.ioJosé Romildo joined the room.22:20:00
@telegram_1045434471:t2bot.ioJosé Romildo @lucasew Parabéns pelo TCC defendido e aprovado hoje! 22:19:59
@telegram_5687992993:t2bot.ioL. L. A. 🇧🇷nao vou continuar no unstable.22:37:22
1 Dec 2022
@pedrohlc:mozilla.orgpedrohlc joined the room.11:38:51
@telegram_12019167:t2bot.ioDan joined the room.12:45:29

Show newer messages


Back to Room ListRoom Version: 9