Skip to content

Commit

Permalink
add nix development tools
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepforce committed Mar 16, 2023
1 parent d7daa86 commit 3898918
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
result*
.direnv/
8 changes: 8 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@

checks."${system}" = with lib; filterAttrs (n: isDerivation) pkgs.qchem.tests;

formatter."${system}" = pkgs.nixpkgs-fmt;

devShells."${system}".default = with pkgs; mkShell {
buildInputs = [
self.formatter."${system}"
statix
];
};

overlays = {
qchem = qchemOvl;
Expand Down

0 comments on commit 3898918

Please sign in to comment.