From 3dbcec2732281f095f0742cfc8dc6e47378c76b9 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Wed, 21 Dec 2022 12:32:38 +0100 Subject: [PATCH] Fix overlay system --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index e916f3d..e8fb113 100644 --- a/flake.nix +++ b/flake.nix @@ -40,9 +40,9 @@ overlays = [ # Combine stable and unstable packages - (_: _: { - stable = import nixpkgs { inherit config overlays; }; - unstable = import nixpkgs-u { inherit config overlays; }; + (self: _: { + stable = import nixpkgs { inherit config overlays; inherit (self) system; }; + unstable = import nixpkgs-u { inherit config overlays; inherit (self) system; }; }) # Nix rice