{ description = "My blog, now on vuejs"; inputs = { flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (sys: let pkgs = import nixpkgs { system = sys; }; deps = [ pkgs.nodejs ]; package = pkgs.buildNpmPackage { name = "rachel-blog-vue"; src = ./.; npmBuildScript = "build-only"; npmDepsHash = "sha256-XqMz76XxV2f/XEjP2Eh3WTHHe4VnJnC24tk1QhIvV6Q="; installPhase = '' mv ./dist $out ''; }; in { packages.default = package; devShells.default = pkgs.mkShell { shellHook = '' PATH="node_modules/.bin:$PATH" ''; packages = deps; }; } ); }