update runtime
This commit is contained in:
parent
541eea1881
commit
efad854560
3 changed files with 1 additions and 1 deletions
|
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs = { self, nixpkgs }: let
|
||||
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
||||
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system});
|
||||
in {
|
||||
devShells = forAllSystems (pkgs: {
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
zola
|
||||
(writeShellScriptBin "serve" ''
|
||||
zola serve --open --drafts
|
||||
'')
|
||||
(writeShellScriptBin "build" ''
|
||||
zola build
|
||||
'')
|
||||
];
|
||||
shellHook = ''
|
||||
echo "Zola blog development environment"
|
||||
echo "Commands: serve, build, zola"
|
||||
'';
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue