summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorTom Harley2021-07-30 20:01:38 +0000
committerTom Harley2021-07-31 19:30:45 +0000
commit8da668abd8051b2e27bb82aa8c56ba56ed5ae6b0 (patch)
treec431a276d5d0b18cdd9fc25cd31c78bf5d477dc3 /shell.nix
parentDisplay inbox/outbox contents correctly (diff)
downloadswap-8da668abd8051b2e27bb82aa8c56ba56ed5ae6b0.tar.gz
swap-8da668abd8051b2e27bb82aa8c56ba56ed5ae6b0.zip

Support dev environment via nix-shell

shell.nix now contains the tools used for development/testing, since it is invoked when nix-shell is run.

Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..3a6b76a
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,4 @@
+with import <nixpkgs> { };
+
+(callPackage ./default.nix { }).overrideAttrs
+(old: { nativeBuildInputs = [ ag nixfmt pandoc jq ]; })