From 2dc73e1ec64a9e83857dda9803b42e53e64717d8 Mon Sep 17 00:00:00 2001 From: Jake Chvatal Date: Tue, 20 Dec 2022 01:04:25 -0500 Subject: [PATCH] Add name and description to shell : ) --- templates/init/flake.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/init/flake.nix b/templates/init/flake.nix index 30cc48b..7880d82 100644 --- a/templates/init/flake.nix +++ b/templates/init/flake.nix @@ -1,6 +1,10 @@ -{ +let + name = "zig-overlay"; description = "An empty project that uses Zig."; - +in +{ + inherit name description; + inputs = { nixpkgs.url = "github:nixos/nixpkgs/release-22.05"; flake-utils.url = "github:numtide/flake-utils"; @@ -34,6 +38,7 @@ pkgs = import nixpkgs {inherit overlays system;}; in rec { devShells.default = pkgs.mkShell { + inherit name description; nativeBuildInputs = with pkgs; [ zigpkgs.master ];