Skip to content

Commit

Permalink
add Nix dev shell
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Sep 9, 2022
1 parent a6d4415 commit 1b8e642
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
@@ -0,0 +1 @@
use flake || use nix
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
/result
43 changes: 43 additions & 0 deletions flake.lock

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

11 changes: 11 additions & 0 deletions flake.nix
@@ -0,0 +1,11 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = inputs:
inputs.flake-utils.lib.eachDefaultSystem (system:
let pkgs = import inputs.nixpkgs { inherit system; };
in { devShell = pkgs.mkShell { packages = [ ]; }; });
}

0 comments on commit 1b8e642

Please sign in to comment.