ci: rework flake integration
Now Use flake part and integrate a build system using nix package building and treefmt-nix as a flake-part module
This commit is contained in:
parent
440e26fb63
commit
ffea2b6857
8 changed files with 268 additions and 79 deletions
20
nix/devshell.nix
Normal file
20
nix/devshell.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
_: {
|
||||
config.perSystem =
|
||||
{
|
||||
config,
|
||||
inputs',
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
devShells = {
|
||||
default = pkgs.mkShell {
|
||||
nativeBuildInputs = config.buildPackages ++ config.develPackages ++ config.deployPackages;
|
||||
shellHook = ''
|
||||
ln -snf ${config.pelicanplugins} plugins
|
||||
ln -snf ${config.pelicantheme} theme
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue