Skip to content

Commit 26676b4

Browse files
author
Raito Bezarius
committed
content/add-to-config: update the overlay in advanced configuration
beginner mistake, used final instead of prev; nix-direnv performs a weird self recursion, exclude it for now. Signed-off-by: Raito Bezarius <[email protected]>
1 parent 896f7fa commit 26676b4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

content/add-to-config.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,8 @@ Add the following code to your NixOS configuration:
7272
{ pkgs, ... }:
7373
{
7474
nixpkgs.overlays = [ (final: prev: {
75-
inherit (final.lixPackageSets.stable)
75+
inherit (prev.lixPackageSets.stable)
7676
nixpkgs-review
77-
nix-direnv
7877
nix-eval-jobs
7978
nix-fast-build
8079
colmena;

content/add-to-config.md.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,8 @@ Add the following code to your NixOS configuration:
7272
{ pkgs, ... }:
7373
{
7474
nixpkgs.overlays = [ (final: prev: {
75-
inherit (final.lixPackageSets.stable)
75+
inherit (prev.lixPackageSets.stable)
7676
nixpkgs-review
77-
nix-direnv
7877
nix-eval-jobs
7978
nix-fast-build
8079
colmena;

0 commit comments

Comments
 (0)