From b277aaa96a869ff5858662b61b14dc2b4f5a875a Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 17 Jun 2021 22:04:55 +0200 Subject: nix --- shell.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') 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 { }) + ]; + } -- cgit 1.4.1