From 4a993ce5141f48eba5c512d7945db9dee2841e9d Mon Sep 17 00:00:00 2001 From: Brandon Elam Barker Date: Sat, 25 May 2024 12:45:10 -0400 Subject: [PATCH] allow to build on pop_os with nix flake --- .gitignore | 1 + flake.nix | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 51fec02..2c761a6 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /vendor/ /.direnv/ /.idea/ +nohup.out diff --git a/flake.nix b/flake.nix index 29754a6..95f743e 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,10 @@ xorg.libX11 ]; + nativeBuildInputs = [ + pkg-config + ]; + RUSTFLAGS = map (a: "-C link-arg=${a}") [ "-Wl,--push-state,--no-as-needed" "-lEGL"