23 lines
440 B
Nix
23 lines
440 B
Nix
|
{
|
||
|
description = "Developer shell";
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||
|
};
|
||
|
outputs = { self, nixpkgs, ... }:
|
||
|
let
|
||
|
system = "x86_64-linux";
|
||
|
pkgs = import nixpkgs { inherit system; };
|
||
|
in
|
||
|
{
|
||
|
devShells."${system}".default = pkgs.mkShell {
|
||
|
buildInputs = with pkgs; [
|
||
|
hugo
|
||
|
go
|
||
|
];
|
||
|
shellHook = ''
|
||
|
zsh
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|