Put dev-shells back in flake.nix for automatic reload
Add colmena to dev shell
This commit is contained in:
parent
fbf713321c
commit
ae3b8d2c4a
2 changed files with 16 additions and 16 deletions
|
@ -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;
|
|
||||||
};
|
|
||||||
})
|
|
20
flake.nix
20
flake.nix
|
@ -52,13 +52,25 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs @ {flake-utils, ...}:
|
outputs = inputs @ {
|
||||||
flake-utils.lib.meld inputs [
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
flake-utils,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
(flake-utils.lib.meld inputs [
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./formatter.nix
|
./formatter.nix
|
||||||
./nixos-configurations.nix
|
./nixos-configurations.nix
|
||||||
./checks.nix
|
./checks.nix
|
||||||
./dev-shells.nix
|
|
||||||
./colmena.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]);
|
||||||
|
};
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue