From 8df89867f3a6f4f0ad81c016af1742b65700065b Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 24 Jan 2024 10:21:08 +0100 Subject: [PATCH] Switch nixpkgs to a custom repository There is a problem in the way pkgsStatic is constructed, causing our -march argument to be missed, leading to binaries that fail to run. This affects only security wrappers so far (mount, sudo, ...) but it will likely affect any pkgsStatic binary. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index ffce034..b9bf18a 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + inputs.nixpkgs.url = "github:rodarima/nixpkgs/fix-pkgs-static-gcc-march"; inputs.nixos-hardware.url = "github:nixos/nixos-hardware"; # Some dependencies of this flake are not yet available on non linux systems