mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-09-20 16:11:09 -05:00
github actions: niv -> flakes
Use flake.nix/lock as a single source of truth for resolving dependencies NOTE: this patch implies a dependency update as well.
This commit is contained in:
@@ -66,10 +66,10 @@
|
||||
, writeTextDir }:
|
||||
|
||||
let
|
||||
sources = import ./nix/sources.nix;
|
||||
flake = import ./flake-compat-helper.nix { src=./.; };
|
||||
lock = p: if dependencyOverrides ? ${p}
|
||||
then dependencyOverrides.${p}
|
||||
else sources.${p};
|
||||
else flake.inputs.${p};
|
||||
# Packages we need to get the default doom configuration run
|
||||
overrides = self: super:
|
||||
(pkgs.callPackage ./overrides.nix { inherit lock; } self super) // (emacsPackagesOverlay self super);
|
||||
|
Reference in New Issue
Block a user