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
This commit is contained in:
Bernardo Meurer 2024-03-13 18:50:21 -04:00 committed by GitHub
parent 1d51ce1de4
commit bb3a519878
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {