aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/nixpkgs.nix6
-rw-r--r--nix/tools.nix15
2 files changed, 21 insertions, 0 deletions
diff --git a/nix/nixpkgs.nix b/nix/nixpkgs.nix
new file mode 100644
index 0000000..9d61277
--- /dev/null
+++ b/nix/nixpkgs.nix
@@ -0,0 +1,6 @@
+import ((import <nixpkgs> {}).fetchFromGitHub {
+ owner = "NixOS";
+ repo = "nixpkgs";
+ rev = "19.09";
+ sha256 = "1ib96has10v5nr6bzf7v8kw7yzww8zanxgw2qi1ll1sbv6kj6zpd";
+})
diff --git a/nix/tools.nix b/nix/tools.nix
new file mode 100644
index 0000000..c14e4e2
--- /dev/null
+++ b/nix/tools.nix
@@ -0,0 +1,15 @@
+with import ./nixpkgs.nix {};
+
+{
+ env = stdenv.mkDerivation {
+ name = "tools";
+ buildInputs = with pkgs; with nodePackages; [
+ nodemon
+ sqlite
+ cabal-install
+ tmux
+ tmuxinator
+ haskellPackages.stylish-haskell
+ ];
+ };
+}