From 8f95a7a7188b565840537205fa300f705e09deb7 Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Thu, 23 Apr 2026 22:19:38 -0300 Subject: [PATCH] rename unstable overlay namespace To avoid https://github.com/Misterio77/nix-starter-configs/issues/91 --- standard/overlays/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/standard/overlays/default.nix b/standard/overlays/default.nix index a449920..8224a14 100644 --- a/standard/overlays/default.nix +++ b/standard/overlays/default.nix @@ -1,4 +1,5 @@ # This file defines overlays +# These are arbitrary named and just some conventions I use, you can name then whenever and/or make as many as you want {inputs, ...}: { # This one brings our custom packages from the 'pkgs' directory additions = final: _prev: import ../pkgs final.pkgs; @@ -13,9 +14,9 @@ }; # When applied, the unstable nixpkgs set (declared in the flake inputs) will - # be accessible through 'pkgs.unstable' + # be accessible through 'pkgs.unstablePkgs' unstable-packages = final: _prev: { - unstable = import inputs.nixpkgs-unstable { + unstablePkgs = import inputs.nixpkgs-unstable { system = final.stdenv.hostPlatform.system; config.allowUnfree = true; };