{ description = "mezza.biz"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; devshell.url = "github:numtide/devshell"; devshell.inputs.flake-utils.follows = "flake-utils"; devshell.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, flake-utils, devshell, nixpkgs }: flake-utils.lib.simpleFlake { inherit self nixpkgs; name = "mezza.biz"; preOverlays = [ devshell.overlays.default ]; overlay = final: prev: { mezza-biz = prev.stdenv.mkDerivation { name = "mezza.biz"; version = "0.0.1"; src = ./.; installPhase = '' ${nixpkgs.deno}/bin/deno task build mkdir -p $out cp -r _site/* $out/ cp -r _site/.* $out/ ''; }; }; shell = { pkgs }: pkgs.devshell.mkShell { # Add additional packages you'd like to be available in your devshell # PATH here devshell.packages = with pkgs; [ deno ]; bash.extra = '' export NVIM_USE_DENOLS=1 ''; }; }; }