Skip to content

Commit

Permalink
feat(nix): dev flake for cc build
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Mar 26, 2024
1 parent ad7c4fa commit 1bc7a7d
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
27 changes: 27 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
description = "haylxon dev flake";
inputs =
{
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};

outputs = { self, nixpkgs, ... }@inputs:
let
system = "aarch64-darwin";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShell
{
packages = with pkgs; [ rustup ];
};
};
}

0 comments on commit 1bc7a7d

Please sign in to comment.