1
0
Fork 0
mirror of https://github.com/mitchellh/zig-overlay.git synced 2025-05-08 18:46:02 +03:00

Add a shell.nix

This commit is contained in:
Mitchell Hashimoto 2023-01-17 09:37:23 -08:00
parent b2ecddb739
commit 03177b00df
No known key found for this signature in database
GPG key ID: 523D5DC389D273BC
4 changed files with 50 additions and 0 deletions

View file

@ -4,6 +4,12 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
# Used for shell.nix
flake-compat = {
url = github:edolstra/flake-compat;
flake = false;
};
};
outputs = {
@ -32,6 +38,16 @@
# nix fmt
formatter = pkgs.alejandra;
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
curl
jq
];
};
# For compatibility with older versions of the `nix` binary
devShell = self.devShells.${system}.default;
});
in
outputs