chore: removed dead imports

This commit is contained in:
Nick 2025-06-26 02:43:48 -05:00
parent 7b29b69fd1
commit 0814b03d1f
29 changed files with 76 additions and 160 deletions

View file

@ -4,13 +4,13 @@
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
pre-commit-hooks-nix.url = "github:cachix/pre-commit-hooks.nix";
};
outputs = inputs @ {
self,
nixpkgs,
flake-parts,
...
}:
flake-parts.lib.mkFlake {inherit inputs;} {
outputs =
inputs@{
nixpkgs,
flake-parts,
...
}:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.haskell-flake.flakeModule
inputs.pre-commit-hooks-nix.flakeModule

View file

@ -1,20 +1,15 @@
{
perSystem = {
pkgs,
lib,
config,
self',
...
}: let
configPath = ./config;
let
configPath = ./config;
devshellImports = let
devshellImports =
let
files = builtins.attrNames (builtins.readDir configPath);
in
map
(name: configPath + "/${name}")
(builtins.filter (name: builtins.match ".*\\.nix$" name != null) files);
in {
imports = devshellImports;
};
map (name: configPath + "/${name}") (
builtins.filter (name: builtins.match ".*\\.nix$" name != null) files
);
in
{
imports = devshellImports;
}