Skip to content

Commit df9af81

Browse files
committed
feat: Add direnv configuration to automatically load the Nix flake environment.
1 parent e16bc4c commit df9af81

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.envrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
watch_file flake.nix
2+
watch_file flake.lock
3+
use flake . --impure

flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
44
};
55

6-
outputs = { self, nixpkgs }:
6+
outputs =
7+
{ self, nixpkgs }:
78
let
89
system = "x86_64-linux";
910
pkgs = nixpkgs.legacyPackages.${system};

tests/package-lock.json

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)