diff --git a/nix/devShells/necro-man.nix b/nix/devShells/necro-man.nix new file mode 100644 index 00000000..8b0f2cf1 --- /dev/null +++ b/nix/devShells/necro-man.nix @@ -0,0 +1,37 @@ +let + sources = import ../sources.nix; +in + {pkgs ? import sources.pin-necro-man-nixpkgs {}}: let + shell = { + mkShell, + # + pkgs, + python310Packages, + texlive, + }: + mkShell { + name = "necro-manual"; + packages = [ + pkgs.emacs + python310Packages.pygments + + (texlive.combine { + inherit + (texlive) + scheme-medium + # + wrapfig + capt-of + minted + upquote + todonotes + fvextra + catchfile + xstring + framed + ; + }) + ]; + }; + in + pkgs.callPackage shell {} diff --git a/nix/sources.json b/nix/sources.json index cdb53590..3a4b826d 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -175,6 +175,18 @@ "url": "https://github.com/NixOS/nixpkgs/archive/805a384895c696f802a9bf5bf4720f37385df547.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, + "pin-necro-man-nixpkgs": { + "branch": "master", + "description": "Nix Packages collection & NixOS", + "homepage": "", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "c58ed2fc0f592ebc280bfba077ea418ce10213d1", + "sha256": "1y5is3cjwsy9n5cqs8i7qc9kf8cny9yxzirzzspkqbrm51axv53i", + "type": "tarball", + "url": "https://github.com/nixos/nixpkgs/archive/c58ed2fc0f592ebc280bfba077ea418ce10213d1.tar.gz", + "url_template": "https://github.com///archive/.tar.gz" + }, "pin-why3": { "branch": "master", "description": "Nix Packages collection & NixOS",