From bb3a5198782171c4038e50342f3b8579c9eb7eae Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Wed, 13 Mar 2024 18:50:21 -0400 Subject: [PATCH] gnome: remove impure getFlake (#283) This was a workaround for divnix/digga#502, but digga is now discontinued, and the workaround is causing a bug. Fixes: https://github.com/danth/stylix/issues/282 --- modules/gnome/nixos.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/gnome/nixos.nix b/modules/gnome/nixos.nix index 2dc4840c..8ae9d7cf 100644 --- a/modules/gnome/nixos.nix +++ b/modules/gnome/nixos.nix @@ -1,10 +1,6 @@ -{ pkgs, config, ... }@args: +{ lib, pkgs, config, ... }@args: let - # We use this imported lib instead of the one from the module arguments - # to avoid infinite loops if the lib in arguments depends on nixpkgs.overlays - lib = (builtins.getFlake "github:nix-community/nixpkgs.lib/174d7dc67189bc4a53f1bffb4fb9d0f13b79cd3c").lib; - theme = import ./theme.nix args; in {