Put dev-shells back in flake.nix for automatic reload

Add colmena to dev shell
This commit is contained in:
Pim Kunis 2024-11-11 22:29:39 +01:00
parent fbf713321c
commit ae3b8d2c4a
2 changed files with 16 additions and 16 deletions

View file

@ -1,12 +0,0 @@
{
self,
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (system: {
devShells.default = nixpkgs.legacyPackages.${system}.mkShell {
inherit (self.checks.${system}.pre-commit-check) shellHook;
buildInputs = self.checks.${system}.pre-commit-check.enabledPackages;
};
})

View file

@ -52,13 +52,25 @@
};
};
outputs = inputs @ {flake-utils, ...}:
flake-utils.lib.meld inputs [
outputs = inputs @ {
self,
nixpkgs,
flake-utils,
...
}:
(flake-utils.lib.meld inputs [
./packages.nix
./formatter.nix
./nixos-configurations.nix
./checks.nix
./dev-shells.nix
./colmena.nix
];
])
// flake-utils.lib.eachDefaultSystem (system: {
devShells.default = nixpkgs.legacyPackages.${system}.mkShell {
inherit (self.checks.${system}.pre-commit-check) shellHook;
buildInputs =
self.checks.${system}.pre-commit-check.enabledPackages
++ (with nixpkgs.legacyPackages.${system}; [colmena]);
};
});
}