Skip to content

Commit 2cc84b6

Browse files
committed
direnv
1 parent 4a64b8a commit 2cc84b6

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed

.envrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.ff-profile/
22
node_modules/
33
*.log
4+
.direnv

flake.lock

+43
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.09";
3+
inputs.flake-utils.url = "github:numtide/flake-utils";
4+
5+
outputs = { nixpkgs, flake-utils, ... }:
6+
flake-utils.lib.eachDefaultSystem (system:
7+
let
8+
pkgs = nixpkgs.legacyPackages.${system};
9+
in {
10+
devShell = pkgs.mkShell {
11+
nativeBuildInputs = with pkgs; [ nodejs_latest nodePackages_latest.yarn ];
12+
};
13+
}
14+
);
15+
}

0 commit comments

Comments
 (0)