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:
parent
b2ecddb739
commit
03177b00df
4 changed files with 50 additions and 0 deletions
16
flake.nix
16
flake.nix
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue