mirror of
https://github.com/mitchellh/zig-overlay.git
synced 2025-02-05 17:02:48 +02:00
Add name and description to shell : )
This commit is contained in:
parent
fb29bf70eb
commit
2dc73e1ec6
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue