Skip to content

Commit

Permalink
build: Add flake.nix, flake.lock, .envrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Zane Shelby committed Dec 2, 2023
1 parent 2b4a849 commit 898a00a
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 1 deletion.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use_flake
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ public/js
.cache/
public
ltximg
presentations/reveal.js/examples
presentations/reveal.js/examples
/.direnv/
61 changes: 61 additions & 0 deletions flake.lock

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

17 changes: 17 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.11";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils }:
let pkgs = nixpkgs.legacyPackages."aarch64-darwin";
in {
devShell."aarch64-darwin" = pkgs.mkShell {
buildInputs = with pkgs; [
clojure
nodejs
];
};
};
}

0 comments on commit 898a00a

Please sign in to comment.