summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..79c663f
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,17 @@
+{
+ inputs = {
+ nixpkgs = {
+ url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+ };
+ };
+ outputs = {nixpkgs, ...}: let
+ system = "x86_64-linux";
+ pkgs = nixpkgs.legacyPackages."${system}";
+
+ zig = pkgs.callPackage ./shells/zig.nix {};
+ in {
+ devShells."${system}" = {
+ inherit zig;
+ };
+ };
+}