about summary refs log tree commit diff
path: root/shell.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-06-17 22:04:55 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-06-17 22:04:55 +0200
commitb277aaa96a869ff5858662b61b14dc2b4f5a875a (patch)
treee49929e6ec78cdc4e64f345f801fb5bca52801a1 /shell.nix
parentacbf0f1ea9530bd8fb292e54238592488ba3c816 (diff)
downloadspiewnik-trakt-b277aaa96a869ff5858662b61b14dc2b4f5a875a.tar.gz
spiewnik-trakt-b277aaa96a869ff5858662b61b14dc2b4f5a875a.zip
nix
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..7dcfe0c
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,17 @@
+let
+  pkgs = import (builtins.fetchTarball {
+    url = "https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-21.05-small.tar.gz";
+    sha256 = "18glj62yy0l917092izcby6pdj56yzq8sdh3c525kbf14zqa7q3j";
+  }) { };
+in
+  with pkgs;
+  mkShell {
+    buildInputs = [
+      python37
+      (texlive.combine {
+        inherit (texlive) scheme-minimal pdfcrop pdfjam pdfbook2;
+      })
+      ghostscript
+      (callPackage ./nix/neatroff.nix { })
+    ];
+  }