Add name and description to shell : )

This commit is contained in:
Jake Chvatal 2022-12-20 01:04:25 -05:00 committed by GitHub
parent fb29bf70eb
commit 2dc73e1ec6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,10 @@
{ let
name = "zig-overlay";
description = "An empty project that uses Zig."; description = "An empty project that uses Zig.";
in
{
inherit name description;
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-22.05"; nixpkgs.url = "github:nixos/nixpkgs/release-22.05";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
@ -34,6 +38,7 @@
pkgs = import nixpkgs {inherit overlays system;}; pkgs = import nixpkgs {inherit overlays system;};
in rec { in rec {
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
inherit name description;
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
zigpkgs.master zigpkgs.master
]; ];