This commit is contained in:
David Arnold 2021-07-16 16:01:25 -05:00 committed by David Arnold
parent 6c25e77f6f
commit a088edd77a
4 changed files with 82 additions and 78 deletions

View File

@ -73,7 +73,8 @@
let
bud' = bud self; # rebind to access self.budModules
in
digga.lib.mkFlake {
digga.lib.mkFlake
{
inherit self inputs;
channelsConfig = { allowUnfree = true; };

View File

@ -2,7 +2,9 @@ final: prev: {
# Since: https://github.com/NixOS/nixpkgs/pull/126137
nix-direnv =
if builtins.hasAttr "enableFlakes" prev.nix-direnv.override.__functionArgs
then prev.nix-direnv.override {
then
prev.nix-direnv.override
{
enableFlakes = true;
}
else prev.nix-direnv;

View File

@ -9,7 +9,8 @@ let
docs = pkgWithCategory "docs";
devos = pkgWithCategory "devos";
in {
in
{
_file = toString ./.;
imports = [ "${extraModulesPath}/git/hooks.nix" ];