Skip to content

Commit

Permalink
Add Nix files for dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
john-shaffer committed Jan 21, 2022
1 parent ce2da60 commit 50d6645
Show file tree
Hide file tree
Showing 3 changed files with 18 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 nix
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.direnv/
/vendor/
/vendor_prefixed/
coverage/
Expand Down
16 changes: 16 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
let
rev = "46725ae611741dd6d9a43c7e79d5d98ca9ce4328";
nixpkgs = fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
sha256 = "11srp3zfac0ahb1mxzkw3czlpmxc1ls7y219ph1r4wx2ndany9s9";
};
pkgs = import nixpkgs {};
in with pkgs;
mkShell {
buildInputs = [
php
phpPackages.composer
shellcheck
zip
];
}

0 comments on commit 50d6645

Please sign in to comment.